public class Parameter
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The Parameter data type.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
parameterKey
The key associated with the parameter.
|
private java.lang.String |
parameterValue
The value associated with the parameter.
|
private java.lang.Boolean |
usePreviousValue
During a stack update, use the existing parameter value that the stack is
using for a given parameter key.
|
Constructor and Description |
---|
Parameter() |
Modifier and Type | Method and Description |
---|---|
Parameter |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getParameterKey()
The key associated with the parameter.
|
java.lang.String |
getParameterValue()
The value associated with the parameter.
|
java.lang.Boolean |
getUsePreviousValue()
During a stack update, use the existing parameter value that the stack is
using for a given parameter key.
|
int |
hashCode() |
java.lang.Boolean |
isUsePreviousValue()
During a stack update, use the existing parameter value that the stack is
using for a given parameter key.
|
void |
setParameterKey(java.lang.String parameterKey)
The key associated with the parameter.
|
void |
setParameterValue(java.lang.String parameterValue)
The value associated with the parameter.
|
void |
setUsePreviousValue(java.lang.Boolean usePreviousValue)
During a stack update, use the existing parameter value that the stack is
using for a given parameter key.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Parameter |
withParameterKey(java.lang.String parameterKey)
The key associated with the parameter.
|
Parameter |
withParameterValue(java.lang.String parameterValue)
The value associated with the parameter.
|
Parameter |
withUsePreviousValue(java.lang.Boolean usePreviousValue)
During a stack update, use the existing parameter value that the stack is
using for a given parameter key.
|
private java.lang.String parameterKey
The key associated with the parameter. If you don't specify a key and value for a particular parameter, AWS CloudFormation uses the default value that is specified in your template.
private java.lang.String parameterValue
The value associated with the parameter.
private java.lang.Boolean usePreviousValue
During a stack update, use the existing parameter value that the stack is
using for a given parameter key. If you specify true
, do not
specify a parameter value.
public void setParameterKey(java.lang.String parameterKey)
The key associated with the parameter. If you don't specify a key and value for a particular parameter, AWS CloudFormation uses the default value that is specified in your template.
parameterKey
- The key associated with the parameter. If you don't specify a key
and value for a particular parameter, AWS CloudFormation uses the
default value that is specified in your template.public java.lang.String getParameterKey()
The key associated with the parameter. If you don't specify a key and value for a particular parameter, AWS CloudFormation uses the default value that is specified in your template.
public Parameter withParameterKey(java.lang.String parameterKey)
The key associated with the parameter. If you don't specify a key and value for a particular parameter, AWS CloudFormation uses the default value that is specified in your template.
parameterKey
- The key associated with the parameter. If you don't specify a key
and value for a particular parameter, AWS CloudFormation uses the
default value that is specified in your template.public void setParameterValue(java.lang.String parameterValue)
The value associated with the parameter.
parameterValue
- The value associated with the parameter.public java.lang.String getParameterValue()
The value associated with the parameter.
public Parameter withParameterValue(java.lang.String parameterValue)
The value associated with the parameter.
parameterValue
- The value associated with the parameter.public void setUsePreviousValue(java.lang.Boolean usePreviousValue)
During a stack update, use the existing parameter value that the stack is
using for a given parameter key. If you specify true
, do not
specify a parameter value.
usePreviousValue
- During a stack update, use the existing parameter value that the
stack is using for a given parameter key. If you specify
true
, do not specify a parameter value.public java.lang.Boolean getUsePreviousValue()
During a stack update, use the existing parameter value that the stack is
using for a given parameter key. If you specify true
, do not
specify a parameter value.
true
, do not specify a parameter value.public Parameter withUsePreviousValue(java.lang.Boolean usePreviousValue)
During a stack update, use the existing parameter value that the stack is
using for a given parameter key. If you specify true
, do not
specify a parameter value.
usePreviousValue
- During a stack update, use the existing parameter value that the
stack is using for a given parameter key. If you specify
true
, do not specify a parameter value.public java.lang.Boolean isUsePreviousValue()
During a stack update, use the existing parameter value that the stack is
using for a given parameter key. If you specify true
, do not
specify a parameter value.
true
, do not specify a parameter value.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Parameter clone()
clone
in class java.lang.Object