@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRelatedItemRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateRelatedItemRequest() |
Modifier and Type | Method and Description |
---|---|
CreateRelatedItemRequest |
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.
|
RelatedItemInputContent |
getContent()
The content of a related item to be created.
|
String |
getDomainId()
The unique identifier of the Cases domain.
|
UserUnion |
getPerformedBy()
Represents the creator of the related item.
|
String |
getType()
The type of a related item.
|
int |
hashCode() |
void |
setCaseId(String caseId)
A unique identifier of the case.
|
void |
setContent(RelatedItemInputContent content)
The content of a related item to be created.
|
void |
setDomainId(String domainId)
The unique identifier of the Cases domain.
|
void |
setPerformedBy(UserUnion performedBy)
Represents the creator of the related item.
|
void |
setType(String type)
The type of a related item.
|
String |
toString()
Returns a string representation of this object.
|
CreateRelatedItemRequest |
withCaseId(String caseId)
A unique identifier of the case.
|
CreateRelatedItemRequest |
withContent(RelatedItemInputContent content)
The content of a related item to be created.
|
CreateRelatedItemRequest |
withDomainId(String domainId)
The unique identifier of the Cases domain.
|
CreateRelatedItemRequest |
withPerformedBy(UserUnion performedBy)
Represents the creator of the related item.
|
CreateRelatedItemRequest |
withType(RelatedItemType type)
The type of a related item.
|
CreateRelatedItemRequest |
withType(String type)
The type of a related item.
|
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 CreateRelatedItemRequest withCaseId(String caseId)
A unique identifier of the case.
caseId
- A unique identifier of the case.public void setContent(RelatedItemInputContent content)
The content of a related item to be created.
content
- The content of a related item to be created.public RelatedItemInputContent getContent()
The content of a related item to be created.
public CreateRelatedItemRequest withContent(RelatedItemInputContent content)
The content of a related item to be created.
content
- The content of a related item to be created.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 CreateRelatedItemRequest withDomainId(String domainId)
The unique identifier of the Cases domain.
domainId
- The unique identifier of the Cases domain.public void setPerformedBy(UserUnion performedBy)
Represents the creator of the related item.
performedBy
- Represents the creator of the related item.public UserUnion getPerformedBy()
Represents the creator of the related item.
public CreateRelatedItemRequest withPerformedBy(UserUnion performedBy)
Represents the creator of the related item.
performedBy
- Represents the creator of the related item.public void setType(String type)
The type of a related item.
type
- The type of a related item.RelatedItemType
public String getType()
The type of a related item.
RelatedItemType
public CreateRelatedItemRequest withType(String type)
The type of a related item.
type
- The type of a related item.RelatedItemType
public CreateRelatedItemRequest withType(RelatedItemType type)
The type of a related item.
type
- The type of a related item.RelatedItemType
public String toString()
toString
in class Object
Object.toString()
public CreateRelatedItemRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()