@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ParameterHistory extends Object implements Serializable, Cloneable, StructuredPojo
Information about parameter usage.
Constructor and Description |
---|
ParameterHistory() |
Modifier and Type | Method and Description |
---|---|
ParameterHistory |
clone() |
boolean |
equals(Object obj) |
String |
getAllowedPattern()
Parameter names can include the following letters and symbols.
|
String |
getDataType()
The data type of the parameter, such as
text or aws:ec2:image . |
String |
getDescription()
Information about the parameter.
|
String |
getKeyId()
The alias of the Key Management Service (KMS) key used to encrypt the parameter.
|
List<String> |
getLabels()
Labels assigned to the parameter version.
|
Date |
getLastModifiedDate()
Date the parameter was last changed or updated.
|
String |
getLastModifiedUser()
Amazon Resource Name (ARN) of the Amazon Web Services user who last changed the parameter.
|
String |
getName()
The name of the parameter.
|
List<ParameterInlinePolicy> |
getPolicies()
Information about the policies assigned to a parameter.
|
String |
getTier()
The parameter tier.
|
String |
getType()
The type of parameter used.
|
String |
getValue()
The parameter value.
|
Long |
getVersion()
The parameter version.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllowedPattern(String allowedPattern)
Parameter names can include the following letters and symbols.
|
void |
setDataType(String dataType)
The data type of the parameter, such as
text or aws:ec2:image . |
void |
setDescription(String description)
Information about the parameter.
|
void |
setKeyId(String keyId)
The alias of the Key Management Service (KMS) key used to encrypt the parameter.
|
void |
setLabels(Collection<String> labels)
Labels assigned to the parameter version.
|
void |
setLastModifiedDate(Date lastModifiedDate)
Date the parameter was last changed or updated.
|
void |
setLastModifiedUser(String lastModifiedUser)
Amazon Resource Name (ARN) of the Amazon Web Services user who last changed the parameter.
|
void |
setName(String name)
The name of the parameter.
|
void |
setPolicies(Collection<ParameterInlinePolicy> policies)
Information about the policies assigned to a parameter.
|
void |
setTier(ParameterTier tier)
The parameter tier.
|
void |
setTier(String tier)
The parameter tier.
|
void |
setType(ParameterType type)
The type of parameter used.
|
void |
setType(String type)
The type of parameter used.
|
void |
setValue(String value)
The parameter value.
|
void |
setVersion(Long version)
The parameter version.
|
String |
toString()
Returns a string representation of this object.
|
ParameterHistory |
withAllowedPattern(String allowedPattern)
Parameter names can include the following letters and symbols.
|
ParameterHistory |
withDataType(String dataType)
The data type of the parameter, such as
text or aws:ec2:image . |
ParameterHistory |
withDescription(String description)
Information about the parameter.
|
ParameterHistory |
withKeyId(String keyId)
The alias of the Key Management Service (KMS) key used to encrypt the parameter.
|
ParameterHistory |
withLabels(Collection<String> labels)
Labels assigned to the parameter version.
|
ParameterHistory |
withLabels(String... labels)
Labels assigned to the parameter version.
|
ParameterHistory |
withLastModifiedDate(Date lastModifiedDate)
Date the parameter was last changed or updated.
|
ParameterHistory |
withLastModifiedUser(String lastModifiedUser)
Amazon Resource Name (ARN) of the Amazon Web Services user who last changed the parameter.
|
ParameterHistory |
withName(String name)
The name of the parameter.
|
ParameterHistory |
withPolicies(Collection<ParameterInlinePolicy> policies)
Information about the policies assigned to a parameter.
|
ParameterHistory |
withPolicies(ParameterInlinePolicy... policies)
Information about the policies assigned to a parameter.
|
ParameterHistory |
withTier(ParameterTier tier)
The parameter tier.
|
ParameterHistory |
withTier(String tier)
The parameter tier.
|
ParameterHistory |
withType(ParameterType type)
The type of parameter used.
|
ParameterHistory |
withType(String type)
The type of parameter used.
|
ParameterHistory |
withValue(String value)
The parameter value.
|
ParameterHistory |
withVersion(Long version)
The parameter version.
|
public void setName(String name)
The name of the parameter.
name
- The name of the parameter.public String getName()
The name of the parameter.
public ParameterHistory withName(String name)
The name of the parameter.
name
- The name of the parameter.public void setType(String type)
The type of parameter used.
type
- The type of parameter used.ParameterType
public String getType()
The type of parameter used.
ParameterType
public ParameterHistory withType(String type)
The type of parameter used.
type
- The type of parameter used.ParameterType
public void setType(ParameterType type)
The type of parameter used.
type
- The type of parameter used.ParameterType
public ParameterHistory withType(ParameterType type)
The type of parameter used.
type
- The type of parameter used.ParameterType
public void setKeyId(String keyId)
The alias of the Key Management Service (KMS) key used to encrypt the parameter. Applies to
SecureString
parameters only
keyId
- The alias of the Key Management Service (KMS) key used to encrypt the parameter. Applies to
SecureString
parameters onlypublic String getKeyId()
The alias of the Key Management Service (KMS) key used to encrypt the parameter. Applies to
SecureString
parameters only
SecureString
parameters onlypublic ParameterHistory withKeyId(String keyId)
The alias of the Key Management Service (KMS) key used to encrypt the parameter. Applies to
SecureString
parameters only
keyId
- The alias of the Key Management Service (KMS) key used to encrypt the parameter. Applies to
SecureString
parameters onlypublic void setLastModifiedDate(Date lastModifiedDate)
Date the parameter was last changed or updated.
lastModifiedDate
- Date the parameter was last changed or updated.public Date getLastModifiedDate()
Date the parameter was last changed or updated.
public ParameterHistory withLastModifiedDate(Date lastModifiedDate)
Date the parameter was last changed or updated.
lastModifiedDate
- Date the parameter was last changed or updated.public void setLastModifiedUser(String lastModifiedUser)
Amazon Resource Name (ARN) of the Amazon Web Services user who last changed the parameter.
lastModifiedUser
- Amazon Resource Name (ARN) of the Amazon Web Services user who last changed the parameter.public String getLastModifiedUser()
Amazon Resource Name (ARN) of the Amazon Web Services user who last changed the parameter.
public ParameterHistory withLastModifiedUser(String lastModifiedUser)
Amazon Resource Name (ARN) of the Amazon Web Services user who last changed the parameter.
lastModifiedUser
- Amazon Resource Name (ARN) of the Amazon Web Services user who last changed the parameter.public void setDescription(String description)
Information about the parameter.
description
- Information about the parameter.public String getDescription()
Information about the parameter.
public ParameterHistory withDescription(String description)
Information about the parameter.
description
- Information about the parameter.public void setValue(String value)
The parameter value.
value
- The parameter value.public String getValue()
The parameter value.
public ParameterHistory withValue(String value)
The parameter value.
value
- The parameter value.public void setAllowedPattern(String allowedPattern)
Parameter names can include the following letters and symbols.
a-zA-Z0-9_.-
allowedPattern
- Parameter names can include the following letters and symbols.
a-zA-Z0-9_.-
public String getAllowedPattern()
Parameter names can include the following letters and symbols.
a-zA-Z0-9_.-
a-zA-Z0-9_.-
public ParameterHistory withAllowedPattern(String allowedPattern)
Parameter names can include the following letters and symbols.
a-zA-Z0-9_.-
allowedPattern
- Parameter names can include the following letters and symbols.
a-zA-Z0-9_.-
public void setVersion(Long version)
The parameter version.
version
- The parameter version.public Long getVersion()
The parameter version.
public ParameterHistory withVersion(Long version)
The parameter version.
version
- The parameter version.public List<String> getLabels()
Labels assigned to the parameter version.
public void setLabels(Collection<String> labels)
Labels assigned to the parameter version.
labels
- Labels assigned to the parameter version.public ParameterHistory withLabels(String... labels)
Labels assigned to the parameter version.
NOTE: This method appends the values to the existing list (if any). Use
setLabels(java.util.Collection)
or withLabels(java.util.Collection)
if you want to override the
existing values.
labels
- Labels assigned to the parameter version.public ParameterHistory withLabels(Collection<String> labels)
Labels assigned to the parameter version.
labels
- Labels assigned to the parameter version.public void setTier(String tier)
The parameter tier.
tier
- The parameter tier.ParameterTier
public String getTier()
The parameter tier.
ParameterTier
public ParameterHistory withTier(String tier)
The parameter tier.
tier
- The parameter tier.ParameterTier
public void setTier(ParameterTier tier)
The parameter tier.
tier
- The parameter tier.ParameterTier
public ParameterHistory withTier(ParameterTier tier)
The parameter tier.
tier
- The parameter tier.ParameterTier
public List<ParameterInlinePolicy> getPolicies()
Information about the policies assigned to a parameter.
Assigning parameter policies in the Amazon Web Services Systems Manager User Guide.
Assigning parameter policies in the Amazon Web Services Systems Manager User Guide.
public void setPolicies(Collection<ParameterInlinePolicy> policies)
Information about the policies assigned to a parameter.
Assigning parameter policies in the Amazon Web Services Systems Manager User Guide.
policies
- Information about the policies assigned to a parameter.
Assigning parameter policies in the Amazon Web Services Systems Manager User Guide.
public ParameterHistory withPolicies(ParameterInlinePolicy... policies)
Information about the policies assigned to a parameter.
Assigning parameter policies in the Amazon Web Services Systems Manager User Guide.
NOTE: This method appends the values to the existing list (if any). Use
setPolicies(java.util.Collection)
or withPolicies(java.util.Collection)
if you want to override
the existing values.
policies
- Information about the policies assigned to a parameter.
Assigning parameter policies in the Amazon Web Services Systems Manager User Guide.
public ParameterHistory withPolicies(Collection<ParameterInlinePolicy> policies)
Information about the policies assigned to a parameter.
Assigning parameter policies in the Amazon Web Services Systems Manager User Guide.
policies
- Information about the policies assigned to a parameter.
Assigning parameter policies in the Amazon Web Services Systems Manager User Guide.
public void setDataType(String dataType)
The data type of the parameter, such as text
or aws:ec2:image
. The default is
text
.
dataType
- The data type of the parameter, such as text
or aws:ec2:image
. The default is
text
.public String getDataType()
The data type of the parameter, such as text
or aws:ec2:image
. The default is
text
.
text
or aws:ec2:image
. The default is
text
.public ParameterHistory withDataType(String dataType)
The data type of the parameter, such as text
or aws:ec2:image
. The default is
text
.
dataType
- The data type of the parameter, such as text
or aws:ec2:image
. The default is
text
.public String toString()
toString
in class Object
Object.toString()
public ParameterHistory clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.