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