@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UnsubscribeFromEventRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UnsubscribeFromEventRequest() |
| Modifier and Type | Method and Description |
|---|---|
UnsubscribeFromEventRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getEvent()
The event for which you want to stop receiving SNS notifications.
|
String |
getResourceArn()
The ARN of the assessment template that is used during the event for which you want to stop receiving SNS
notifications.
|
String |
getTopicArn()
The ARN of the SNS topic to which SNS notifications are sent.
|
int |
hashCode() |
void |
setEvent(InspectorEvent event)
The event for which you want to stop receiving SNS notifications.
|
void |
setEvent(String event)
The event for which you want to stop receiving SNS notifications.
|
void |
setResourceArn(String resourceArn)
The ARN of the assessment template that is used during the event for which you want to stop receiving SNS
notifications.
|
void |
setTopicArn(String topicArn)
The ARN of the SNS topic to which SNS notifications are sent.
|
String |
toString()
Returns a string representation of this object.
|
UnsubscribeFromEventRequest |
withEvent(InspectorEvent event)
The event for which you want to stop receiving SNS notifications.
|
UnsubscribeFromEventRequest |
withEvent(String event)
The event for which you want to stop receiving SNS notifications.
|
UnsubscribeFromEventRequest |
withResourceArn(String resourceArn)
The ARN of the assessment template that is used during the event for which you want to stop receiving SNS
notifications.
|
UnsubscribeFromEventRequest |
withTopicArn(String topicArn)
The ARN of the SNS topic to which SNS notifications are sent.
|
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 setResourceArn(String resourceArn)
The ARN of the assessment template that is used during the event for which you want to stop receiving SNS notifications.
resourceArn - The ARN of the assessment template that is used during the event for which you want to stop receiving SNS
notifications.public String getResourceArn()
The ARN of the assessment template that is used during the event for which you want to stop receiving SNS notifications.
public UnsubscribeFromEventRequest withResourceArn(String resourceArn)
The ARN of the assessment template that is used during the event for which you want to stop receiving SNS notifications.
resourceArn - The ARN of the assessment template that is used during the event for which you want to stop receiving SNS
notifications.public void setEvent(String event)
The event for which you want to stop receiving SNS notifications.
event - The event for which you want to stop receiving SNS notifications.InspectorEventpublic String getEvent()
The event for which you want to stop receiving SNS notifications.
InspectorEventpublic UnsubscribeFromEventRequest withEvent(String event)
The event for which you want to stop receiving SNS notifications.
event - The event for which you want to stop receiving SNS notifications.InspectorEventpublic void setEvent(InspectorEvent event)
The event for which you want to stop receiving SNS notifications.
event - The event for which you want to stop receiving SNS notifications.InspectorEventpublic UnsubscribeFromEventRequest withEvent(InspectorEvent event)
The event for which you want to stop receiving SNS notifications.
event - The event for which you want to stop receiving SNS notifications.InspectorEventpublic void setTopicArn(String topicArn)
The ARN of the SNS topic to which SNS notifications are sent.
topicArn - The ARN of the SNS topic to which SNS notifications are sent.public String getTopicArn()
The ARN of the SNS topic to which SNS notifications are sent.
public UnsubscribeFromEventRequest withTopicArn(String topicArn)
The ARN of the SNS topic to which SNS notifications are sent.
topicArn - The ARN of the SNS topic to which SNS notifications are sent.public String toString()
toString in class ObjectObject.toString()public UnsubscribeFromEventRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()