public static final class CAtomChangelogWriterConfiguration.Builder extends Object
CAtomChangelogWriterConfiguration.
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 |
|---|---|---|
CAtomChangelogWriterConfiguration |
build() |
Builds a new
CAtomChangelogWriterConfiguration. |
CAtomChangelogWriterConfiguration.Builder |
from(CAtomChangelogWriterConfigurationType instance) |
Fill a builder with attribute values from the provided
CAtomChangelogWriterConfigurationType instance. |
CAtomChangelogWriterConfiguration.Builder |
setAuthorEmail(String authorEmail) |
Initializes the value for the
authorEmail attribute. |
CAtomChangelogWriterConfiguration.Builder |
setAuthorName(String authorName) |
Initializes the value for the
authorName attribute. |
CAtomChangelogWriterConfiguration.Builder |
setTitle(String title) |
Initializes the value for the
title attribute. |
CAtomChangelogWriterConfiguration.Builder |
setUpdated(ZonedDateTime updated) |
Initializes the value for the
updated attribute. |
CAtomChangelogWriterConfiguration.Builder |
setUri(URI uri) |
Initializes the value for the
uri attribute. |
public final CAtomChangelogWriterConfiguration.Builder from(CAtomChangelogWriterConfigurationType instance)
CAtomChangelogWriterConfigurationType 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 CAtomChangelogWriterConfiguration.Builder setUpdated(ZonedDateTime updated)
updated attribute.updated - The value for updatedthis builder for use in a chained invocationpublic final CAtomChangelogWriterConfiguration.Builder setAuthorEmail(String authorEmail)
authorEmail attribute.authorEmail - The value for authorEmailthis builder for use in a chained invocationpublic final CAtomChangelogWriterConfiguration.Builder setAuthorName(String authorName)
authorName attribute.authorName - The value for authorNamethis builder for use in a chained invocationpublic final CAtomChangelogWriterConfiguration.Builder setTitle(String title)
title attribute.title - The value for titlethis builder for use in a chained invocationpublic final CAtomChangelogWriterConfiguration.Builder setUri(URI uri)
uri attribute.uri - The value for urithis builder for use in a chained invocationpublic CAtomChangelogWriterConfiguration build()
CAtomChangelogWriterConfiguration.IllegalStateException - if any required attributes are missingCopyright © 2018 <code@io7m.com> http://io7m.com