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 SubscribeResult
clone()
boolean
equals(Object obj)
String
getSubscriptionArn()
The ARN of the subscription, if the service was able to create a subscription immediately (without requiring endpoint owner confirmation).int
hashCode()
void
setSubscriptionArn(String subscriptionArn)
The ARN of the subscription, if the service was able to create a subscription immediately (without requiring endpoint owner confirmation).String
toString()
Returns a string representation of this object; useful for testing and debugging.SubscribeResult
withSubscriptionArn(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SubscribeResult clone()
-
-