|
Did this page help you?Yes No Tell us about it... |
||||||
| 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(java.lang.Object obj)
|
java.lang.String |
getEndpoint()
The subscription's endpoint (format depends on the protocol). |
java.lang.String |
getOwner()
The subscription's owner. |
java.lang.String |
getProtocol()
The subscription's protocol. |
java.lang.String |
getSubscriptionArn()
The subscription's ARN. |
java.lang.String |
getTopicArn()
The ARN of the subscription's topic. |
int |
hashCode()
|
void |
setEndpoint(java.lang.String endpoint)
The subscription's endpoint (format depends on the protocol). |
void |
setOwner(java.lang.String owner)
The subscription's owner. |
void |
setProtocol(java.lang.String protocol)
The subscription's protocol. |
void |
setSubscriptionArn(java.lang.String subscriptionArn)
The subscription's ARN. |
void |
setTopicArn(java.lang.String topicArn)
The ARN of the subscription's topic. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Subscription |
withEndpoint(java.lang.String endpoint)
The subscription's endpoint (format depends on the protocol). |
Subscription |
withOwner(java.lang.String owner)
The subscription's owner. |
Subscription |
withProtocol(java.lang.String protocol)
The subscription's protocol. |
Subscription |
withSubscriptionArn(java.lang.String subscriptionArn)
The subscription's ARN. |
Subscription |
withTopicArn(java.lang.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 java.lang.String getSubscriptionArn()
public void setSubscriptionArn(java.lang.String subscriptionArn)
subscriptionArn - The subscription's ARN.public Subscription withSubscriptionArn(java.lang.String subscriptionArn)
Returns a reference to this object so that method calls can be chained together.
subscriptionArn - The subscription's ARN.
public java.lang.String getOwner()
public void setOwner(java.lang.String owner)
owner - The subscription's owner.public Subscription withOwner(java.lang.String owner)
Returns a reference to this object so that method calls can be chained together.
owner - The subscription's owner.
public java.lang.String getProtocol()
public void setProtocol(java.lang.String protocol)
protocol - The subscription's protocol.public Subscription withProtocol(java.lang.String protocol)
Returns a reference to this object so that method calls can be chained together.
protocol - The subscription's protocol.
public java.lang.String getEndpoint()
public void setEndpoint(java.lang.String endpoint)
endpoint - The subscription's endpoint (format depends on the protocol).public Subscription withEndpoint(java.lang.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 java.lang.String getTopicArn()
public void setTopicArn(java.lang.String topicArn)
topicArn - The ARN of the subscription's topic.public Subscription withTopicArn(java.lang.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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||