public class ListTagsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ListTags operation.
Lists the tags for the trail in the current region.
NOOP| Constructor and Description |
|---|
ListTagsRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListTagsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
Reserved for future use.
|
List<String> |
getResourceIdList()
Specifies a list of trail ARNs whose tags will be listed.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
Reserved for future use.
|
void |
setResourceIdList(Collection<String> resourceIdList)
Specifies a list of trail ARNs whose tags will be listed.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTagsRequest |
withNextToken(String nextToken)
Reserved for future use.
|
ListTagsRequest |
withResourceIdList(Collection<String> resourceIdList)
Specifies a list of trail ARNs whose tags will be listed.
|
ListTagsRequest |
withResourceIdList(String... resourceIdList)
Specifies a list of trail ARNs whose tags will be listed.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic List<String> getResourceIdList()
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail.arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail.public void setResourceIdList(Collection<String> resourceIdList)
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail.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.public ListTagsRequest withResourceIdList(String... resourceIdList)
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.
Returns a reference to this object so that method calls can be chained together.
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.public ListTagsRequest withResourceIdList(Collection<String> resourceIdList)
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail.
Returns a reference to this object so that method calls can be chained together.
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.public String getNextToken()
public void setNextToken(String nextToken)
nextToken - Reserved for future use.public ListTagsRequest withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken - Reserved for future use.public String toString()
toString in class ObjectObject.toString()public ListTagsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.