@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UnsubscribeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UnsubscribeRequest() |
| Modifier and Type | Method and Description |
|---|---|
UnsubscribeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the notification rule.
|
String |
getTargetAddress()
The ARN of the Chatbot topic to unsubscribe from the notification rule.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the notification rule.
|
void |
setTargetAddress(String targetAddress)
The ARN of the Chatbot topic to unsubscribe from the notification rule.
|
String |
toString()
Returns a string representation of this object.
|
UnsubscribeRequest |
withArn(String arn)
The Amazon Resource Name (ARN) of the notification rule.
|
UnsubscribeRequest |
withTargetAddress(String targetAddress)
The ARN of the Chatbot topic to unsubscribe from the notification rule.
|
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 setArn(String arn)
The Amazon Resource Name (ARN) of the notification rule.
arn - The Amazon Resource Name (ARN) of the notification rule.public String getArn()
The Amazon Resource Name (ARN) of the notification rule.
public UnsubscribeRequest withArn(String arn)
The Amazon Resource Name (ARN) of the notification rule.
arn - The Amazon Resource Name (ARN) of the notification rule.public void setTargetAddress(String targetAddress)
The ARN of the Chatbot topic to unsubscribe from the notification rule.
targetAddress - The ARN of the Chatbot topic to unsubscribe from the notification rule.public String getTargetAddress()
The ARN of the Chatbot topic to unsubscribe from the notification rule.
public UnsubscribeRequest withTargetAddress(String targetAddress)
The ARN of the Chatbot topic to unsubscribe from the notification rule.
targetAddress - The ARN of the Chatbot topic to unsubscribe from the notification rule.public String toString()
toString in class ObjectObject.toString()public UnsubscribeRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()