Class ListTagsForResourceRequest

    • Method Detail

      • resourceId

        public final String resourceId()

        The ID of the resource with the tags to list.

        You can specify any of the following taggable resources.

        • Amazon Web Services account – specify the account ID number.

        • Organizational unit – specify the OU ID that begins with ou- and looks similar to: ou-1a2b-34uvwxyz

        • Root – specify the root ID that begins with r- and looks similar to: r-1a2b

        • Policy – specify the policy ID that begins with p- andlooks similar to: p-12abcdefg3

        Returns:
        The ID of the resource with the tags to list.

        You can specify any of the following taggable resources.

        • Amazon Web Services account – specify the account ID number.

        • Organizational unit – specify the OU ID that begins with ou- and looks similar to: ou-1a2b-34uvwxyz

        • Root – specify the root ID that begins with r- and looks similar to: r-1a2b

        • Policy – specify the policy ID that begins with p- andlooks similar to: p-12abcdefg3

      • nextToken

        public final String nextToken()

        The parameter for receiving additional results if you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value of the previous call's NextToken response to indicate where the output should continue from.

        Returns:
        The parameter for receiving additional results if you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value of the previous call's NextToken response to indicate where the output should continue from.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object