Interface ConfigurationOptionDescription.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ConfigurationOptionDescription.Builder,ConfigurationOptionDescription>,SdkBuilder<ConfigurationOptionDescription.Builder,ConfigurationOptionDescription>,SdkPojo
- Enclosing class:
- ConfigurationOptionDescription
public static interface ConfigurationOptionDescription.Builder extends SdkPojo, CopyableBuilder<ConfigurationOptionDescription.Builder,ConfigurationOptionDescription>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ConfigurationOptionDescription.BuilderchangeSeverity(String changeSeverity)An indication of which action is required if the value for this configuration option changes:ConfigurationOptionDescription.BuilderdefaultValue(String defaultValue)The default value for this configuration option.ConfigurationOptionDescription.BuildermaxLength(Integer maxLength)If specified, the configuration option must be a string value no longer than this value.ConfigurationOptionDescription.BuildermaxValue(Integer maxValue)If specified, the configuration option must be a numeric value less than this value.ConfigurationOptionDescription.BuilderminValue(Integer minValue)If specified, the configuration option must be a numeric value greater than this value.ConfigurationOptionDescription.Buildername(String name)The name of the configuration option.ConfigurationOptionDescription.Buildernamespace(String namespace)A unique namespace identifying the option's associated AWS resource.default ConfigurationOptionDescription.Builderregex(Consumer<OptionRestrictionRegex.Builder> regex)If specified, the configuration option must be a string value that satisfies this regular expression.ConfigurationOptionDescription.Builderregex(OptionRestrictionRegex regex)If specified, the configuration option must be a string value that satisfies this regular expression.ConfigurationOptionDescription.BuilderuserDefined(Boolean userDefined)An indication of whether the user defined this configuration option:ConfigurationOptionDescription.BuildervalueOptions(String... valueOptions)If specified, values for the configuration option are selected from this list.ConfigurationOptionDescription.BuildervalueOptions(Collection<String> valueOptions)If specified, values for the configuration option are selected from this list.ConfigurationOptionDescription.BuildervalueType(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:ConfigurationOptionDescription.BuildervalueType(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 Detail
-
namespace
ConfigurationOptionDescription.Builder namespace(String 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
ConfigurationOptionDescription.Builder name(String 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
ConfigurationOptionDescription.Builder defaultValue(String 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
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.
- 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
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 anOption to Removewhen updating configuration settings. -
false: This configuration was not defined by the user.
Constraint: You can remove only
UserDefinedoptions 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 Removewhen updating configuration settings. -
false: This configuration was not defined by the user.
Constraint: You can remove only
UserDefinedoptions from a configuration.Valid Values:
true|false-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
valueType
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 theMIN/MAX/Regexconstraints. -
List: Values for this option are multiple selections from the possible values. -
Boolean: Values for this option are eithertrueorfalse. -
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/Regexconstraints. -
List: Values for this option are multiple selections from the possible values. -
Boolean: Values for this option are eithertrueorfalse. -
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:
ConfigurationOptionValueType,ConfigurationOptionValueType
-
-
valueType
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 theMIN/MAX/Regexconstraints. -
List: Values for this option are multiple selections from the possible values. -
Boolean: Values for this option are eithertrueorfalse. -
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/Regexconstraints. -
List: Values for this option are multiple selections from the possible values. -
Boolean: Values for this option are eithertrueorfalse. -
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:
ConfigurationOptionValueType,ConfigurationOptionValueType
-
-
valueOptions
ConfigurationOptionDescription.Builder valueOptions(Collection<String> 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
ConfigurationOptionDescription.Builder valueOptions(String... 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
ConfigurationOptionDescription.Builder minValue(Integer 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
ConfigurationOptionDescription.Builder maxValue(Integer 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
ConfigurationOptionDescription.Builder maxLength(Integer 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
ConfigurationOptionDescription.Builder regex(OptionRestrictionRegex 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.Builderavoiding the need to create one manually viaOptionRestrictionRegex.builder().When the
Consumercompletes,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:
regex(OptionRestrictionRegex)
-
-