public class UnsubscribeFromEventRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
event
The event for which you want to stop receiving SNS notifications.
|
private java.lang.String |
resourceArn
The ARN of the assessment template that is used during the event for
which you want to stop receiving SNS notifications.
|
private java.lang.String |
topicArn
The ARN of the SNS topic to which SNS notifications are sent.
|
NOOP
Constructor and Description |
---|
UnsubscribeFromEventRequest() |
Modifier and Type | Method and Description |
---|---|
UnsubscribeFromEventRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getEvent()
The event for which you want to stop receiving SNS notifications.
|
java.lang.String |
getResourceArn()
The ARN of the assessment template that is used during the event for
which you want to stop receiving SNS notifications.
|
java.lang.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(java.lang.String event)
The event for which you want to stop receiving SNS notifications.
|
void |
setResourceArn(java.lang.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(java.lang.String topicArn)
The ARN of the SNS topic to which SNS notifications are sent.
|
java.lang.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(java.lang.String event)
The event for which you want to stop receiving SNS notifications.
|
UnsubscribeFromEventRequest |
withResourceArn(java.lang.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(java.lang.String topicArn)
The ARN of the SNS topic to which SNS notifications are sent.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String resourceArn
The ARN of the assessment template that is used during the event for which you want to stop receiving SNS notifications.
private java.lang.String event
The event for which you want to stop receiving SNS notifications.
private java.lang.String topicArn
The ARN of the SNS topic to which SNS notifications are sent.
public void setResourceArn(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.String getEvent()
The event for which you want to stop receiving SNS notifications.
InspectorEvent
public UnsubscribeFromEventRequest withEvent(java.lang.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(java.lang.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 java.lang.String getTopicArn()
The ARN of the SNS topic to which SNS notifications are sent.
public UnsubscribeFromEventRequest withTopicArn(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public UnsubscribeFromEventRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()