@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TaskTemplateDefaults extends Object implements Serializable, Cloneable, StructuredPojo
Describes default values for fields on a template.
Constructor and Description |
---|
TaskTemplateDefaults() |
Modifier and Type | Method and Description |
---|---|
TaskTemplateDefaults |
clone() |
boolean |
equals(Object obj) |
List<TaskTemplateDefaultFieldValue> |
getDefaultFieldValues()
Default value for the field.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDefaultFieldValues(Collection<TaskTemplateDefaultFieldValue> defaultFieldValues)
Default value for the field.
|
String |
toString()
Returns a string representation of this object.
|
TaskTemplateDefaults |
withDefaultFieldValues(Collection<TaskTemplateDefaultFieldValue> defaultFieldValues)
Default value for the field.
|
TaskTemplateDefaults |
withDefaultFieldValues(TaskTemplateDefaultFieldValue... defaultFieldValues)
Default value for the field.
|
public List<TaskTemplateDefaultFieldValue> getDefaultFieldValues()
Default value for the field.
public void setDefaultFieldValues(Collection<TaskTemplateDefaultFieldValue> defaultFieldValues)
Default value for the field.
defaultFieldValues
- Default value for the field.public TaskTemplateDefaults withDefaultFieldValues(TaskTemplateDefaultFieldValue... defaultFieldValues)
Default value for the field.
NOTE: This method appends the values to the existing list (if any). Use
setDefaultFieldValues(java.util.Collection)
or withDefaultFieldValues(java.util.Collection)
if
you want to override the existing values.
defaultFieldValues
- Default value for the field.public TaskTemplateDefaults withDefaultFieldValues(Collection<TaskTemplateDefaultFieldValue> defaultFieldValues)
Default value for the field.
defaultFieldValues
- Default value for the field.public String toString()
toString
in class Object
Object.toString()
public TaskTemplateDefaults clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.