Class ListTagsRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.cloudtrail.model.ListTagsRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class ListTagsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Specifies a list of trail tags to return.

See Also:
  • Constructor Details

    • ListTagsRequest

      public ListTagsRequest()
  • Method Details

    • 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ListTagsRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: