Class ListTagsRequest

    • Constructor Detail

      • ListTagsRequest

        public ListTagsRequest()
    • Method Detail

      • getResourceIdList

        public List<String> getResourceIdList()

        Specifies a list of trail ARNs whose tags will be listed. The list has a limit of 20 ARNs. The format of a trail ARN is:

        arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail

        Returns:
        Specifies a list of trail ARNs whose tags will be listed. The list has a limit of 20 ARNs. The format of a trail ARN is:

        arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail

      • setResourceIdList

        public void setResourceIdList​(Collection<String> resourceIdList)

        Specifies a list of trail ARNs whose tags will be listed. The list has a limit of 20 ARNs. The format of a trail ARN is:

        arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail

        Parameters:
        resourceIdList - Specifies a list of trail ARNs whose tags will be listed. The list has a limit of 20 ARNs. The format of a trail ARN is:

        arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail

      • withResourceIdList

        public ListTagsRequest withResourceIdList​(String... resourceIdList)

        Specifies a list of trail ARNs whose tags will be listed. The list has a limit of 20 ARNs. The format of a trail ARN is:

        arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail

        NOTE: This method appends the values to the existing list (if any). Use setResourceIdList(java.util.Collection) or withResourceIdList(java.util.Collection) if you want to override the existing values.

        Parameters:
        resourceIdList - Specifies a list of trail ARNs whose tags will be listed. The list has a limit of 20 ARNs. The format of a trail ARN is:

        arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail

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

        public ListTagsRequest withResourceIdList​(Collection<String> resourceIdList)

        Specifies a list of trail ARNs whose tags will be listed. The list has a limit of 20 ARNs. The format of a trail ARN is:

        arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail

        Parameters:
        resourceIdList - Specifies a list of trail ARNs whose tags will be listed. The list has a limit of 20 ARNs. The format of a trail ARN is:

        arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail

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

        public void setNextToken​(String nextToken)

        Reserved for future use.

        Parameters:
        nextToken - Reserved for future use.
      • getNextToken

        public String getNextToken()

        Reserved for future use.

        Returns:
        Reserved for future use.
      • withNextToken

        public ListTagsRequest withNextToken​(String nextToken)

        Reserved for future use.

        Parameters:
        nextToken - Reserved for future use.
        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