@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartEngagementRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartEngagementRequest() |
Modifier and Type | Method and Description |
---|---|
StartEngagementRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getContactId()
The Amazon Resource Name (ARN) of the contact being engaged.
|
String |
getContent()
The secure content of the message that was sent to the contact.
|
String |
getIdempotencyToken()
A token ensuring that the operation is called only once with the specified details.
|
String |
getIncidentId()
The ARN of the incident that the engagement is part of.
|
String |
getPublicContent()
The insecure content of the message that was sent to the contact.
|
String |
getPublicSubject()
The insecure subject of the message that was sent to the contact.
|
String |
getSender()
The user that started the engagement.
|
String |
getSubject()
The secure subject of the message that was sent to the contact.
|
int |
hashCode() |
void |
setContactId(String contactId)
The Amazon Resource Name (ARN) of the contact being engaged.
|
void |
setContent(String content)
The secure content of the message that was sent to the contact.
|
void |
setIdempotencyToken(String idempotencyToken)
A token ensuring that the operation is called only once with the specified details.
|
void |
setIncidentId(String incidentId)
The ARN of the incident that the engagement is part of.
|
void |
setPublicContent(String publicContent)
The insecure content of the message that was sent to the contact.
|
void |
setPublicSubject(String publicSubject)
The insecure subject of the message that was sent to the contact.
|
void |
setSender(String sender)
The user that started the engagement.
|
void |
setSubject(String subject)
The secure subject of the message that was sent to the contact.
|
String |
toString()
Returns a string representation of this object.
|
StartEngagementRequest |
withContactId(String contactId)
The Amazon Resource Name (ARN) of the contact being engaged.
|
StartEngagementRequest |
withContent(String content)
The secure content of the message that was sent to the contact.
|
StartEngagementRequest |
withIdempotencyToken(String idempotencyToken)
A token ensuring that the operation is called only once with the specified details.
|
StartEngagementRequest |
withIncidentId(String incidentId)
The ARN of the incident that the engagement is part of.
|
StartEngagementRequest |
withPublicContent(String publicContent)
The insecure content of the message that was sent to the contact.
|
StartEngagementRequest |
withPublicSubject(String publicSubject)
The insecure subject of the message that was sent to the contact.
|
StartEngagementRequest |
withSender(String sender)
The user that started the engagement.
|
StartEngagementRequest |
withSubject(String subject)
The secure subject of the message that was sent to the contact.
|
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 setContactId(String contactId)
The Amazon Resource Name (ARN) of the contact being engaged.
contactId
- The Amazon Resource Name (ARN) of the contact being engaged.public String getContactId()
The Amazon Resource Name (ARN) of the contact being engaged.
public StartEngagementRequest withContactId(String contactId)
The Amazon Resource Name (ARN) of the contact being engaged.
contactId
- The Amazon Resource Name (ARN) of the contact being engaged.public void setSender(String sender)
The user that started the engagement.
sender
- The user that started the engagement.public String getSender()
The user that started the engagement.
public StartEngagementRequest withSender(String sender)
The user that started the engagement.
sender
- The user that started the engagement.public void setSubject(String subject)
The secure subject of the message that was sent to the contact. Use this field for engagements to
VOICE
or EMAIL
.
subject
- The secure subject of the message that was sent to the contact. Use this field for engagements to
VOICE
or EMAIL
.public String getSubject()
The secure subject of the message that was sent to the contact. Use this field for engagements to
VOICE
or EMAIL
.
VOICE
or EMAIL
.public StartEngagementRequest withSubject(String subject)
The secure subject of the message that was sent to the contact. Use this field for engagements to
VOICE
or EMAIL
.
subject
- The secure subject of the message that was sent to the contact. Use this field for engagements to
VOICE
or EMAIL
.public void setContent(String content)
The secure content of the message that was sent to the contact. Use this field for engagements to
VOICE
or EMAIL
.
content
- The secure content of the message that was sent to the contact. Use this field for engagements to
VOICE
or EMAIL
.public String getContent()
The secure content of the message that was sent to the contact. Use this field for engagements to
VOICE
or EMAIL
.
VOICE
or EMAIL
.public StartEngagementRequest withContent(String content)
The secure content of the message that was sent to the contact. Use this field for engagements to
VOICE
or EMAIL
.
content
- The secure content of the message that was sent to the contact. Use this field for engagements to
VOICE
or EMAIL
.public void setPublicSubject(String publicSubject)
The insecure subject of the message that was sent to the contact. Use this field for engagements to
SMS
.
publicSubject
- The insecure subject of the message that was sent to the contact. Use this field for engagements to
SMS
.public String getPublicSubject()
The insecure subject of the message that was sent to the contact. Use this field for engagements to
SMS
.
SMS
.public StartEngagementRequest withPublicSubject(String publicSubject)
The insecure subject of the message that was sent to the contact. Use this field for engagements to
SMS
.
publicSubject
- The insecure subject of the message that was sent to the contact. Use this field for engagements to
SMS
.public void setPublicContent(String publicContent)
The insecure content of the message that was sent to the contact. Use this field for engagements to
SMS
.
publicContent
- The insecure content of the message that was sent to the contact. Use this field for engagements to
SMS
.public String getPublicContent()
The insecure content of the message that was sent to the contact. Use this field for engagements to
SMS
.
SMS
.public StartEngagementRequest withPublicContent(String publicContent)
The insecure content of the message that was sent to the contact. Use this field for engagements to
SMS
.
publicContent
- The insecure content of the message that was sent to the contact. Use this field for engagements to
SMS
.public void setIncidentId(String incidentId)
The ARN of the incident that the engagement is part of.
incidentId
- The ARN of the incident that the engagement is part of.public String getIncidentId()
The ARN of the incident that the engagement is part of.
public StartEngagementRequest withIncidentId(String incidentId)
The ARN of the incident that the engagement is part of.
incidentId
- The ARN of the incident that the engagement is part of.public void setIdempotencyToken(String idempotencyToken)
A token ensuring that the operation is called only once with the specified details.
idempotencyToken
- A token ensuring that the operation is called only once with the specified details.public String getIdempotencyToken()
A token ensuring that the operation is called only once with the specified details.
public StartEngagementRequest withIdempotencyToken(String idempotencyToken)
A token ensuring that the operation is called only once with the specified details.
idempotencyToken
- A token ensuring that the operation is called only once with the specified details.public String toString()
toString
in class Object
Object.toString()
public StartEngagementRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()