@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ParameterMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Metadata includes information like the Amazon Resource Name (ARN) of the last user to update the parameter and the date and time the parameter was last used.
Constructor and Description |
---|
ParameterMetadata() |
Modifier and Type | Method and Description |
---|---|
ParameterMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getAllowedPattern()
A parameter name can include only the following letters and symbols.
|
String |
getARN()
The (ARN) of the last user to update the parameter.
|
String |
getDataType()
The data type of the parameter, such as
text or aws:ec2:image . |
String |
getDescription()
Description of the parameter actions.
|
String |
getKeyId()
The alias of the Key Management Service (KMS) key used to encrypt the parameter.
|
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 parameter name.
|
List<ParameterInlinePolicy> |
getPolicies()
A list of policies associated with a parameter.
|
String |
getTier()
The parameter tier.
|
String |
getType()
The type of parameter.
|
Long |
getVersion()
The parameter version.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllowedPattern(String allowedPattern)
A parameter name can include only the following letters and symbols.
|
void |
setARN(String aRN)
The (ARN) of the last user to update the parameter.
|
void |
setDataType(String dataType)
The data type of the parameter, such as
text or aws:ec2:image . |
void |
setDescription(String description)
Description of the parameter actions.
|
void |
setKeyId(String keyId)
The alias of the Key Management Service (KMS) key used to encrypt the parameter.
|
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 parameter name.
|
void |
setPolicies(Collection<ParameterInlinePolicy> policies)
A list of policies associated with a parameter.
|
void |
setTier(ParameterTier tier)
The parameter tier.
|
void |
setTier(String tier)
The parameter tier.
|
void |
setType(ParameterType type)
The type of parameter.
|
void |
setType(String type)
The type of parameter.
|
void |
setVersion(Long version)
The parameter version.
|
String |
toString()
Returns a string representation of this object.
|
ParameterMetadata |
withAllowedPattern(String allowedPattern)
A parameter name can include only the following letters and symbols.
|
ParameterMetadata |
withARN(String aRN)
The (ARN) of the last user to update the parameter.
|
ParameterMetadata |
withDataType(String dataType)
The data type of the parameter, such as
text or aws:ec2:image . |
ParameterMetadata |
withDescription(String description)
Description of the parameter actions.
|
ParameterMetadata |
withKeyId(String keyId)
The alias of the Key Management Service (KMS) key used to encrypt the parameter.
|
ParameterMetadata |
withLastModifiedDate(Date lastModifiedDate)
Date the parameter was last changed or updated.
|
ParameterMetadata |
withLastModifiedUser(String lastModifiedUser)
Amazon Resource Name (ARN) of the Amazon Web Services user who last changed the parameter.
|
ParameterMetadata |
withName(String name)
The parameter name.
|
ParameterMetadata |
withPolicies(Collection<ParameterInlinePolicy> policies)
A list of policies associated with a parameter.
|
ParameterMetadata |
withPolicies(ParameterInlinePolicy... policies)
A list of policies associated with a parameter.
|
ParameterMetadata |
withTier(ParameterTier tier)
The parameter tier.
|
ParameterMetadata |
withTier(String tier)
The parameter tier.
|
ParameterMetadata |
withType(ParameterType type)
The type of parameter.
|
ParameterMetadata |
withType(String type)
The type of parameter.
|
ParameterMetadata |
withVersion(Long version)
The parameter version.
|
public void setName(String name)
The parameter name.
name
- The parameter name.public String getName()
The parameter name.
public ParameterMetadata withName(String name)
The parameter name.
name
- The parameter name.public void setARN(String aRN)
The (ARN) of the last user to update the parameter.
aRN
- The (ARN) of the last user to update the parameter.public String getARN()
The (ARN) of the last user to update the parameter.
public ParameterMetadata withARN(String aRN)
The (ARN) of the last user to update the parameter.
aRN
- The (ARN) of the last user to update the parameter.public void setType(String type)
The type of parameter. Valid parameter types include the following: String
, StringList
,
and SecureString
.
type
- The type of parameter. Valid parameter types include the following: String
,
StringList
, and SecureString
.ParameterType
public String getType()
The type of parameter. Valid parameter types include the following: String
, StringList
,
and SecureString
.
String
,
StringList
, and SecureString
.ParameterType
public ParameterMetadata withType(String type)
The type of parameter. Valid parameter types include the following: String
, StringList
,
and SecureString
.
type
- The type of parameter. Valid parameter types include the following: String
,
StringList
, and SecureString
.ParameterType
public void setType(ParameterType type)
The type of parameter. Valid parameter types include the following: String
, StringList
,
and SecureString
.
type
- The type of parameter. Valid parameter types include the following: String
,
StringList
, and SecureString
.ParameterType
public ParameterMetadata withType(ParameterType type)
The type of parameter. Valid parameter types include the following: String
, StringList
,
and SecureString
.
type
- The type of parameter. Valid parameter types include the following: String
,
StringList
, and SecureString
.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 only.public String getKeyId()
The alias of the Key Management Service (KMS) key used to encrypt the parameter. Applies to
SecureString
parameters only.
SecureString
parameters only.public ParameterMetadata 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 only.public 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 ParameterMetadata 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 ParameterMetadata 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)
Description of the parameter actions.
description
- Description of the parameter actions.public String getDescription()
Description of the parameter actions.
public ParameterMetadata withDescription(String description)
Description of the parameter actions.
description
- Description of the parameter actions.public void setAllowedPattern(String allowedPattern)
A parameter name can include only the following letters and symbols.
a-zA-Z0-9_.-
allowedPattern
- A parameter name can include only the following letters and symbols.
a-zA-Z0-9_.-
public String getAllowedPattern()
A parameter name can include only the following letters and symbols.
a-zA-Z0-9_.-
a-zA-Z0-9_.-
public ParameterMetadata withAllowedPattern(String allowedPattern)
A parameter name can include only the following letters and symbols.
a-zA-Z0-9_.-
allowedPattern
- A parameter name can include only 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 ParameterMetadata withVersion(Long version)
The parameter version.
version
- The parameter version.public void setTier(String tier)
The parameter tier.
tier
- The parameter tier.ParameterTier
public String getTier()
The parameter tier.
ParameterTier
public ParameterMetadata 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 ParameterMetadata withTier(ParameterTier tier)
The parameter tier.
tier
- The parameter tier.ParameterTier
public List<ParameterInlinePolicy> getPolicies()
A list of policies associated with a parameter.
public void setPolicies(Collection<ParameterInlinePolicy> policies)
A list of policies associated with a parameter.
policies
- A list of policies associated with a parameter.public ParameterMetadata withPolicies(ParameterInlinePolicy... policies)
A list of policies associated with a parameter.
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
- A list of policies associated with a parameter.public ParameterMetadata withPolicies(Collection<ParameterInlinePolicy> policies)
A list of policies associated with a parameter.
policies
- A list of policies associated with a parameter.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 ParameterMetadata 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 ParameterMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.