Interface ConfigurationOptionDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConfigurationOptionDescription.Builder,
,ConfigurationOptionDescription> SdkBuilder<ConfigurationOptionDescription.Builder,
,ConfigurationOptionDescription> SdkPojo
- Enclosing class:
ConfigurationOptionDescription
-
Method Summary
Modifier and TypeMethodDescriptionchangeSeverity
(String changeSeverity) An indication of which action is required if the value for this configuration option changes:defaultValue
(String defaultValue) The default value for this configuration option.If specified, the configuration option must be a string value no longer than this value.If specified, the configuration option must be a numeric value less than this value.If specified, the configuration option must be a numeric value greater than this value.The name of the configuration option.A unique namespace identifying the option's associated AWS resource.If specified, the configuration option must be a string value that satisfies this regular expression.regex
(OptionRestrictionRegex regex) If specified, the configuration option must be a string value that satisfies this regular expression.userDefined
(Boolean userDefined) An indication of whether the user defined this configuration option:valueOptions
(String... valueOptions) If specified, values for the configuration option are selected from this list.valueOptions
(Collection<String> valueOptions) If specified, values for the configuration option are selected from this list.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: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:Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
namespace
A unique namespace identifying the option's associated AWS resource.
- Parameters:
namespace
- A unique namespace identifying the option's associated AWS resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the configuration option.
- Parameters:
name
- The name of the configuration option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultValue
The default value for this configuration option.
- Parameters:
defaultValue
- The default value for this configuration option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
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 anOption 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
- Parameters:
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 anOption 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
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
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 theMIN/MAX/Regex
constraints. -
List
: Values for this option are multiple selections from the possible values. -
Boolean
: Values for this option are eithertrue
orfalse
. -
Json
: Values for this option are a JSON representation of aConfigDocument
.
- Parameters:
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 theMIN/MAX/Regex
constraints. -
List
: Values for this option are multiple selections from the possible values. -
Boolean
: Values for this option are eithertrue
orfalse
. -
Json
: Values for this option are a JSON representation of aConfigDocument
.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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 theMIN/MAX/Regex
constraints. -
List
: Values for this option are multiple selections from the possible values. -
Boolean
: Values for this option are eithertrue
orfalse
. -
Json
: Values for this option are a JSON representation of aConfigDocument
.
- Parameters:
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 theMIN/MAX/Regex
constraints. -
List
: Values for this option are multiple selections from the possible values. -
Boolean
: Values for this option are eithertrue
orfalse
. -
Json
: Values for this option are a JSON representation of aConfigDocument
.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
valueOptions
If specified, values for the configuration option are selected from this list.
- Parameters:
valueOptions
- If specified, values for the configuration option are selected from this list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueOptions
If specified, values for the configuration option are selected from this list.
- Parameters:
valueOptions
- If specified, values for the configuration option are selected from this list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minValue
If specified, the configuration option must be a numeric value greater than this value.
- Parameters:
minValue
- If specified, the configuration option must be a numeric value greater than this value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxValue
If specified, the configuration option must be a numeric value less than this value.
- Parameters:
maxValue
- If specified, the configuration option must be a numeric value less than this value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxLength
If specified, the configuration option must be a string value no longer than this value.
- Parameters:
maxLength
- If specified, the configuration option must be a string value no longer than this value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regex
If specified, the configuration option must be a string value that satisfies this regular expression.
- Parameters:
regex
- If specified, the configuration option must be a string value that satisfies this regular expression.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regex
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 method that creates an instance of theOptionRestrictionRegex.Builder
avoiding the need to create one manually viaOptionRestrictionRegex.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toregex(OptionRestrictionRegex)
.- Parameters:
regex
- a consumer that will call methods onOptionRestrictionRegex.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-