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