@Generated(value="software.amazon.awssdk:codegen") public class Subscription extends Object implements StructuredPojo, ToCopyableBuilder<Subscription.Builder,Subscription>
This data type is used as a response element in the ListEventSubscriptions action.
Modifier and Type | Class and Description |
---|---|
static interface |
Subscription.Builder |
Modifier and Type | Method and Description |
---|---|
static Subscription.Builder |
builder() |
boolean |
equals(Object obj) |
List<EventSubscription> |
eventSubscriptions()
The list of existing event subscriptions.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
resourceArn()
The ARN of the assessment template that is used during the event for which the SNS notification is sent.
|
static Class<? extends Subscription.Builder> |
serializableBuilderClass() |
Subscription.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
topicArn()
The ARN of the Amazon Simple Notification Service (SNS) topic to which the SNS notifications are sent.
|
String |
toString() |
copy
public String resourceArn()
The ARN of the assessment template that is used during the event for which the SNS notification is sent.
public String topicArn()
The ARN of the Amazon Simple Notification Service (SNS) topic to which the SNS notifications are sent.
public List<EventSubscription> eventSubscriptions()
The list of existing event subscriptions.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Subscription.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Subscription.Builder,Subscription>
public static Subscription.Builder builder()
public static Class<? extends Subscription.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.