@Generated(value="software.amazon.awssdk:codegen") public final class Subscription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Subscription.Builder,Subscription>
A wrapper type for the attributes of an Amazon SNS subscription.
Modifier and Type | Class and Description |
---|---|
static interface |
Subscription.Builder |
Modifier and Type | Method and Description |
---|---|
static Subscription.Builder |
builder() |
String |
endpoint()
The subscription's endpoint (format depends on the protocol).
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
owner()
The subscription's owner.
|
String |
protocol()
The subscription's protocol.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Subscription.Builder> |
serializableBuilderClass() |
String |
subscriptionArn()
The subscription's ARN.
|
Subscription.Builder |
toBuilder() |
String |
topicArn()
The ARN of the subscription's topic.
|
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String subscriptionArn()
The subscription's ARN.
public String owner()
The subscription's owner.
public String protocol()
The subscription's protocol.
public String endpoint()
The subscription's endpoint (format depends on the protocol).
public String topicArn()
The ARN of the subscription's topic.
public Subscription.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<Subscription.Builder,Subscription>
public static Subscription.Builder builder()
public static Class<? extends Subscription.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.