Class SetTopicAttributesRequest

    • Constructor Detail

      • SetTopicAttributesRequest

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

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

        Valid values: Policy | DisplayName | DeliveryPolicy

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

      • setTopicArn

        public void setTopicArn​(String topicArn)

        The ARN of the topic to modify.

        Parameters:
        topicArn - The ARN of the topic to modify.
      • getTopicArn

        public String getTopicArn()

        The ARN of the topic to modify.

        Returns:
        The ARN of the topic to modify.
      • withTopicArn

        public SetTopicAttributesRequest withTopicArn​(String topicArn)

        The ARN of the topic to modify.

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

        Valid values: Policy | DisplayName | DeliveryPolicy

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

        Valid values: Policy | DisplayName | DeliveryPolicy

      • getAttributeName

        public String getAttributeName()

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

        Valid values: Policy | DisplayName | DeliveryPolicy

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

        Valid values: Policy | DisplayName | DeliveryPolicy

      • withAttributeName

        public SetTopicAttributesRequest withAttributeName​(String attributeName)

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

        Valid values: Policy | DisplayName | DeliveryPolicy

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

        Valid values: Policy | DisplayName | DeliveryPolicy

        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.

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

        public String getAttributeValue()

        The new value for the attribute.

        Returns:
        The new value for the attribute.
      • withAttributeValue

        public SetTopicAttributesRequest withAttributeValue​(String attributeValue)

        The new value for the attribute.

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