Class ParameterDeclaration
- java.lang.Object
-
- com.amazonaws.services.cloudformation.model.ParameterDeclaration
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ParameterDeclaration extends Object implements Serializable, Cloneable
The ParameterDeclaration data type.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ParameterDeclaration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParameterDeclaration
clone()
boolean
equals(Object obj)
String
getDefaultValue()
The default value of the parameter.String
getDescription()
The description that is associate with the parameter.Boolean
getNoEcho()
Flag that indicates whether the parameter value is shown as plain text in logs and in the AWS Management Console.ParameterConstraints
getParameterConstraints()
The criteria that AWS CloudFormation uses to validate parameter values.String
getParameterKey()
The name that is associated with the parameter.String
getParameterType()
The type of parameter.int
hashCode()
Boolean
isNoEcho()
Flag that indicates whether the parameter value is shown as plain text in logs and in the AWS Management Console.void
setDefaultValue(String defaultValue)
The default value of the parameter.void
setDescription(String description)
The description that is associate with the parameter.void
setNoEcho(Boolean noEcho)
Flag that indicates whether the parameter value is shown as plain text in logs and in the AWS Management Console.void
setParameterConstraints(ParameterConstraints parameterConstraints)
The criteria that AWS CloudFormation uses to validate parameter values.void
setParameterKey(String parameterKey)
The name that is associated with the parameter.void
setParameterType(String parameterType)
The type of parameter.String
toString()
Returns a string representation of this object; useful for testing and debugging.ParameterDeclaration
withDefaultValue(String defaultValue)
The default value of the parameter.ParameterDeclaration
withDescription(String description)
The description that is associate with the parameter.ParameterDeclaration
withNoEcho(Boolean noEcho)
Flag that indicates whether the parameter value is shown as plain text in logs and in the AWS Management Console.ParameterDeclaration
withParameterConstraints(ParameterConstraints parameterConstraints)
The criteria that AWS CloudFormation uses to validate parameter values.ParameterDeclaration
withParameterKey(String parameterKey)
The name that is associated with the parameter.ParameterDeclaration
withParameterType(String parameterType)
The type of parameter.
-
-
-
Method Detail
-
setParameterKey
public void setParameterKey(String parameterKey)
The name that is associated with the parameter.
- Parameters:
parameterKey
- The name that is associated with the parameter.
-
getParameterKey
public String getParameterKey()
The name that is associated with the parameter.
- Returns:
- The name that is associated with the parameter.
-
withParameterKey
public ParameterDeclaration withParameterKey(String parameterKey)
The name that is associated with the parameter.
- Parameters:
parameterKey
- The name that is 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 of the parameter.
- Parameters:
defaultValue
- The default value of the parameter.
-
getDefaultValue
public String getDefaultValue()
The default value of the parameter.
- Returns:
- The default value of the parameter.
-
withDefaultValue
public ParameterDeclaration withDefaultValue(String defaultValue)
The default value of the parameter.
- Parameters:
defaultValue
- The default value of the parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setParameterType
public void setParameterType(String parameterType)
The type of parameter.
- Parameters:
parameterType
- The type of parameter.
-
getParameterType
public String getParameterType()
The type of parameter.
- Returns:
- The type of parameter.
-
withParameterType
public ParameterDeclaration withParameterType(String parameterType)
The type of parameter.
- Parameters:
parameterType
- The type of parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNoEcho
public void setNoEcho(Boolean noEcho)
Flag that indicates whether the parameter value is shown as plain text in logs and in the AWS Management Console.
- Parameters:
noEcho
- Flag that indicates whether the parameter value is shown as plain text in logs and in the AWS Management Console.
-
getNoEcho
public Boolean getNoEcho()
Flag that indicates whether the parameter value is shown as plain text in logs and in the AWS Management Console.
- Returns:
- Flag that indicates whether the parameter value is shown as plain text in logs and in the AWS Management Console.
-
withNoEcho
public ParameterDeclaration withNoEcho(Boolean noEcho)
Flag that indicates whether the parameter value is shown as plain text in logs and in the AWS Management Console.
- Parameters:
noEcho
- Flag that indicates whether the parameter value is shown as plain text in logs and in the AWS Management Console.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isNoEcho
public Boolean isNoEcho()
Flag that indicates whether the parameter value is shown as plain text in logs and in the AWS Management Console.
- Returns:
- Flag that indicates whether the parameter value is shown as plain text in logs and in the AWS Management Console.
-
setDescription
public void setDescription(String description)
The description that is associate with the parameter.
- Parameters:
description
- The description that is associate with the parameter.
-
getDescription
public String getDescription()
The description that is associate with the parameter.
- Returns:
- The description that is associate with the parameter.
-
withDescription
public ParameterDeclaration withDescription(String description)
The description that is associate with the parameter.
- Parameters:
description
- The description that is associate with the parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setParameterConstraints
public void setParameterConstraints(ParameterConstraints parameterConstraints)
The criteria that AWS CloudFormation uses to validate parameter values.
- Parameters:
parameterConstraints
- The criteria that AWS CloudFormation uses to validate parameter values.
-
getParameterConstraints
public ParameterConstraints getParameterConstraints()
The criteria that AWS CloudFormation uses to validate parameter values.
- Returns:
- The criteria that AWS CloudFormation uses to validate parameter values.
-
withParameterConstraints
public ParameterDeclaration withParameterConstraints(ParameterConstraints parameterConstraints)
The criteria that AWS CloudFormation uses to validate parameter values.
- Parameters:
parameterConstraints
- The criteria that AWS CloudFormation uses to validate parameter values.- 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 ParameterDeclaration clone()
-
-