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 request.
|
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.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, 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.