public class StopLoggingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
StopLogging operation.
Suspends the recording of AWS API calls and log file delivery for the specified trail. Under most circumstances, there is no need to use this action. You can update a trail without stopping it first. This action is the only way to stop recording.
NOOP| Constructor and Description |
|---|
StopLoggingRequest() |
| Modifier and Type | Method and Description |
|---|---|
StopLoggingRequest |
clone() |
boolean |
equals(Object obj) |
String |
getName()
Specifies the name or the CloudTrail ARN of the trail for which
CloudTrail will stop logging AWS API calls.
|
int |
hashCode() |
void |
setName(String name)
Specifies the name or the CloudTrail ARN of the trail for which
CloudTrail will stop logging AWS API calls.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StopLoggingRequest |
withName(String name)
Specifies the name or the CloudTrail ARN of the trail for which
CloudTrail will stop logging AWS API calls.
|
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
CloudTrail will stop logging AWS API calls. The format of a trail ARN
is
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail.public StopLoggingRequest 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
CloudTrail will stop logging AWS API calls. 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 StopLoggingRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.