|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.sns.model.Subscription
public class Subscription
A wrapper type for the attributes of an SNS subscription.
| Constructor Summary | |
|---|---|
Subscription()
Default constructor for a new Subscription object. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getEndpoint()
The subscription's endpoint (format depends on the protocol). |
String |
getOwner()
The subscription's owner. |
String |
getProtocol()
The subscription's protocol. |
String |
getSubscriptionArn()
The subscription's ARN. |
String |
getTopicArn()
The ARN of the subscription's topic. |
int |
hashCode()
|
void |
setEndpoint(String endpoint)
The subscription's endpoint (format depends on the protocol). |
void |
setOwner(String owner)
The subscription's owner. |
void |
setProtocol(String protocol)
The subscription's protocol. |
void |
setSubscriptionArn(String subscriptionArn)
The subscription's ARN. |
void |
setTopicArn(String topicArn)
The ARN of the subscription's topic. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Subscription |
withEndpoint(String endpoint)
The subscription's endpoint (format depends on the protocol). |
Subscription |
withOwner(String owner)
The subscription's owner. |
Subscription |
withProtocol(String protocol)
The subscription's protocol. |
Subscription |
withSubscriptionArn(String subscriptionArn)
The subscription's ARN. |
Subscription |
withTopicArn(String topicArn)
The ARN of the subscription's topic. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Subscription()
| Method Detail |
|---|
public String getSubscriptionArn()
public void setSubscriptionArn(String subscriptionArn)
subscriptionArn - The subscription's ARN.public Subscription withSubscriptionArn(String subscriptionArn)
Returns a reference to this object so that method calls can be chained together.
subscriptionArn - The subscription's ARN.
public String getOwner()
public void setOwner(String owner)
owner - The subscription's owner.public Subscription withOwner(String owner)
Returns a reference to this object so that method calls can be chained together.
owner - The subscription's owner.
public String getProtocol()
public void setProtocol(String protocol)
protocol - The subscription's protocol.public Subscription withProtocol(String protocol)
Returns a reference to this object so that method calls can be chained together.
protocol - The subscription's protocol.
public String getEndpoint()
public void setEndpoint(String endpoint)
endpoint - The subscription's endpoint (format depends on the protocol).public Subscription withEndpoint(String endpoint)
Returns a reference to this object so that method calls can be chained together.
endpoint - The subscription's endpoint (format depends on the protocol).
public String getTopicArn()
public void setTopicArn(String topicArn)
topicArn - The ARN of the subscription's topic.public Subscription withTopicArn(String topicArn)
Returns a reference to this object so that method calls can be chained together.
topicArn - The ARN of the subscription's topic.
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||