Class RemovePermissionRequest

    • Constructor Detail

      • RemovePermissionRequest

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

        public RemovePermissionRequest​(String topicArn,
                                       String label)
        Constructs a new RemovePermissionRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        topicArn - The ARN of the topic whose access control policy you wish to modify.
        label - The unique label of the statement you want to remove.
    • Method Detail

      • setTopicArn

        public void setTopicArn​(String topicArn)

        The ARN of the topic whose access control policy you wish to modify.

        Parameters:
        topicArn - The ARN of the topic whose access control policy you wish to modify.
      • getTopicArn

        public String getTopicArn()

        The ARN of the topic whose access control policy you wish to modify.

        Returns:
        The ARN of the topic whose access control policy you wish to modify.
      • withTopicArn

        public RemovePermissionRequest withTopicArn​(String topicArn)

        The ARN of the topic whose access control policy you wish to modify.

        Parameters:
        topicArn - The ARN of the topic whose access control policy you wish to modify.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLabel

        public void setLabel​(String label)

        The unique label of the statement you want to remove.

        Parameters:
        label - The unique label of the statement you want to remove.
      • getLabel

        public String getLabel()

        The unique label of the statement you want to remove.

        Returns:
        The unique label of the statement you want to remove.
      • withLabel

        public RemovePermissionRequest withLabel​(String label)

        The unique label of the statement you want to remove.

        Parameters:
        label - The unique label of the statement you want to remove.
        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