Interface StringParameterDeclaration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<StringParameterDeclaration.Builder,StringParameterDeclaration>,SdkBuilder<StringParameterDeclaration.Builder,StringParameterDeclaration>,SdkPojo
- Enclosing class:
- StringParameterDeclaration
public static interface StringParameterDeclaration.Builder extends SdkPojo, CopyableBuilder<StringParameterDeclaration.Builder,StringParameterDeclaration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StringParameterDeclaration.BuilderdefaultValues(Consumer<StringDefaultValues.Builder> defaultValues)The default values of a parameter.StringParameterDeclaration.BuilderdefaultValues(StringDefaultValues defaultValues)The default values of a parameter.StringParameterDeclaration.BuildermappedDataSetParameters(Collection<MappedDataSetParameter> mappedDataSetParameters)Sets the value of the MappedDataSetParameters property for this object.StringParameterDeclaration.BuildermappedDataSetParameters(Consumer<MappedDataSetParameter.Builder>... mappedDataSetParameters)Sets the value of the MappedDataSetParameters property for this object.StringParameterDeclaration.BuildermappedDataSetParameters(MappedDataSetParameter... mappedDataSetParameters)Sets the value of the MappedDataSetParameters property for this object.StringParameterDeclaration.Buildername(String name)The name of the parameter that is being declared.StringParameterDeclaration.BuilderparameterValueType(String parameterValueType)The value type determines whether the parameter is a single-value or multi-value parameter.StringParameterDeclaration.BuilderparameterValueType(ParameterValueType parameterValueType)The value type determines whether the parameter is a single-value or multi-value parameter.default StringParameterDeclaration.BuildervalueWhenUnset(Consumer<StringValueWhenUnsetConfiguration.Builder> valueWhenUnset)The configuration that defines the default value of aStringparameter when a value has not been set.StringParameterDeclaration.BuildervalueWhenUnset(StringValueWhenUnsetConfiguration valueWhenUnset)The configuration that defines the default value of aStringparameter when a value has not been set.-
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
-
parameterValueType
StringParameterDeclaration.Builder parameterValueType(String parameterValueType)
The value type determines whether the parameter is a single-value or multi-value parameter.
- Parameters:
parameterValueType- The value type determines whether the parameter is a single-value or multi-value parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ParameterValueType,ParameterValueType
-
parameterValueType
StringParameterDeclaration.Builder parameterValueType(ParameterValueType parameterValueType)
The value type determines whether the parameter is a single-value or multi-value parameter.
- Parameters:
parameterValueType- The value type determines whether the parameter is a single-value or multi-value parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ParameterValueType,ParameterValueType
-
name
StringParameterDeclaration.Builder name(String name)
The name of the parameter that is being declared.
- Parameters:
name- The name of the parameter that is being declared.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultValues
StringParameterDeclaration.Builder defaultValues(StringDefaultValues defaultValues)
The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided.
- Parameters:
defaultValues- The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultValues
default StringParameterDeclaration.Builder defaultValues(Consumer<StringDefaultValues.Builder> defaultValues)
The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided.
This is a convenience method that creates an instance of theStringDefaultValues.Builderavoiding the need to create one manually viaStringDefaultValues.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefaultValues(StringDefaultValues).- Parameters:
defaultValues- a consumer that will call methods onStringDefaultValues.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
defaultValues(StringDefaultValues)
-
valueWhenUnset
StringParameterDeclaration.Builder valueWhenUnset(StringValueWhenUnsetConfiguration valueWhenUnset)
The configuration that defines the default value of a
Stringparameter when a value has not been set.- Parameters:
valueWhenUnset- The configuration that defines the default value of aStringparameter when a value has not been set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueWhenUnset
default StringParameterDeclaration.Builder valueWhenUnset(Consumer<StringValueWhenUnsetConfiguration.Builder> valueWhenUnset)
The configuration that defines the default value of a
This is a convenience method that creates an instance of theStringparameter when a value has not been set.StringValueWhenUnsetConfiguration.Builderavoiding the need to create one manually viaStringValueWhenUnsetConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalueWhenUnset(StringValueWhenUnsetConfiguration).- Parameters:
valueWhenUnset- a consumer that will call methods onStringValueWhenUnsetConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
valueWhenUnset(StringValueWhenUnsetConfiguration)
-
mappedDataSetParameters
StringParameterDeclaration.Builder mappedDataSetParameters(Collection<MappedDataSetParameter> mappedDataSetParameters)
Sets the value of the MappedDataSetParameters property for this object.- Parameters:
mappedDataSetParameters- The new value for the MappedDataSetParameters property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mappedDataSetParameters
StringParameterDeclaration.Builder mappedDataSetParameters(MappedDataSetParameter... mappedDataSetParameters)
Sets the value of the MappedDataSetParameters property for this object.- Parameters:
mappedDataSetParameters- The new value for the MappedDataSetParameters property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mappedDataSetParameters
StringParameterDeclaration.Builder mappedDataSetParameters(Consumer<MappedDataSetParameter.Builder>... mappedDataSetParameters)
Sets the value of the MappedDataSetParameters property for this object. This is a convenience method that creates an instance of theMappedDataSetParameter.Builderavoiding the need to create one manually viaMappedDataSetParameter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#mappedDataSetParameters(List.) - Parameters:
mappedDataSetParameters- a consumer that will call methods onMappedDataSetParameter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#mappedDataSetParameters(java.util.Collection)
-
-