@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateCaseRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateCaseRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateCaseRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCaseId()
A unique identifier of the case.
|
String |
getDomainId()
The unique identifier of the Cases domain.
|
List<FieldValue> |
getFields()
An array of objects with
fieldId (matching ListFields/DescribeField) and value union data,
structured identical to CreateCase . |
UserUnion |
getPerformedBy() |
int |
hashCode() |
void |
setCaseId(String caseId)
A unique identifier of the case.
|
void |
setDomainId(String domainId)
The unique identifier of the Cases domain.
|
void |
setFields(Collection<FieldValue> fields)
An array of objects with
fieldId (matching ListFields/DescribeField) and value union data,
structured identical to CreateCase . |
void |
setPerformedBy(UserUnion performedBy) |
String |
toString()
Returns a string representation of this object.
|
UpdateCaseRequest |
withCaseId(String caseId)
A unique identifier of the case.
|
UpdateCaseRequest |
withDomainId(String domainId)
The unique identifier of the Cases domain.
|
UpdateCaseRequest |
withFields(Collection<FieldValue> fields)
An array of objects with
fieldId (matching ListFields/DescribeField) and value union data,
structured identical to CreateCase . |
UpdateCaseRequest |
withFields(FieldValue... fields)
An array of objects with
fieldId (matching ListFields/DescribeField) and value union data,
structured identical to CreateCase . |
UpdateCaseRequest |
withPerformedBy(UserUnion performedBy) |
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 setCaseId(String caseId)
A unique identifier of the case.
caseId
- A unique identifier of the case.public String getCaseId()
A unique identifier of the case.
public UpdateCaseRequest withCaseId(String caseId)
A unique identifier of the case.
caseId
- A unique identifier of the case.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 UpdateCaseRequest 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 fieldId
(matching ListFields/DescribeField) and value union data,
structured identical to CreateCase
.
fieldId
(matching ListFields/DescribeField) and value union data,
structured identical to CreateCase
.public void setFields(Collection<FieldValue> fields)
An array of objects with fieldId
(matching ListFields/DescribeField) and value union data,
structured identical to CreateCase
.
fields
- An array of objects with fieldId
(matching ListFields/DescribeField) and value union data,
structured identical to CreateCase
.public UpdateCaseRequest withFields(FieldValue... fields)
An array of objects with fieldId
(matching ListFields/DescribeField) and value union data,
structured identical to CreateCase
.
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 fieldId
(matching ListFields/DescribeField) and value union data,
structured identical to CreateCase
.public UpdateCaseRequest withFields(Collection<FieldValue> fields)
An array of objects with fieldId
(matching ListFields/DescribeField) and value union data,
structured identical to CreateCase
.
fields
- An array of objects with fieldId
(matching ListFields/DescribeField) and value union data,
structured identical to CreateCase
.public void setPerformedBy(UserUnion performedBy)
performedBy
- public UserUnion getPerformedBy()
public UpdateCaseRequest withPerformedBy(UserUnion performedBy)
performedBy
- public String toString()
toString
in class Object
Object.toString()
public UpdateCaseRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()