@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsSnsTopicSubscription extends Object implements Serializable, Cloneable, StructuredPojo
A wrapper type for the attributes of an Amazon SNS subscription.
| Constructor and Description |
|---|
AwsSnsTopicSubscription() |
| Modifier and Type | Method and Description |
|---|---|
AwsSnsTopicSubscription |
clone() |
boolean |
equals(Object obj) |
String |
getEndpoint()
The subscription's endpoint (format depends on the protocol).
|
String |
getProtocol()
The subscription's protocol.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setEndpoint(String endpoint)
The subscription's endpoint (format depends on the protocol).
|
void |
setProtocol(String protocol)
The subscription's protocol.
|
String |
toString()
Returns a string representation of this object.
|
AwsSnsTopicSubscription |
withEndpoint(String endpoint)
The subscription's endpoint (format depends on the protocol).
|
AwsSnsTopicSubscription |
withProtocol(String protocol)
The subscription's protocol.
|
public void setEndpoint(String endpoint)
The subscription's endpoint (format depends on the protocol).
endpoint - The subscription's endpoint (format depends on the protocol).public String getEndpoint()
The subscription's endpoint (format depends on the protocol).
public AwsSnsTopicSubscription withEndpoint(String endpoint)
The subscription's endpoint (format depends on the protocol).
endpoint - The subscription's endpoint (format depends on the protocol).public void setProtocol(String protocol)
The subscription's protocol.
protocol - The subscription's protocol.public String getProtocol()
The subscription's protocol.
public AwsSnsTopicSubscription withProtocol(String protocol)
The subscription's protocol.
protocol - The subscription's protocol.public String toString()
toString in class ObjectObject.toString()public AwsSnsTopicSubscription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.