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()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getName()
Communicates to CloudTrail the name of the trail for which to stop
logging AWS API calls.
|
int |
hashCode() |
void |
setName(String name)
Communicates to CloudTrail the name of the trail for which to stop
logging AWS API calls.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StopLoggingRequest |
withName(String name)
Communicates to CloudTrail the name of the trail for which to stop
logging AWS API calls.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getName()
public void setName(String name)
name
- Communicates to CloudTrail the name of the trail for which to stop
logging AWS API calls.public StopLoggingRequest withName(String name)
Returns a reference to this object so that method calls can be chained together.
name
- Communicates to CloudTrail the name of the trail for which to stop
logging AWS API calls.public String toString()
toString
in class Object
Object.toString()
public StopLoggingRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.