@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.
|
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, withSdkRequestTimeout
public void setName(String name)
Specifies the name or the CloudTrail ARN of the trail to be deleted. 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 to be deleted. 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 to be deleted. 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 DeleteTrailRequest withName(String name)
Specifies the name or the CloudTrail ARN of the trail to be deleted. 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 to be deleted. The following is the format of a
trail ARN. arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
public String toString()
toString
in class Object
Object.toString()
public DeleteTrailRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()