@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateCaseActionDefinition extends Object implements Serializable, Cloneable, StructuredPojo
The CreateCase action definition.
| Constructor and Description |
|---|
CreateCaseActionDefinition() |
| Modifier and Type | Method and Description |
|---|---|
CreateCaseActionDefinition |
clone() |
boolean |
equals(Object obj) |
List<FieldValue> |
getFields()
An array of objects with
Field ID and Value data. |
String |
getTemplateId()
A unique identifier of a template.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setFields(Collection<FieldValue> fields)
An array of objects with
Field ID and Value data. |
void |
setTemplateId(String templateId)
A unique identifier of a template.
|
String |
toString()
Returns a string representation of this object.
|
CreateCaseActionDefinition |
withFields(Collection<FieldValue> fields)
An array of objects with
Field ID and Value data. |
CreateCaseActionDefinition |
withFields(FieldValue... fields)
An array of objects with
Field ID and Value data. |
CreateCaseActionDefinition |
withTemplateId(String templateId)
A unique identifier of a template.
|
public List<FieldValue> getFields()
An array of objects with Field ID and Value data.
Field ID and Value data.public void setFields(Collection<FieldValue> fields)
An array of objects with Field ID and Value data.
fields - An array of objects with Field ID and Value data.public CreateCaseActionDefinition withFields(FieldValue... fields)
An array of objects with Field ID and Value data.
NOTE: This method appends the values to the existing list (if any). Use
setFields(java.util.Collection) or withFields(java.util.Collection) if you want to override the
existing values.
fields - An array of objects with Field ID and Value data.public CreateCaseActionDefinition withFields(Collection<FieldValue> fields)
An array of objects with Field ID and Value data.
fields - An array of objects with Field ID and Value data.public void setTemplateId(String templateId)
A unique identifier of a template.
templateId - A unique identifier of a template.public String getTemplateId()
A unique identifier of a template.
public CreateCaseActionDefinition withTemplateId(String templateId)
A unique identifier of a template.
templateId - A unique identifier of a template.public String toString()
toString in class ObjectObject.toString()public CreateCaseActionDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.