public class UpdateTrailRequest extends AmazonWebServiceRequest implements Serializable
UpdateTrail operation
.
From the command line, use update-subscription.
Updates the settings that specify delivery of log files. Changes to a trail do not require stopping the CloudTrail service. You use this action to designate an existing bucket for log delivery. If the existing bucket has previously been a target for CloudTrail log files, an IAM policy exists for the bucket. Use a Trail data type to pass updated bucket or topic names.
Constructor and Description |
---|
UpdateTrailRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Trail |
getTrail()
Represents the Trail structure that contains the CloudTrail
setting for an account.
|
int |
hashCode() |
void |
setTrail(Trail trail)
Represents the Trail structure that contains the CloudTrail
setting for an account.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateTrailRequest |
withTrail(Trail trail)
Represents the Trail structure that contains the CloudTrail
setting for an account.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public Trail getTrail()
public void setTrail(Trail trail)
trail
- Represents the Trail structure that contains the CloudTrail
setting for an account.public UpdateTrailRequest withTrail(Trail trail)
Returns a reference to this object so that method calls can be chained together.
trail
- Represents the Trail structure that contains the CloudTrail
setting for an account.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.