public class Parameter extends Object implements Serializable, Cloneable
The Parameter data type.
| Constructor and Description |
|---|
Parameter() |
| Modifier and Type | Method and Description |
|---|---|
Parameter |
clone() |
boolean |
equals(Object obj) |
String |
getParameterKey()
The key associated with the parameter.
|
String |
getParameterValue()
The value associated with the parameter.
|
Boolean |
getUsePreviousValue()
During a stack update, use the existing parameter value that the stack is
using for a given parameter key.
|
int |
hashCode() |
Boolean |
isUsePreviousValue()
During a stack update, use the existing parameter value that the stack is
using for a given parameter key.
|
void |
setParameterKey(String parameterKey)
The key associated with the parameter.
|
void |
setParameterValue(String parameterValue)
The value associated with the parameter.
|
void |
setUsePreviousValue(Boolean usePreviousValue)
During a stack update, use the existing parameter value that the stack is
using for a given parameter key.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Parameter |
withParameterKey(String parameterKey)
The key associated with the parameter.
|
Parameter |
withParameterValue(String parameterValue)
The value associated with the parameter.
|
Parameter |
withUsePreviousValue(Boolean usePreviousValue)
During a stack update, use the existing parameter value that the stack is
using for a given parameter key.
|
public void setParameterKey(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 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(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(String parameterValue)
The value associated with the parameter.
parameterValue - The value associated with the parameter.public String getParameterValue()
The value associated with the parameter.
public Parameter withParameterValue(String parameterValue)
The value associated with the parameter.
parameterValue - The value associated with the parameter.public void setUsePreviousValue(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 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(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 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 String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.