@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StopEngagementRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
StopEngagementRequest() |
| Modifier and Type | Method and Description |
|---|---|
StopEngagementRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getEngagementId()
The Amazon Resource Name (ARN) of the engagement.
|
String |
getReason()
The reason that you're stopping the engagement.
|
int |
hashCode() |
void |
setEngagementId(String engagementId)
The Amazon Resource Name (ARN) of the engagement.
|
void |
setReason(String reason)
The reason that you're stopping the engagement.
|
String |
toString()
Returns a string representation of this object.
|
StopEngagementRequest |
withEngagementId(String engagementId)
The Amazon Resource Name (ARN) of the engagement.
|
StopEngagementRequest |
withReason(String reason)
The reason that you're stopping the engagement.
|
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, withSdkRequestTimeoutpublic void setEngagementId(String engagementId)
The Amazon Resource Name (ARN) of the engagement.
engagementId - The Amazon Resource Name (ARN) of the engagement.public String getEngagementId()
The Amazon Resource Name (ARN) of the engagement.
public StopEngagementRequest withEngagementId(String engagementId)
The Amazon Resource Name (ARN) of the engagement.
engagementId - The Amazon Resource Name (ARN) of the engagement.public void setReason(String reason)
The reason that you're stopping the engagement.
reason - The reason that you're stopping the engagement.public String getReason()
The reason that you're stopping the engagement.
public StopEngagementRequest withReason(String reason)
The reason that you're stopping the engagement.
reason - The reason that you're stopping the engagement.public String toString()
toString in class ObjectObject.toString()public StopEngagementRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()