public class TemplateParameter
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The TemplateParameter data type.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
defaultValue
The default value associated with the parameter.
|
private java.lang.String |
description
User defined description associated with the parameter.
|
private java.lang.Boolean |
noEcho
Flag indicating whether the parameter should be displayed as plain text
in logs and UIs.
|
private java.lang.String |
parameterKey
The name associated with the parameter.
|
Constructor and Description |
---|
TemplateParameter() |
Modifier and Type | Method and Description |
---|---|
TemplateParameter |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDefaultValue()
The default value associated with the parameter.
|
java.lang.String |
getDescription()
User defined description associated with the parameter.
|
java.lang.Boolean |
getNoEcho()
Flag indicating whether the parameter should be displayed as plain text
in logs and UIs.
|
java.lang.String |
getParameterKey()
The name associated with the parameter.
|
int |
hashCode() |
java.lang.Boolean |
isNoEcho()
Flag indicating whether the parameter should be displayed as plain text
in logs and UIs.
|
void |
setDefaultValue(java.lang.String defaultValue)
The default value associated with the parameter.
|
void |
setDescription(java.lang.String description)
User defined description associated with the parameter.
|
void |
setNoEcho(java.lang.Boolean noEcho)
Flag indicating whether the parameter should be displayed as plain text
in logs and UIs.
|
void |
setParameterKey(java.lang.String parameterKey)
The name associated with the parameter.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TemplateParameter |
withDefaultValue(java.lang.String defaultValue)
The default value associated with the parameter.
|
TemplateParameter |
withDescription(java.lang.String description)
User defined description associated with the parameter.
|
TemplateParameter |
withNoEcho(java.lang.Boolean noEcho)
Flag indicating whether the parameter should be displayed as plain text
in logs and UIs.
|
TemplateParameter |
withParameterKey(java.lang.String parameterKey)
The name associated with the parameter.
|
private java.lang.String parameterKey
The name associated with the parameter.
private java.lang.String defaultValue
The default value associated with the parameter.
private java.lang.Boolean noEcho
Flag indicating whether the parameter should be displayed as plain text in logs and UIs.
private java.lang.String description
User defined description associated with the parameter.
public void setParameterKey(java.lang.String parameterKey)
The name associated with the parameter.
parameterKey
- The name associated with the parameter.public java.lang.String getParameterKey()
The name associated with the parameter.
public TemplateParameter withParameterKey(java.lang.String parameterKey)
The name associated with the parameter.
parameterKey
- The name associated with the parameter.public void setDefaultValue(java.lang.String defaultValue)
The default value associated with the parameter.
defaultValue
- The default value associated with the parameter.public java.lang.String getDefaultValue()
The default value associated with the parameter.
public TemplateParameter withDefaultValue(java.lang.String defaultValue)
The default value associated with the parameter.
defaultValue
- The default value associated with the parameter.public void setNoEcho(java.lang.Boolean noEcho)
Flag indicating whether the parameter should be displayed as plain text in logs and UIs.
noEcho
- Flag indicating whether the parameter should be displayed as plain
text in logs and UIs.public java.lang.Boolean getNoEcho()
Flag indicating whether the parameter should be displayed as plain text in logs and UIs.
public TemplateParameter withNoEcho(java.lang.Boolean noEcho)
Flag indicating whether the parameter should be displayed as plain text in logs and UIs.
noEcho
- Flag indicating whether the parameter should be displayed as plain
text in logs and UIs.public java.lang.Boolean isNoEcho()
Flag indicating whether the parameter should be displayed as plain text in logs and UIs.
public void setDescription(java.lang.String description)
User defined description associated with the parameter.
description
- User defined description associated with the parameter.public java.lang.String getDescription()
User defined description associated with the parameter.
public TemplateParameter withDescription(java.lang.String description)
User defined description associated with the parameter.
description
- User defined description associated with the parameter.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public TemplateParameter clone()
clone
in class java.lang.Object