Class Parameter
- All Implemented Interfaces:
Serializable
,Cloneable
The Parameter data type.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The key associated with the parameter.The value associated with the parameter.During a stack update, use the existing parameter value that the stack is using for a given parameter key.int
hashCode()
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.toString()
Returns a string representation of this object; useful for testing and debugging.withParameterKey
(String parameterKey) The key associated with the parameter.withParameterValue
(String parameterValue) The value associated with the parameter.withUsePreviousValue
(Boolean usePreviousValue) During a stack update, use the existing parameter value that the stack is using for a given parameter key.
-
Constructor Details
-
Parameter
public Parameter()
-
-
Method Details
-
setParameterKey
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withParameterKey
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setParameterValue
The value associated with the parameter.
- Parameters:
parameterValue
- The value associated with the parameter.
-
getParameterValue
The value associated with the parameter.
- Returns:
- The value associated with the parameter.
-
withParameterValue
The value associated with the parameter.
- Parameters:
parameterValue
- The value associated with the parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUsePreviousValue
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.- Parameters:
usePreviousValue
- During a stack update, use the existing parameter value that the stack is using for a given parameter key. If you specifytrue
, do not specify a parameter value.
-
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.- Returns:
- 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.
-
withUsePreviousValue
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.- Parameters:
usePreviousValue
- During a stack update, use the existing parameter value that the stack is using for a given parameter key. If you specifytrue
, do not specify a parameter value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- 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.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-