Class TemplateParameter
- java.lang.Object
-
- com.amazonaws.services.cloudformation.model.TemplateParameter
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class TemplateParameter extends Object implements Serializable, Cloneable
The TemplateParameter data type.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TemplateParameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TemplateParameter
clone()
boolean
equals(Object obj)
String
getDefaultValue()
The default value associated with the parameter.String
getDescription()
User defined description associated with the parameter.Boolean
getNoEcho()
Flag indicating whether the parameter should be displayed as plain text in logs and UIs.String
getParameterKey()
The name associated with the parameter.int
hashCode()
Boolean
isNoEcho()
Flag indicating whether the parameter should be displayed as plain text in logs and UIs.void
setDefaultValue(String defaultValue)
The default value associated with the parameter.void
setDescription(String description)
User defined description associated with the parameter.void
setNoEcho(Boolean noEcho)
Flag indicating whether the parameter should be displayed as plain text in logs and UIs.void
setParameterKey(String parameterKey)
The name associated with the parameter.String
toString()
Returns a string representation of this object; useful for testing and debugging.TemplateParameter
withDefaultValue(String defaultValue)
The default value associated with the parameter.TemplateParameter
withDescription(String description)
User defined description associated with the parameter.TemplateParameter
withNoEcho(Boolean noEcho)
Flag indicating whether the parameter should be displayed as plain text in logs and UIs.TemplateParameter
withParameterKey(String parameterKey)
The name associated with the parameter.
-
-
-
Method Detail
-
setParameterKey
public void setParameterKey(String parameterKey)
The name associated with the parameter.
- Parameters:
parameterKey
- The name associated with the parameter.
-
getParameterKey
public String getParameterKey()
The name associated with the parameter.
- Returns:
- The name associated with the parameter.
-
withParameterKey
public TemplateParameter withParameterKey(String parameterKey)
The name associated with the parameter.
- Parameters:
parameterKey
- The name associated with the parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDefaultValue
public void setDefaultValue(String defaultValue)
The default value associated with the parameter.
- Parameters:
defaultValue
- The default value associated with the parameter.
-
getDefaultValue
public String getDefaultValue()
The default value associated with the parameter.
- Returns:
- The default value associated with the parameter.
-
withDefaultValue
public TemplateParameter withDefaultValue(String defaultValue)
The default value associated with the parameter.
- Parameters:
defaultValue
- The default value associated with the parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNoEcho
public void setNoEcho(Boolean noEcho)
Flag indicating whether the parameter should be displayed as plain text in logs and UIs.
- Parameters:
noEcho
- Flag indicating whether the parameter should be displayed as plain text in logs and UIs.
-
getNoEcho
public Boolean getNoEcho()
Flag indicating whether the parameter should be displayed as plain text in logs and UIs.
- Returns:
- Flag indicating whether the parameter should be displayed as plain text in logs and UIs.
-
withNoEcho
public TemplateParameter withNoEcho(Boolean noEcho)
Flag indicating whether the parameter should be displayed as plain text in logs and UIs.
- Parameters:
noEcho
- Flag indicating whether the parameter should be displayed as plain text in logs and UIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isNoEcho
public Boolean isNoEcho()
Flag indicating whether the parameter should be displayed as plain text in logs and UIs.
- Returns:
- Flag indicating whether the parameter should be displayed as plain text in logs and UIs.
-
setDescription
public void setDescription(String description)
User defined description associated with the parameter.
- Parameters:
description
- User defined description associated with the parameter.
-
getDescription
public String getDescription()
User defined description associated with the parameter.
- Returns:
- User defined description associated with the parameter.
-
withDescription
public TemplateParameter withDescription(String description)
User defined description associated with the parameter.
- Parameters:
description
- User defined description associated with the parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public TemplateParameter clone()
-
-