@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TaskTemplateConstraints extends Object implements Serializable, Cloneable, StructuredPojo
Describes constraints that apply to the template fields.
| Constructor and Description |
|---|
TaskTemplateConstraints() |
| Modifier and Type | Method and Description |
|---|---|
TaskTemplateConstraints |
clone() |
boolean |
equals(Object obj) |
List<InvisibleFieldInfo> |
getInvisibleFields()
Lists the fields that are invisible to agents.
|
List<ReadOnlyFieldInfo> |
getReadOnlyFields()
Lists the fields that are read-only to agents, and cannot be edited.
|
List<RequiredFieldInfo> |
getRequiredFields()
Lists the fields that are required to be filled by agents.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setInvisibleFields(Collection<InvisibleFieldInfo> invisibleFields)
Lists the fields that are invisible to agents.
|
void |
setReadOnlyFields(Collection<ReadOnlyFieldInfo> readOnlyFields)
Lists the fields that are read-only to agents, and cannot be edited.
|
void |
setRequiredFields(Collection<RequiredFieldInfo> requiredFields)
Lists the fields that are required to be filled by agents.
|
String |
toString()
Returns a string representation of this object.
|
TaskTemplateConstraints |
withInvisibleFields(Collection<InvisibleFieldInfo> invisibleFields)
Lists the fields that are invisible to agents.
|
TaskTemplateConstraints |
withInvisibleFields(InvisibleFieldInfo... invisibleFields)
Lists the fields that are invisible to agents.
|
TaskTemplateConstraints |
withReadOnlyFields(Collection<ReadOnlyFieldInfo> readOnlyFields)
Lists the fields that are read-only to agents, and cannot be edited.
|
TaskTemplateConstraints |
withReadOnlyFields(ReadOnlyFieldInfo... readOnlyFields)
Lists the fields that are read-only to agents, and cannot be edited.
|
TaskTemplateConstraints |
withRequiredFields(Collection<RequiredFieldInfo> requiredFields)
Lists the fields that are required to be filled by agents.
|
TaskTemplateConstraints |
withRequiredFields(RequiredFieldInfo... requiredFields)
Lists the fields that are required to be filled by agents.
|
public List<RequiredFieldInfo> getRequiredFields()
Lists the fields that are required to be filled by agents.
public void setRequiredFields(Collection<RequiredFieldInfo> requiredFields)
Lists the fields that are required to be filled by agents.
requiredFields - Lists the fields that are required to be filled by agents.public TaskTemplateConstraints withRequiredFields(RequiredFieldInfo... requiredFields)
Lists the fields that are required to be filled by agents.
NOTE: This method appends the values to the existing list (if any). Use
setRequiredFields(java.util.Collection) or withRequiredFields(java.util.Collection) if you want
to override the existing values.
requiredFields - Lists the fields that are required to be filled by agents.public TaskTemplateConstraints withRequiredFields(Collection<RequiredFieldInfo> requiredFields)
Lists the fields that are required to be filled by agents.
requiredFields - Lists the fields that are required to be filled by agents.public List<ReadOnlyFieldInfo> getReadOnlyFields()
Lists the fields that are read-only to agents, and cannot be edited.
public void setReadOnlyFields(Collection<ReadOnlyFieldInfo> readOnlyFields)
Lists the fields that are read-only to agents, and cannot be edited.
readOnlyFields - Lists the fields that are read-only to agents, and cannot be edited.public TaskTemplateConstraints withReadOnlyFields(ReadOnlyFieldInfo... readOnlyFields)
Lists the fields that are read-only to agents, and cannot be edited.
NOTE: This method appends the values to the existing list (if any). Use
setReadOnlyFields(java.util.Collection) or withReadOnlyFields(java.util.Collection) if you want
to override the existing values.
readOnlyFields - Lists the fields that are read-only to agents, and cannot be edited.public TaskTemplateConstraints withReadOnlyFields(Collection<ReadOnlyFieldInfo> readOnlyFields)
Lists the fields that are read-only to agents, and cannot be edited.
readOnlyFields - Lists the fields that are read-only to agents, and cannot be edited.public List<InvisibleFieldInfo> getInvisibleFields()
Lists the fields that are invisible to agents.
public void setInvisibleFields(Collection<InvisibleFieldInfo> invisibleFields)
Lists the fields that are invisible to agents.
invisibleFields - Lists the fields that are invisible to agents.public TaskTemplateConstraints withInvisibleFields(InvisibleFieldInfo... invisibleFields)
Lists the fields that are invisible to agents.
NOTE: This method appends the values to the existing list (if any). Use
setInvisibleFields(java.util.Collection) or withInvisibleFields(java.util.Collection) if you
want to override the existing values.
invisibleFields - Lists the fields that are invisible to agents.public TaskTemplateConstraints withInvisibleFields(Collection<InvisibleFieldInfo> invisibleFields)
Lists the fields that are invisible to agents.
invisibleFields - Lists the fields that are invisible to agents.public String toString()
toString in class ObjectObject.toString()public TaskTemplateConstraints clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.