Class SetSubscriptionAttributesRequest

    • Constructor Detail

      • SetSubscriptionAttributesRequest

        public SetSubscriptionAttributesRequest()
        Default constructor for SetSubscriptionAttributesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
      • SetSubscriptionAttributesRequest

        public SetSubscriptionAttributesRequest​(String subscriptionArn,
                                                String attributeName,
                                                String attributeValue)
        Constructs a new SetSubscriptionAttributesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        subscriptionArn - The ARN of the subscription to modify.
        attributeName - The name of the attribute you want to set. Only a subset of the subscriptions attributes are mutable.

        Valid values: DeliveryPolicy | RawMessageDelivery

        attributeValue - The new value for the attribute in JSON format.
    • Method Detail

      • setSubscriptionArn

        public void setSubscriptionArn​(String subscriptionArn)

        The ARN of the subscription to modify.

        Parameters:
        subscriptionArn - The ARN of the subscription to modify.
      • getSubscriptionArn

        public String getSubscriptionArn()

        The ARN of the subscription to modify.

        Returns:
        The ARN of the subscription to modify.
      • withSubscriptionArn

        public SetSubscriptionAttributesRequest withSubscriptionArn​(String subscriptionArn)

        The ARN of the subscription to modify.

        Parameters:
        subscriptionArn - The ARN of the subscription to modify.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAttributeName

        public void setAttributeName​(String attributeName)

        The name of the attribute you want to set. Only a subset of the subscriptions attributes are mutable.

        Valid values: DeliveryPolicy | RawMessageDelivery

        Parameters:
        attributeName - The name of the attribute you want to set. Only a subset of the subscriptions attributes are mutable.

        Valid values: DeliveryPolicy | RawMessageDelivery

      • getAttributeName

        public String getAttributeName()

        The name of the attribute you want to set. Only a subset of the subscriptions attributes are mutable.

        Valid values: DeliveryPolicy | RawMessageDelivery

        Returns:
        The name of the attribute you want to set. Only a subset of the subscriptions attributes are mutable.

        Valid values: DeliveryPolicy | RawMessageDelivery

      • withAttributeName

        public SetSubscriptionAttributesRequest withAttributeName​(String attributeName)

        The name of the attribute you want to set. Only a subset of the subscriptions attributes are mutable.

        Valid values: DeliveryPolicy | RawMessageDelivery

        Parameters:
        attributeName - The name of the attribute you want to set. Only a subset of the subscriptions attributes are mutable.

        Valid values: DeliveryPolicy | RawMessageDelivery

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAttributeValue

        public void setAttributeValue​(String attributeValue)

        The new value for the attribute in JSON format.

        Parameters:
        attributeValue - The new value for the attribute in JSON format.
      • getAttributeValue

        public String getAttributeValue()

        The new value for the attribute in JSON format.

        Returns:
        The new value for the attribute in JSON format.
      • withAttributeValue

        public SetSubscriptionAttributesRequest withAttributeValue​(String attributeValue)

        The new value for the attribute in JSON format.

        Parameters:
        attributeValue - The new value for the attribute in JSON format.
        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