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:
  • Constructor Details

    • SubscribeResult

      public SubscribeResult()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public SubscribeResult clone()
      Overrides:
      clone in class Object