@NotThreadSafe public static final class ErrorCodeValidationSetting.Builder extends Object
ErrorCodeValidationSetting
.
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 and Description |
---|---|
ErrorCodeValidationSetting |
build()
Builds a new
ErrorCodeValidationSetting . |
ErrorCodeValidationSetting.Builder |
validSoftOverdistance(boolean validSoftOverdistance)
Initializes the value for the
validSoftOverdistance attribute. |
ErrorCodeValidationSetting.Builder |
validSoftOvertime(boolean validSoftOvertime)
Initializes the value for the
validSoftOvertime attribute. |
@CanIgnoreReturnValue public final ErrorCodeValidationSetting.Builder validSoftOvertime(boolean validSoftOvertime)
validSoftOvertime
attribute.
If not set, this attribute will have a default value as returned by the initializer of validSoftOvertime
.
validSoftOvertime
- The value for validSoftOvertimethis
builder for use in a chained invocation@CanIgnoreReturnValue public final ErrorCodeValidationSetting.Builder validSoftOverdistance(boolean validSoftOverdistance)
validSoftOverdistance
attribute.
If not set, this attribute will have a default value as returned by the initializer of validSoftOverdistance
.
validSoftOverdistance
- The value for validSoftOverdistancethis
builder for use in a chained invocationpublic ErrorCodeValidationSetting build()
ErrorCodeValidationSetting
.IllegalStateException
- if any required attributes are missingCopyright © 2017–2023 DNA Evolutions GmbH. All rights reserved.