Class SubscribeResult

    • Constructor Detail

      • SubscribeResult

        public SubscribeResult()
    • 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 class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object