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 request.
|
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; useful for testing and
debugging.
|
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.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public 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.InspectorEvent
public String getEvent()
The event for which you want to stop receiving SNS notifications.
InspectorEvent
public 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.InspectorEvent
public 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.InspectorEvent
public 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.InspectorEvent
public 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 Object
Object.toString()
public UnsubscribeFromEventRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.