Class UnsubscribeFromEventRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
getEvent()
The event for which you want to stop receiving SNS notifications.The ARN of the assessment template that is used during the event for which you want to stop receiving SNS notifications.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
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.toString()
Returns a string representation of this object; useful for testing and debugging.withEvent
(InspectorEvent event) The event for which you want to stop receiving SNS notifications.The event for which you want to stop receiving SNS notifications.withResourceArn
(String resourceArn) The ARN of the assessment template that is used during the event for which you want to stop receiving SNS notifications.withTopicArn
(String topicArn) The ARN of the SNS topic to which SNS notifications are sent.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
UnsubscribeFromEventRequest
public UnsubscribeFromEventRequest()
-
-
Method Details
-
setResourceArn
The ARN of the assessment template that is used during the event for which you want to stop receiving SNS notifications.
- Parameters:
resourceArn
- The ARN of the assessment template that is used during the event for which you want to stop receiving SNS notifications.
-
getResourceArn
The ARN of the assessment template that is used during the event for which you want to stop receiving SNS notifications.
- Returns:
- The ARN of the assessment template that is used during the event for which you want to stop receiving SNS notifications.
-
withResourceArn
The ARN of the assessment template that is used during the event for which you want to stop receiving SNS notifications.
- Parameters:
resourceArn
- The ARN of the assessment template that is used during the event for which you want to stop receiving SNS notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEvent
The event for which you want to stop receiving SNS notifications.
- Parameters:
event
- The event for which you want to stop receiving SNS notifications.- See Also:
-
getEvent
The event for which you want to stop receiving SNS notifications.
- Returns:
- The event for which you want to stop receiving SNS notifications.
- See Also:
-
withEvent
The event for which you want to stop receiving SNS notifications.
- Parameters:
event
- The event for which you want to stop receiving SNS notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setEvent
The event for which you want to stop receiving SNS notifications.
- Parameters:
event
- The event for which you want to stop receiving SNS notifications.- See Also:
-
withEvent
The event for which you want to stop receiving SNS notifications.
- Parameters:
event
- The event for which you want to stop receiving SNS notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setTopicArn
The ARN of the SNS topic to which SNS notifications are sent.
- Parameters:
topicArn
- The ARN of the SNS topic to which SNS notifications are sent.
-
getTopicArn
The ARN of the SNS topic to which SNS notifications are sent.
- Returns:
- The ARN of the SNS topic to which SNS notifications are sent.
-
withTopicArn
The ARN of the SNS topic to which SNS notifications are sent.
- Parameters:
topicArn
- The ARN of the SNS topic to which SNS notifications are sent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-