public static final class MinChangesConfiguration.Builder
extends java.lang.Object
MinChangesConfiguration.
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 |
|---|---|---|
MinChangesConfiguration |
build() |
Builds a new
MinChangesConfiguration. |
MinChangesConfiguration.Builder |
from(MinChangesConfigurationType instance) |
Fill a builder with attribute values from the provided
MinChangesConfigurationType instance. |
MinChangesConfiguration.Builder |
setFeedEmail(java.lang.String feedEmail) |
Initializes the value for the
feedEmail attribute. |
MinChangesConfiguration.Builder |
setFile(java.nio.file.Path file) |
Initializes the value for the
file attribute. |
public final MinChangesConfiguration.Builder from(MinChangesConfigurationType instance)
MinChangesConfigurationType 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 MinChangesConfiguration.Builder setFile(java.nio.file.Path file)
file attribute.file - The value for filethis builder for use in a chained invocationpublic final MinChangesConfiguration.Builder setFeedEmail(java.lang.String feedEmail)
feedEmail attribute.feedEmail - The value for feedEmailthis builder for use in a chained invocationpublic MinChangesConfiguration build()
MinChangesConfiguration.java.lang.IllegalStateException - if any required attributes are missingCopyright © 2017 <code@io7m.com> http://io7m.com