Interface Parameter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Parameter.Builder,Parameter>,SdkBuilder<Parameter.Builder,Parameter>,SdkPojo
- Enclosing class:
- Parameter
@Mutable @NotThreadSafe public static interface Parameter.Builder extends SdkPojo, CopyableBuilder<Parameter.Builder,Parameter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Parameter.Builderarn(String arn)The Amazon Resource Name (ARN) of the parameter.Parameter.BuilderdataType(String dataType)The data type of the parameter, such astextoraws:ec2:image.Parameter.BuilderlastModifiedDate(Instant lastModifiedDate)Date the parameter was last changed or updated and the parameter version was created.Parameter.Buildername(String name)The name of the parameter.Parameter.Builderselector(String selector)Either the version number or the label used to retrieve the parameter value.Parameter.BuildersourceResult(String sourceResult)Applies to parameters that reference information in other Amazon Web Services services.Parameter.Buildertype(String type)The type of parameter.Parameter.Buildertype(ParameterType type)The type of parameter.Parameter.Buildervalue(String value)The parameter value.Parameter.Builderversion(Long version)The parameter version.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
Parameter.Builder name(String name)
The name of the parameter.
- Parameters:
name- The name of the parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Parameter.Builder type(String type)
The type of parameter. Valid values include the following:
String,StringList, andSecureString.If type is
StringList, the system returns a comma-separated string with no spaces between commas in theValuefield.- Parameters:
type- The type of parameter. Valid values include the following:String,StringList, andSecureString.If type is
StringList, the system returns a comma-separated string with no spaces between commas in theValuefield.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ParameterType,ParameterType
-
type
Parameter.Builder type(ParameterType type)
The type of parameter. Valid values include the following:
String,StringList, andSecureString.If type is
StringList, the system returns a comma-separated string with no spaces between commas in theValuefield.- Parameters:
type- The type of parameter. Valid values include the following:String,StringList, andSecureString.If type is
StringList, the system returns a comma-separated string with no spaces between commas in theValuefield.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ParameterType,ParameterType
-
value
Parameter.Builder value(String value)
The parameter value.
If type is
StringList, the system returns a comma-separated string with no spaces between commas in theValuefield.- Parameters:
value- The parameter value.If type is
StringList, the system returns a comma-separated string with no spaces between commas in theValuefield.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
Parameter.Builder version(Long version)
The parameter version.
- Parameters:
version- The parameter version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selector
Parameter.Builder selector(String selector)
Either the version number or the label used to retrieve the parameter value. Specify selectors by using one of the following formats:
parameter_name:version
parameter_name:label
- Parameters:
selector- Either the version number or the label used to retrieve the parameter value. Specify selectors by using one of the following formats:parameter_name:version
parameter_name:label
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceResult
Parameter.Builder sourceResult(String sourceResult)
Applies to parameters that reference information in other Amazon Web Services services.
SourceResultis the raw result or response from the source.- Parameters:
sourceResult- Applies to parameters that reference information in other Amazon Web Services services.SourceResultis the raw result or response from the source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedDate
Parameter.Builder lastModifiedDate(Instant lastModifiedDate)
Date the parameter was last changed or updated and the parameter version was created.
- Parameters:
lastModifiedDate- Date the parameter was last changed or updated and the parameter version was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
Parameter.Builder arn(String arn)
The Amazon Resource Name (ARN) of the parameter.
- Parameters:
arn- The Amazon Resource Name (ARN) of the parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataType
Parameter.Builder dataType(String dataType)
The data type of the parameter, such as
textoraws:ec2:image. The default istext.- Parameters:
dataType- The data type of the parameter, such astextoraws:ec2:image. The default istext.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-