public static final class CAtomFeedMeta.Builder
extends java.lang.Object
CAtomFeedMeta.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
| Modifier and Type | Method | Description |
|---|---|---|
CAtomFeedMeta |
build() |
Builds a new
CAtomFeedMeta. |
CAtomFeedMeta.Builder |
from(CAtomFeedMetaType instance) |
Fill a builder with attribute values from the provided
CAtomFeedMetaType instance. |
CAtomFeedMeta.Builder |
setAuthorEmail(java.lang.String authorEmail) |
Initializes the value for the
authorEmail attribute. |
CAtomFeedMeta.Builder |
setAuthorName(java.lang.String authorName) |
Initializes the value for the
authorName attribute. |
CAtomFeedMeta.Builder |
setTitle(java.lang.String title) |
Initializes the value for the
title attribute. |
CAtomFeedMeta.Builder |
setUri(java.net.URI uri) |
Initializes the value for the
uri attribute. |
public final CAtomFeedMeta.Builder from(CAtomFeedMetaType instance)
CAtomFeedMetaType instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final CAtomFeedMeta.Builder setAuthorEmail(java.lang.String authorEmail)
authorEmail attribute.authorEmail - The value for authorEmailthis builder for use in a chained invocationpublic final CAtomFeedMeta.Builder setAuthorName(java.lang.String authorName)
authorName attribute.authorName - The value for authorNamethis builder for use in a chained invocationpublic final CAtomFeedMeta.Builder setTitle(java.lang.String title)
title attribute.title - The value for titlethis builder for use in a chained invocationpublic final CAtomFeedMeta.Builder setUri(java.net.URI uri)
uri attribute.uri - The value for urithis builder for use in a chained invocationpublic CAtomFeedMeta build()
CAtomFeedMeta.java.lang.IllegalStateException - if any required attributes are missingCopyright © 2017 <code@io7m.com> http://io7m.com