@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Parameter extends Object implements Serializable, Cloneable, StructuredPojo
An Amazon Web Services Systems Manager parameter in Parameter Store.
Constructor and Description |
---|
Parameter() |
Modifier and Type | Method and Description |
---|---|
Parameter |
clone() |
boolean |
equals(Object obj) |
String |
getARN()
The Amazon Resource Name (ARN) of the parameter.
|
String |
getDataType()
The data type of the parameter, such as
text or aws:ec2:image . |
Date |
getLastModifiedDate()
Date the parameter was last changed or updated and the parameter version was created.
|
String |
getName()
The name of the parameter.
|
String |
getSelector()
Either the version number or the label used to retrieve the parameter value.
|
String |
getSourceResult()
Applies to parameters that reference information in other Amazon Web Services services.
|
String |
getType()
The type of parameter.
|
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 |
setARN(String aRN)
The Amazon Resource Name (ARN) of the parameter.
|
void |
setDataType(String dataType)
The data type of the parameter, such as
text or aws:ec2:image . |
void |
setLastModifiedDate(Date lastModifiedDate)
Date the parameter was last changed or updated and the parameter version was created.
|
void |
setName(String name)
The name of the parameter.
|
void |
setSelector(String selector)
Either the version number or the label used to retrieve the parameter value.
|
void |
setSourceResult(String sourceResult)
Applies to parameters that reference information in other Amazon Web Services services.
|
void |
setType(ParameterType type)
The type of parameter.
|
void |
setType(String type)
The type of parameter.
|
void |
setValue(String value)
The parameter value.
|
void |
setVersion(Long version)
The parameter version.
|
String |
toString()
Returns a string representation of this object.
|
Parameter |
withARN(String aRN)
The Amazon Resource Name (ARN) of the parameter.
|
Parameter |
withDataType(String dataType)
The data type of the parameter, such as
text or aws:ec2:image . |
Parameter |
withLastModifiedDate(Date lastModifiedDate)
Date the parameter was last changed or updated and the parameter version was created.
|
Parameter |
withName(String name)
The name of the parameter.
|
Parameter |
withSelector(String selector)
Either the version number or the label used to retrieve the parameter value.
|
Parameter |
withSourceResult(String sourceResult)
Applies to parameters that reference information in other Amazon Web Services services.
|
Parameter |
withType(ParameterType type)
The type of parameter.
|
Parameter |
withType(String type)
The type of parameter.
|
Parameter |
withValue(String value)
The parameter value.
|
Parameter |
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 Parameter withName(String name)
The name of the parameter.
name
- The name of the parameter.public void setType(String type)
The type of parameter. Valid values include the following: String
, StringList
, and
SecureString
.
If type is StringList
, the system returns a comma-separated string with no spaces between commas in
the Value
field.
type
- The type of parameter. Valid values include the following: String
, StringList
,
and SecureString
.
If type is StringList
, the system returns a comma-separated string with no spaces between
commas in the Value
field.
ParameterType
public String getType()
The type of parameter. Valid values include the following: String
, StringList
, and
SecureString
.
If type is StringList
, the system returns a comma-separated string with no spaces between commas in
the Value
field.
String
, StringList
,
and SecureString
.
If type is StringList
, the system returns a comma-separated string with no spaces between
commas in the Value
field.
ParameterType
public Parameter withType(String type)
The type of parameter. Valid values include the following: String
, StringList
, and
SecureString
.
If type is StringList
, the system returns a comma-separated string with no spaces between commas in
the Value
field.
type
- The type of parameter. Valid values include the following: String
, StringList
,
and SecureString
.
If type is StringList
, the system returns a comma-separated string with no spaces between
commas in the Value
field.
ParameterType
public void setType(ParameterType type)
The type of parameter. Valid values include the following: String
, StringList
, and
SecureString
.
If type is StringList
, the system returns a comma-separated string with no spaces between commas in
the Value
field.
type
- The type of parameter. Valid values include the following: String
, StringList
,
and SecureString
.
If type is StringList
, the system returns a comma-separated string with no spaces between
commas in the Value
field.
ParameterType
public Parameter withType(ParameterType type)
The type of parameter. Valid values include the following: String
, StringList
, and
SecureString
.
If type is StringList
, the system returns a comma-separated string with no spaces between commas in
the Value
field.
type
- The type of parameter. Valid values include the following: String
, StringList
,
and SecureString
.
If type is StringList
, the system returns a comma-separated string with no spaces between
commas in the Value
field.
ParameterType
public void setValue(String value)
The parameter value.
If type is StringList
, the system returns a comma-separated string with no spaces between commas in
the Value
field.
value
- The parameter value.
If type is StringList
, the system returns a comma-separated string with no spaces between
commas in the Value
field.
public String getValue()
The parameter value.
If type is StringList
, the system returns a comma-separated string with no spaces between commas in
the Value
field.
If type is StringList
, the system returns a comma-separated string with no spaces between
commas in the Value
field.
public Parameter withValue(String value)
The parameter value.
If type is StringList
, the system returns a comma-separated string with no spaces between commas in
the Value
field.
value
- The parameter value.
If type is StringList
, the system returns a comma-separated string with no spaces between
commas in the Value
field.
public void setVersion(Long version)
The parameter version.
version
- The parameter version.public Long getVersion()
The parameter version.
public Parameter withVersion(Long version)
The parameter version.
version
- The parameter version.public void setSelector(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
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
public String getSelector()
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
parameter_name:version
parameter_name:label
public Parameter withSelector(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
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
public void setSourceResult(String sourceResult)
Applies to parameters that reference information in other Amazon Web Services services. SourceResult
is the raw result or response from the source.
sourceResult
- Applies to parameters that reference information in other Amazon Web Services services.
SourceResult
is the raw result or response from the source.public String getSourceResult()
Applies to parameters that reference information in other Amazon Web Services services. SourceResult
is the raw result or response from the source.
SourceResult
is the raw result or response from the source.public Parameter withSourceResult(String sourceResult)
Applies to parameters that reference information in other Amazon Web Services services. SourceResult
is the raw result or response from the source.
sourceResult
- Applies to parameters that reference information in other Amazon Web Services services.
SourceResult
is the raw result or response from the source.public void setLastModifiedDate(Date lastModifiedDate)
Date the parameter was last changed or updated and the parameter version was created.
lastModifiedDate
- Date the parameter was last changed or updated and the parameter version was created.public Date getLastModifiedDate()
Date the parameter was last changed or updated and the parameter version was created.
public Parameter withLastModifiedDate(Date lastModifiedDate)
Date the parameter was last changed or updated and the parameter version was created.
lastModifiedDate
- Date the parameter was last changed or updated and the parameter version was created.public void setARN(String aRN)
The Amazon Resource Name (ARN) of the parameter.
aRN
- The Amazon Resource Name (ARN) of the parameter.public String getARN()
The Amazon Resource Name (ARN) of the parameter.
public Parameter withARN(String aRN)
The Amazon Resource Name (ARN) of the parameter.
aRN
- The Amazon Resource Name (ARN) of the 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 Parameter 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 void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.