Class Subscription

    • Constructor Detail

      • Subscription

        public Subscription()
    • Method Detail

      • setSubscriptionArn

        public void setSubscriptionArn​(String subscriptionArn)

        The subscription's ARN.

        Parameters:
        subscriptionArn - The subscription's ARN.
      • getSubscriptionArn

        public String getSubscriptionArn()

        The subscription's ARN.

        Returns:
        The subscription's ARN.
      • withSubscriptionArn

        public Subscription withSubscriptionArn​(String subscriptionArn)

        The subscription's ARN.

        Parameters:
        subscriptionArn - The subscription's ARN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setOwner

        public void setOwner​(String owner)

        The subscription's owner.

        Parameters:
        owner - The subscription's owner.
      • getOwner

        public String getOwner()

        The subscription's owner.

        Returns:
        The subscription's owner.
      • withOwner

        public Subscription withOwner​(String owner)

        The subscription's owner.

        Parameters:
        owner - The subscription's owner.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setProtocol

        public void setProtocol​(String protocol)

        The subscription's protocol.

        Parameters:
        protocol - The subscription's protocol.
      • getProtocol

        public String getProtocol()

        The subscription's protocol.

        Returns:
        The subscription's protocol.
      • withProtocol

        public Subscription withProtocol​(String protocol)

        The subscription's protocol.

        Parameters:
        protocol - The subscription's protocol.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEndpoint

        public void setEndpoint​(String endpoint)

        The subscription's endpoint (format depends on the protocol).

        Parameters:
        endpoint - The subscription's endpoint (format depends on the protocol).
      • getEndpoint

        public String getEndpoint()

        The subscription's endpoint (format depends on the protocol).

        Returns:
        The subscription's endpoint (format depends on the protocol).
      • withEndpoint

        public Subscription withEndpoint​(String endpoint)

        The subscription's endpoint (format depends on the protocol).

        Parameters:
        endpoint - The subscription's endpoint (format depends on the protocol).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTopicArn

        public void setTopicArn​(String topicArn)

        The ARN of the subscription's topic.

        Parameters:
        topicArn - The ARN of the subscription's topic.
      • getTopicArn

        public String getTopicArn()

        The ARN of the subscription's topic.

        Returns:
        The ARN of the subscription's topic.
      • withTopicArn

        public Subscription withTopicArn​(String topicArn)

        The ARN of the subscription's topic.

        Parameters:
        topicArn - The ARN of the subscription's topic.
        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