public class DescribeTrailsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeTrails operation.
Retrieves settings for the trail associated with the current region for your account.
NOOP| Constructor and Description |
|---|
DescribeTrailsRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeTrailsRequest |
clone() |
boolean |
equals(Object obj) |
List<String> |
getTrailNameList()
Specifies a list of trail names, trail ARNs, or both, of the trails to
describe.
|
int |
hashCode() |
void |
setTrailNameList(Collection<String> trailNameList)
Specifies a list of trail names, trail ARNs, or both, of the trails to
describe.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeTrailsRequest |
withTrailNameList(Collection<String> trailNameList)
Specifies a list of trail names, trail ARNs, or both, of the trails to
describe.
|
DescribeTrailsRequest |
withTrailNameList(String... trailNameList)
Specifies a list of trail names, trail ARNs, or both, of the trails to
describe.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic List<String> getTrailNameList()
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail.
If an empty list is specified, information for the trail in the
current region is returned.arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail.
If an empty list is specified, information for the trail in the
current region is returned.public void setTrailNameList(Collection<String> trailNameList)
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail.
If an empty list is specified, information for the trail in the
current region is returned.trailNameList - Specifies a list of trail names, trail ARNs, or both, of the trails to
describe. The format of a trail ARN is
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail.
If an empty list is specified, information for the trail in the
current region is returned.public DescribeTrailsRequest withTrailNameList(String... trailNameList)
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail.
If an empty list is specified, information for the trail in the
current region is returned.
NOTE: This method appends the values to the existing list (if
any). Use setTrailNameList(java.util.Collection) or withTrailNameList(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.
trailNameList - Specifies a list of trail names, trail ARNs, or both, of the trails to
describe. The format of a trail ARN is
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail.
If an empty list is specified, information for the trail in the
current region is returned.public DescribeTrailsRequest withTrailNameList(Collection<String> trailNameList)
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail.
If an empty list is specified, information for the trail in the
current region is returned.
Returns a reference to this object so that method calls can be chained together.
trailNameList - Specifies a list of trail names, trail ARNs, or both, of the trails to
describe. The format of a trail ARN is
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail.
If an empty list is specified, information for the trail in the
current region is returned.public String toString()
toString in class ObjectObject.toString()public DescribeTrailsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.