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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListTagsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTagsRequest
clone()
Creates a shallow clone of this request.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(String... resourceIdList)
Specifies a list of trail ARNs whose tags will be listed.ListTagsRequest
withResourceIdList(Collection<String> resourceIdList)
Specifies a list of trail ARNs whose tags will be listed.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
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)
orwithResourceIdList(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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
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 classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-