@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartLoggingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The request to CloudTrail to start logging AWS API calls for an account.
NOOP
Constructor and Description |
---|
StartLoggingRequest() |
Modifier and Type | Method and Description |
---|---|
StartLoggingRequest |
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 logs AWS API calls.
|
int |
hashCode() |
void |
setName(String name)
Specifies the name or the CloudTrail ARN of the trail for which CloudTrail logs AWS API calls.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
StartLoggingRequest |
withName(String name)
Specifies the name or the CloudTrail ARN of the trail for which CloudTrail logs AWS 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, withSdkRequestTimeout
public void setName(String name)
Specifies the name or the CloudTrail ARN of the trail for which CloudTrail logs AWS API calls. The format of a trail ARN is:
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
name
- Specifies the name or the CloudTrail ARN of the trail for which CloudTrail logs AWS API calls. The format
of a trail ARN is:
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
public String getName()
Specifies the name or the CloudTrail ARN of the trail for which CloudTrail logs AWS API calls. The format of a trail ARN is:
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
public StartLoggingRequest withName(String name)
Specifies the name or the CloudTrail ARN of the trail for which CloudTrail logs AWS API calls. The format of a trail ARN is:
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
name
- Specifies the name or the CloudTrail ARN of the trail for which CloudTrail logs 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 Object
Object.toString()
public StartLoggingRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.