Interface ParameterMetadata.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ParameterMetadata.Builder,ParameterMetadata>,SdkBuilder<ParameterMetadata.Builder,ParameterMetadata>,SdkPojo
- Enclosing class:
- ParameterMetadata
public static interface ParameterMetadata.Builder extends SdkPojo, CopyableBuilder<ParameterMetadata.Builder,ParameterMetadata>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ParameterMetadata.BuilderallowedPattern(String allowedPattern)A parameter name can include only the following letters and symbols.ParameterMetadata.BuilderdataType(String dataType)The data type of the parameter, such astextoraws:ec2:image.ParameterMetadata.Builderdescription(String description)Description of the parameter actions.ParameterMetadata.BuilderkeyId(String keyId)The ID of the query key used for this parameter.ParameterMetadata.BuilderlastModifiedDate(Instant lastModifiedDate)Date the parameter was last changed or updated.ParameterMetadata.BuilderlastModifiedUser(String lastModifiedUser)Amazon Resource Name (ARN) of the Amazon Web Services user who last changed the parameter.ParameterMetadata.Buildername(String name)The parameter name.ParameterMetadata.Builderpolicies(Collection<ParameterInlinePolicy> policies)A list of policies associated with a parameter.ParameterMetadata.Builderpolicies(Consumer<ParameterInlinePolicy.Builder>... policies)A list of policies associated with a parameter.ParameterMetadata.Builderpolicies(ParameterInlinePolicy... policies)A list of policies associated with a parameter.ParameterMetadata.Buildertier(String tier)The parameter tier.ParameterMetadata.Buildertier(ParameterTier tier)The parameter tier.ParameterMetadata.Buildertype(String type)The type of parameter.ParameterMetadata.Buildertype(ParameterType type)The type of parameter.ParameterMetadata.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, sdkFields
-
-
-
-
Method Detail
-
name
ParameterMetadata.Builder name(String name)
The parameter name.
- Parameters:
name- The parameter name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
ParameterMetadata.Builder type(String type)
The type of parameter. Valid parameter types include the following:
String,StringList, andSecureString.- Parameters:
type- The type of parameter. Valid parameter types include the following:String,StringList, andSecureString.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ParameterType,ParameterType
-
type
ParameterMetadata.Builder type(ParameterType type)
The type of parameter. Valid parameter types include the following:
String,StringList, andSecureString.- Parameters:
type- The type of parameter. Valid parameter types include the following:String,StringList, andSecureString.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ParameterType,ParameterType
-
keyId
ParameterMetadata.Builder keyId(String keyId)
The ID of the query key used for this parameter.
- Parameters:
keyId- The ID of the query key used for this parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedDate
ParameterMetadata.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
ParameterMetadata.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
ParameterMetadata.Builder description(String description)
Description of the parameter actions.
- Parameters:
description- Description of the parameter actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedPattern
ParameterMetadata.Builder allowedPattern(String allowedPattern)
A parameter name can include only the following letters and symbols.
a-zA-Z0-9_.-
- Parameters:
allowedPattern- A parameter name can include only 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
ParameterMetadata.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.
-
tier
ParameterMetadata.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
ParameterMetadata.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
ParameterMetadata.Builder policies(Collection<ParameterInlinePolicy> policies)
A list of policies associated with a parameter.
- Parameters:
policies- A list of policies associated with a parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
ParameterMetadata.Builder policies(ParameterInlinePolicy... policies)
A list of policies associated with a parameter.
- Parameters:
policies- A list of policies associated with a parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
ParameterMetadata.Builder policies(Consumer<ParameterInlinePolicy.Builder>... policies)
A list of policies associated with a parameter.
This is a convenience method that creates an instance of theParameterInlinePolicy.Builderavoiding the need to create one manually viaParameterInlinePolicy.builder().When the
Consumercompletes,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
ParameterMetadata.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.
-
-