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 TemplateParameterclone()booleanequals(Object obj)StringgetDefaultValue()The default value associated with the parameter.StringgetDescription()User defined description associated with the parameter.BooleangetNoEcho()Flag indicating whether the parameter should be displayed as plain text in logs and UIs.StringgetParameterKey()The name associated with the parameter.inthashCode()BooleanisNoEcho()Flag indicating whether the parameter should be displayed as plain text in logs and UIs.voidsetDefaultValue(String defaultValue)The default value associated with the parameter.voidsetDescription(String description)User defined description associated with the parameter.voidsetNoEcho(Boolean noEcho)Flag indicating whether the parameter should be displayed as plain text in logs and UIs.voidsetParameterKey(String parameterKey)The name associated with the parameter.StringtoString()Returns a string representation of this object; useful for testing and debugging.TemplateParameterwithDefaultValue(String defaultValue)The default value associated with the parameter.TemplateParameterwithDescription(String description)User defined description associated with the parameter.TemplateParameterwithNoEcho(Boolean noEcho)Flag indicating whether the parameter should be displayed as plain text in logs and UIs.TemplateParameterwithParameterKey(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public TemplateParameter clone()
-
-