Class UnsubscribeFromEventRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.inspector.model.UnsubscribeFromEventRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class UnsubscribeFromEventRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description UnsubscribeFromEventRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnsubscribeFromEventRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetEvent()The event for which you want to stop receiving SNS notifications.StringgetResourceArn()The ARN of the assessment template that is used during the event for which you want to stop receiving SNS notifications.StringgetTopicArn()The ARN of the SNS topic to which SNS notifications are sent.inthashCode()voidsetEvent(InspectorEvent event)The event for which you want to stop receiving SNS notifications.voidsetEvent(String event)The event for which you want to stop receiving SNS notifications.voidsetResourceArn(String resourceArn)The ARN of the assessment template that is used during the event for which you want to stop receiving SNS notifications.voidsetTopicArn(String topicArn)The ARN of the SNS topic to which SNS notifications are sent.StringtoString()Returns a string representation of this object; useful for testing and debugging.UnsubscribeFromEventRequestwithEvent(InspectorEvent event)The event for which you want to stop receiving SNS notifications.UnsubscribeFromEventRequestwithEvent(String event)The event for which you want to stop receiving SNS notifications.UnsubscribeFromEventRequestwithResourceArn(String resourceArn)The ARN of the assessment template that is used during the event for which you want to stop receiving SNS notifications.UnsubscribeFromEventRequestwithTopicArn(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
-
-
-
-
Method Detail
-
setResourceArn
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.
- Parameters:
resourceArn- The ARN of the assessment template that is used during the event for which you want to stop receiving SNS notifications.
-
getResourceArn
public String 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
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.
- 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
public void setEvent(String event)
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:
InspectorEvent
-
getEvent
public String 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:
InspectorEvent
-
withEvent
public UnsubscribeFromEventRequest withEvent(String event)
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:
InspectorEvent
-
setEvent
public void setEvent(InspectorEvent event)
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:
InspectorEvent
-
withEvent
public UnsubscribeFromEventRequest withEvent(InspectorEvent event)
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:
InspectorEvent
-
setTopicArn
public void setTopicArn(String topicArn)
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
public String 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
public UnsubscribeFromEventRequest withTopicArn(String topicArn)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UnsubscribeFromEventRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-