@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StopLoggingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Passes the request to CloudTrail to stop logging Amazon Web Services API calls for the specified account.
NOOP| Constructor and Description | 
|---|
| StopLoggingRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| StopLoggingRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getName()
 Specifies the name or the CloudTrail ARN of the trail for which CloudTrail will stop logging Amazon Web Services
 API calls. | 
| int | hashCode() | 
| void | setName(String name)
 Specifies the name or the CloudTrail ARN of the trail for which CloudTrail will stop logging Amazon Web Services
 API calls. | 
| String | toString()Returns a string representation of this object. | 
| StopLoggingRequest | withName(String name)
 Specifies the name or the CloudTrail ARN of the trail for which CloudTrail will stop logging Amazon Web Services
 API calls. | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setName(String name)
Specifies the name or the CloudTrail ARN of the trail for which CloudTrail will stop logging Amazon Web Services API calls. The following is the format of a trail ARN.
 arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
 
name - Specifies the name or the CloudTrail ARN of the trail for which CloudTrail will stop logging Amazon Web
        Services API calls. The following is the format of a trail ARN.
        
        arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
public String getName()
Specifies the name or the CloudTrail ARN of the trail for which CloudTrail will stop logging Amazon Web Services API calls. The following is the format of a trail ARN.
 arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
 
         arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
public StopLoggingRequest withName(String name)
Specifies the name or the CloudTrail ARN of the trail for which CloudTrail will stop logging Amazon Web Services API calls. The following is the format of a trail ARN.
 arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
 
name - Specifies the name or the CloudTrail ARN of the trail for which CloudTrail will stop logging Amazon Web
        Services API calls. The following is the format of a trail ARN.
        
        arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
public String toString()
toString in class ObjectObject.toString()public StopLoggingRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()