public class GetTrailStatusRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
GetTrailStatus operation.
Returns a JSON-formatted list of information about the specified trail. Fields include information on delivery errors, Amazon SNS and Amazon S3 errors, and start and stop logging times for each trail. This operation returns trail status from a single region. To return trail status from all regions, you must call the operation on each region.
NOOP| Constructor and Description |
|---|
GetTrailStatusRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetTrailStatusRequest |
clone() |
boolean |
equals(Object obj) |
String |
getName()
Specifies the name or the CloudTrail ARN of the trail for which you
are requesting status.
|
int |
hashCode() |
void |
setName(String name)
Specifies the name or the CloudTrail ARN of the trail for which you
are requesting status.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetTrailStatusRequest |
withName(String name)
Specifies the name or the CloudTrail ARN of the trail for which you
are requesting status.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getName()
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail.arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail.public void setName(String name)
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail.name - Specifies the name or the CloudTrail ARN of the trail for which you
are requesting status. The format of a trail ARN is
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail.public GetTrailStatusRequest withName(String name)
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail.
Returns a reference to this object so that method calls can be chained together.
name - Specifies the name or the CloudTrail ARN of the trail for which you
are requesting status. The format of a trail ARN is
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail.public String toString()
toString in class ObjectObject.toString()public GetTrailStatusRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.