Interface Parameter.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Parameter.Builder,Parameter>
,SdkBuilder<Parameter.Builder,Parameter>
,SdkPojo
- Enclosing class:
- Parameter
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.Builder
arn(String arn)
The Amazon Resource Name (ARN) of the parameter.Parameter.Builder
dataType(String dataType)
The data type of the parameter, such astext
oraws:ec2:image
.Parameter.Builder
lastModifiedDate(Instant lastModifiedDate)
Date the parameter was last changed or updated and the parameter version was created.Parameter.Builder
name(String name)
The name of the parameter.Parameter.Builder
selector(String selector)
Either the version number or the label used to retrieve the parameter value.Parameter.Builder
sourceResult(String sourceResult)
Applies to parameters that reference information in other Amazon Web Services services.Parameter.Builder
type(String type)
The type of parameter.Parameter.Builder
type(ParameterType type)
The type of parameter.Parameter.Builder
value(String value)
The parameter value.Parameter.Builder
version(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, 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 theValue
field.- 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 theValue
field.- 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 theValue
field.- 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 theValue
field.- 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 theValue
field.- Parameters:
value
- The parameter value.If type is
StringList
, the system returns a comma-separated string with no spaces between commas in theValue
field.- 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.
SourceResult
is the raw result or response from the source.- Parameters:
sourceResult
- Applies to parameters that reference information in other Amazon Web Services services.SourceResult
is 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
text
oraws:ec2:image
. The default istext
.- Parameters:
dataType
- The data type of the parameter, such astext
oraws:ec2:image
. The default istext
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-