public static interface ConfigurationOptionDescription.Builder extends SdkPojo, CopyableBuilder<ConfigurationOptionDescription.Builder,ConfigurationOptionDescription>
Modifier and Type | Method and Description |
---|---|
ConfigurationOptionDescription.Builder |
changeSeverity(String changeSeverity)
An indication of which action is required if the value for this configuration option changes:
|
ConfigurationOptionDescription.Builder |
defaultValue(String defaultValue)
The default value for this configuration option.
|
ConfigurationOptionDescription.Builder |
maxLength(Integer maxLength)
If specified, the configuration option must be a string value no longer than this value.
|
ConfigurationOptionDescription.Builder |
maxValue(Integer maxValue)
If specified, the configuration option must be a numeric value less than this value.
|
ConfigurationOptionDescription.Builder |
minValue(Integer minValue)
If specified, the configuration option must be a numeric value greater than this value.
|
ConfigurationOptionDescription.Builder |
name(String name)
The name of the configuration option.
|
ConfigurationOptionDescription.Builder |
namespace(String namespace)
A unique namespace identifying the option's associated AWS resource.
|
default ConfigurationOptionDescription.Builder |
regex(Consumer<OptionRestrictionRegex.Builder> regex)
If specified, the configuration option must be a string value that satisfies this regular expression.
|
ConfigurationOptionDescription.Builder |
regex(OptionRestrictionRegex regex)
If specified, the configuration option must be a string value that satisfies this regular expression.
|
ConfigurationOptionDescription.Builder |
userDefined(Boolean userDefined)
An indication of whether the user defined this configuration option:
|
ConfigurationOptionDescription.Builder |
valueOptions(Collection<String> valueOptions)
If specified, values for the configuration option are selected from this list.
|
ConfigurationOptionDescription.Builder |
valueOptions(String... valueOptions)
If specified, values for the configuration option are selected from this list.
|
ConfigurationOptionDescription.Builder |
valueType(ConfigurationOptionValueType valueType)
An indication of which type of values this option has and whether it is allowable to select one or more than
one of the possible values:
|
ConfigurationOptionDescription.Builder |
valueType(String valueType)
An indication of which type of values this option has and whether it is allowable to select one or more than
one of the possible values:
|
copy
applyMutation, build
ConfigurationOptionDescription.Builder namespace(String namespace)
A unique namespace identifying the option's associated AWS resource.
namespace
- A unique namespace identifying the option's associated AWS resource.ConfigurationOptionDescription.Builder name(String name)
The name of the configuration option.
name
- The name of the configuration option.ConfigurationOptionDescription.Builder defaultValue(String defaultValue)
The default value for this configuration option.
defaultValue
- The default value for this configuration option.ConfigurationOptionDescription.Builder changeSeverity(String changeSeverity)
An indication of which action is required if the value for this configuration option changes:
NoInterruption
: There is no interruption to the environment or application availability.
RestartEnvironment
: The environment is entirely restarted, all AWS resources are deleted and
recreated, and the environment is unavailable during the process.
RestartApplicationServer
: The environment is available the entire time. However, a short
application outage occurs when the application servers on the running Amazon EC2 instances are restarted.
changeSeverity
- An indication of which action is required if the value for this configuration option changes:
NoInterruption
: There is no interruption to the environment or application availability.
RestartEnvironment
: The environment is entirely restarted, all AWS resources are deleted
and recreated, and the environment is unavailable during the process.
RestartApplicationServer
: The environment is available the entire time. However, a short
application outage occurs when the application servers on the running Amazon EC2 instances are
restarted.
ConfigurationOptionDescription.Builder userDefined(Boolean userDefined)
An indication of whether the user defined this configuration option:
true
: This configuration option was defined by the user. It is a valid choice for specifying if
this as an Option to Remove
when updating configuration settings.
false
: This configuration was not defined by the user.
Constraint: You can remove only UserDefined
options from a configuration.
Valid Values: true
| false
userDefined
- An indication of whether the user defined this configuration option:
true
: This configuration option was defined by the user. It is a valid choice for
specifying if this as an Option to Remove
when updating configuration settings.
false
: This configuration was not defined by the user.
Constraint: You can remove only UserDefined
options from a configuration.
Valid Values: true
| false
ConfigurationOptionDescription.Builder valueType(String valueType)
An indication of which type of values this option has and whether it is allowable to select one or more than one of the possible values:
Scalar
: Values for this option are a single selection from the possible values, or an
unformatted string, or numeric value governed by the MIN/MAX/Regex
constraints.
List
: Values for this option are multiple selections from the possible values.
Boolean
: Values for this option are either true
or false
.
Json
: Values for this option are a JSON representation of a ConfigDocument
.
valueType
- An indication of which type of values this option has and whether it is allowable to select one or
more than one of the possible values:
Scalar
: Values for this option are a single selection from the possible values, or an
unformatted string, or numeric value governed by the MIN/MAX/Regex
constraints.
List
: Values for this option are multiple selections from the possible values.
Boolean
: Values for this option are either true
or false
.
Json
: Values for this option are a JSON representation of a ConfigDocument
.
ConfigurationOptionValueType
,
ConfigurationOptionValueType
ConfigurationOptionDescription.Builder valueType(ConfigurationOptionValueType valueType)
An indication of which type of values this option has and whether it is allowable to select one or more than one of the possible values:
Scalar
: Values for this option are a single selection from the possible values, or an
unformatted string, or numeric value governed by the MIN/MAX/Regex
constraints.
List
: Values for this option are multiple selections from the possible values.
Boolean
: Values for this option are either true
or false
.
Json
: Values for this option are a JSON representation of a ConfigDocument
.
valueType
- An indication of which type of values this option has and whether it is allowable to select one or
more than one of the possible values:
Scalar
: Values for this option are a single selection from the possible values, or an
unformatted string, or numeric value governed by the MIN/MAX/Regex
constraints.
List
: Values for this option are multiple selections from the possible values.
Boolean
: Values for this option are either true
or false
.
Json
: Values for this option are a JSON representation of a ConfigDocument
.
ConfigurationOptionValueType
,
ConfigurationOptionValueType
ConfigurationOptionDescription.Builder valueOptions(Collection<String> valueOptions)
If specified, values for the configuration option are selected from this list.
valueOptions
- If specified, values for the configuration option are selected from this list.ConfigurationOptionDescription.Builder valueOptions(String... valueOptions)
If specified, values for the configuration option are selected from this list.
valueOptions
- If specified, values for the configuration option are selected from this list.ConfigurationOptionDescription.Builder minValue(Integer minValue)
If specified, the configuration option must be a numeric value greater than this value.
minValue
- If specified, the configuration option must be a numeric value greater than this value.ConfigurationOptionDescription.Builder maxValue(Integer maxValue)
If specified, the configuration option must be a numeric value less than this value.
maxValue
- If specified, the configuration option must be a numeric value less than this value.ConfigurationOptionDescription.Builder maxLength(Integer maxLength)
If specified, the configuration option must be a string value no longer than this value.
maxLength
- If specified, the configuration option must be a string value no longer than this value.ConfigurationOptionDescription.Builder regex(OptionRestrictionRegex regex)
If specified, the configuration option must be a string value that satisfies this regular expression.
regex
- If specified, the configuration option must be a string value that satisfies this regular expression.default ConfigurationOptionDescription.Builder regex(Consumer<OptionRestrictionRegex.Builder> regex)
If specified, the configuration option must be a string value that satisfies this regular expression.
This is a convenience that creates an instance of theOptionRestrictionRegex.Builder
avoiding the
need to create one manually via OptionRestrictionRegex.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to regex(OptionRestrictionRegex)
.regex
- a consumer that will call methods on OptionRestrictionRegex.Builder
regex(OptionRestrictionRegex)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.