@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TemplateInput extends Object implements Serializable, Cloneable, StructuredPojo
The input parameters of a template.
Constructor and Description |
---|
TemplateInput() |
Modifier and Type | Method and Description |
---|---|
TemplateInput |
clone() |
boolean |
equals(Object obj) |
String |
getDataType()
The data type of the template input.
|
String |
getInputName()
The name of the template.
|
Boolean |
getRequired()
Determine if an input is required from the template.
|
int |
hashCode() |
Boolean |
isRequired()
Determine if an input is required from the template.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDataType(String dataType)
The data type of the template input.
|
void |
setInputName(String inputName)
The name of the template.
|
void |
setRequired(Boolean required)
Determine if an input is required from the template.
|
String |
toString()
Returns a string representation of this object.
|
TemplateInput |
withDataType(DataType dataType)
The data type of the template input.
|
TemplateInput |
withDataType(String dataType)
The data type of the template input.
|
TemplateInput |
withInputName(String inputName)
The name of the template.
|
TemplateInput |
withRequired(Boolean required)
Determine if an input is required from the template.
|
public void setInputName(String inputName)
The name of the template.
inputName
- The name of the template.public String getInputName()
The name of the template.
public TemplateInput withInputName(String inputName)
The name of the template.
inputName
- The name of the template.public void setDataType(String dataType)
The data type of the template input.
dataType
- The data type of the template input.DataType
public String getDataType()
The data type of the template input.
DataType
public TemplateInput withDataType(String dataType)
The data type of the template input.
dataType
- The data type of the template input.DataType
public TemplateInput withDataType(DataType dataType)
The data type of the template input.
dataType
- The data type of the template input.DataType
public void setRequired(Boolean required)
Determine if an input is required from the template.
required
- Determine if an input is required from the template.public Boolean getRequired()
Determine if an input is required from the template.
public TemplateInput withRequired(Boolean required)
Determine if an input is required from the template.
required
- Determine if an input is required from the template.public Boolean isRequired()
Determine if an input is required from the template.
public String toString()
toString
in class Object
Object.toString()
public TemplateInput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.