Interface ParameterHistory.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ParameterHistory.Builder,ParameterHistory>
,SdkBuilder<ParameterHistory.Builder,ParameterHistory>
,SdkPojo
- Enclosing class:
- ParameterHistory
@Mutable @NotThreadSafe public static interface ParameterHistory.Builder extends SdkPojo, CopyableBuilder<ParameterHistory.Builder,ParameterHistory>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ParameterHistory.Builder
allowedPattern(String allowedPattern)
Parameter names can include the following letters and symbols.ParameterHistory.Builder
dataType(String dataType)
The data type of the parameter, such astext
oraws:ec2:image
.ParameterHistory.Builder
description(String description)
Information about the parameter.ParameterHistory.Builder
keyId(String keyId)
The alias of the Key Management Service (KMS) key used to encrypt the parameter.ParameterHistory.Builder
labels(String... labels)
Labels assigned to the parameter version.ParameterHistory.Builder
labels(Collection<String> labels)
Labels assigned to the parameter version.ParameterHistory.Builder
lastModifiedDate(Instant lastModifiedDate)
Date the parameter was last changed or updated.ParameterHistory.Builder
lastModifiedUser(String lastModifiedUser)
Amazon Resource Name (ARN) of the Amazon Web Services user who last changed the parameter.ParameterHistory.Builder
name(String name)
The name of the parameter.ParameterHistory.Builder
policies(Collection<ParameterInlinePolicy> policies)
Information about the policies assigned to a parameter.ParameterHistory.Builder
policies(Consumer<ParameterInlinePolicy.Builder>... policies)
Information about the policies assigned to a parameter.ParameterHistory.Builder
policies(ParameterInlinePolicy... policies)
Information about the policies assigned to a parameter.ParameterHistory.Builder
tier(String tier)
The parameter tier.ParameterHistory.Builder
tier(ParameterTier tier)
The parameter tier.ParameterHistory.Builder
type(String type)
The type of parameter used.ParameterHistory.Builder
type(ParameterType type)
The type of parameter used.ParameterHistory.Builder
value(String value)
The parameter value.ParameterHistory.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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
ParameterHistory.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
ParameterHistory.Builder type(String type)
The type of parameter used.
- Parameters:
type
- The type of parameter used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ParameterType
,ParameterType
-
type
ParameterHistory.Builder type(ParameterType type)
The type of parameter used.
- Parameters:
type
- The type of parameter used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ParameterType
,ParameterType
-
keyId
ParameterHistory.Builder keyId(String keyId)
The alias of the Key Management Service (KMS) key used to encrypt the parameter. Applies to
SecureString
parameters only- Parameters:
keyId
- The alias of the Key Management Service (KMS) key used to encrypt the parameter. Applies toSecureString
parameters only- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedDate
ParameterHistory.Builder lastModifiedDate(Instant lastModifiedDate)
Date the parameter was last changed or updated.
- Parameters:
lastModifiedDate
- Date the parameter was last changed or updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedUser
ParameterHistory.Builder lastModifiedUser(String lastModifiedUser)
Amazon Resource Name (ARN) of the Amazon Web Services user who last changed the parameter.
- Parameters:
lastModifiedUser
- Amazon Resource Name (ARN) of the Amazon Web Services user who last changed the parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
ParameterHistory.Builder description(String description)
Information about the parameter.
- Parameters:
description
- Information about the parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
ParameterHistory.Builder value(String value)
The parameter value.
- Parameters:
value
- The parameter value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedPattern
ParameterHistory.Builder allowedPattern(String allowedPattern)
Parameter names can include the following letters and symbols.
a-zA-Z0-9_.-
- Parameters:
allowedPattern
- Parameter names can include the following letters and symbols.a-zA-Z0-9_.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
ParameterHistory.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.
-
labels
ParameterHistory.Builder labels(Collection<String> labels)
Labels assigned to the parameter version.
- Parameters:
labels
- Labels assigned to the parameter version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labels
ParameterHistory.Builder labels(String... labels)
Labels assigned to the parameter version.
- Parameters:
labels
- Labels assigned to the parameter version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tier
ParameterHistory.Builder tier(String tier)
The parameter tier.
- Parameters:
tier
- The parameter tier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ParameterTier
,ParameterTier
-
tier
ParameterHistory.Builder tier(ParameterTier tier)
The parameter tier.
- Parameters:
tier
- The parameter tier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ParameterTier
,ParameterTier
-
policies
ParameterHistory.Builder policies(Collection<ParameterInlinePolicy> policies)
Information about the policies assigned to a parameter.
Assigning parameter policies in the Amazon Web Services Systems Manager User Guide.
- Parameters:
policies
- Information about the policies assigned to a parameter.Assigning parameter policies in the Amazon Web Services Systems Manager User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
ParameterHistory.Builder policies(ParameterInlinePolicy... policies)
Information about the policies assigned to a parameter.
Assigning parameter policies in the Amazon Web Services Systems Manager User Guide.
- Parameters:
policies
- Information about the policies assigned to a parameter.Assigning parameter policies in the Amazon Web Services Systems Manager User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
ParameterHistory.Builder policies(Consumer<ParameterInlinePolicy.Builder>... policies)
Information about the policies assigned to a parameter.
Assigning parameter policies in the Amazon Web Services Systems Manager User Guide.
This is a convenience method that creates an instance of theParameterInlinePolicy.Builder
avoiding the need to create one manually viaParameterInlinePolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#policies(List
.) - Parameters:
policies
- a consumer that will call methods onParameterInlinePolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#policies(java.util.Collection
)
-
dataType
ParameterHistory.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.
-
-