@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateCaseRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateCaseRequest() |
Modifier and Type | Method and Description |
---|---|
CreateCaseRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getDomainId()
The unique identifier of the Cases domain.
|
List<FieldValue> |
getFields()
An array of objects with field ID (matching ListFields/DescribeField) and value union data.
|
String |
getTemplateId()
A unique identifier of a template.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setDomainId(String domainId)
The unique identifier of the Cases domain.
|
void |
setFields(Collection<FieldValue> fields)
An array of objects with field ID (matching ListFields/DescribeField) and value union data.
|
void |
setTemplateId(String templateId)
A unique identifier of a template.
|
String |
toString()
Returns a string representation of this object.
|
CreateCaseRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateCaseRequest |
withDomainId(String domainId)
The unique identifier of the Cases domain.
|
CreateCaseRequest |
withFields(Collection<FieldValue> fields)
An array of objects with field ID (matching ListFields/DescribeField) and value union data.
|
CreateCaseRequest |
withFields(FieldValue... fields)
An array of objects with field ID (matching ListFields/DescribeField) and value union data.
|
CreateCaseRequest |
withTemplateId(String templateId)
A unique identifier of a template.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public String getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public CreateCaseRequest withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public void setDomainId(String domainId)
The unique identifier of the Cases domain.
domainId
- The unique identifier of the Cases domain.public String getDomainId()
The unique identifier of the Cases domain.
public CreateCaseRequest withDomainId(String domainId)
The unique identifier of the Cases domain.
domainId
- The unique identifier of the Cases domain.public List<FieldValue> getFields()
An array of objects with field ID (matching ListFields/DescribeField) and value union data.
public void setFields(Collection<FieldValue> fields)
An array of objects with field ID (matching ListFields/DescribeField) and value union data.
fields
- An array of objects with field ID (matching ListFields/DescribeField) and value union data.public CreateCaseRequest withFields(FieldValue... fields)
An array of objects with field ID (matching ListFields/DescribeField) and value union 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 (matching ListFields/DescribeField) and value union data.public CreateCaseRequest withFields(Collection<FieldValue> fields)
An array of objects with field ID (matching ListFields/DescribeField) and value union data.
fields
- An array of objects with field ID (matching ListFields/DescribeField) and value union 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 CreateCaseRequest withTemplateId(String templateId)
A unique identifier of a template.
templateId
- A unique identifier of a template.public String toString()
toString
in class Object
Object.toString()
public CreateCaseRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()