@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StopContactRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StopContactRequest() |
Modifier and Type | Method and Description |
---|---|
StopContactRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getContactId()
The ID of the contact.
|
String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
int |
hashCode() |
void |
setContactId(String contactId)
The ID of the contact.
|
void |
setInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
String |
toString()
Returns a string representation of this object.
|
StopContactRequest |
withContactId(String contactId)
The ID of the contact.
|
StopContactRequest |
withInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
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 ID of the contact.
contactId
- The ID of the contact.public String getContactId()
The ID of the contact.
public StopContactRequest withContactId(String contactId)
The ID of the contact.
contactId
- The ID of the contact.public void setInstanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
instanceId
- The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.public String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
public StopContactRequest withInstanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
instanceId
- The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.public String toString()
toString
in class Object
Object.toString()
public StopContactRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()