Package com.amazonaws.services.sns.model
Class SubscribeResult
- java.lang.Object
-
- com.amazonaws.services.sns.model.SubscribeResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class SubscribeResult extends Object implements Serializable, Cloneable
Response for Subscribe action.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SubscribeResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubscribeResultclone()booleanequals(Object obj)StringgetSubscriptionArn()The ARN of the subscription, if the service was able to create a subscription immediately (without requiring endpoint owner confirmation).inthashCode()voidsetSubscriptionArn(String subscriptionArn)The ARN of the subscription, if the service was able to create a subscription immediately (without requiring endpoint owner confirmation).StringtoString()Returns a string representation of this object; useful for testing and debugging.SubscribeResultwithSubscriptionArn(String subscriptionArn)The ARN of the subscription, if the service was able to create a subscription immediately (without requiring endpoint owner confirmation).
-
-
-
Method Detail
-
setSubscriptionArn
public void setSubscriptionArn(String subscriptionArn)
The ARN of the subscription, if the service was able to create a subscription immediately (without requiring endpoint owner confirmation).
- Parameters:
subscriptionArn- The ARN of the subscription, if the service was able to create a subscription immediately (without requiring endpoint owner confirmation).
-
getSubscriptionArn
public String getSubscriptionArn()
The ARN of the subscription, if the service was able to create a subscription immediately (without requiring endpoint owner confirmation).
- Returns:
- The ARN of the subscription, if the service was able to create a subscription immediately (without requiring endpoint owner confirmation).
-
withSubscriptionArn
public SubscribeResult withSubscriptionArn(String subscriptionArn)
The ARN of the subscription, if the service was able to create a subscription immediately (without requiring endpoint owner confirmation).
- Parameters:
subscriptionArn- The ARN of the subscription, if the service was able to create a subscription immediately (without requiring endpoint owner confirmation).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SubscribeResult clone()
-
-