com.amazonaws.services.cloudtrail.model
Class StopLoggingRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.cloudtrail.model.StopLoggingRequest
All Implemented Interfaces:
Serializable

public class StopLoggingRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the StopLogging operation.

Suspends the recording of AWS API calls and log file delivery for the specified trail. Under most circumstances, there is no need to use this action. You can update a trail without stopping it first. This action is the only way to stop recording.

See Also:
AWSCloudTrail.stopLogging(StopLoggingRequest), Serialized Form

Constructor Summary
StopLoggingRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
          Communicates to CloudTrail the name of the Trail for which to stop logging AWS API calls.
 int hashCode()
           
 void setName(String name)
          Communicates to CloudTrail the name of the Trail for which to stop logging AWS API calls.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 StopLoggingRequest withName(String name)
          Communicates to CloudTrail the name of the Trail for which to stop logging AWS API calls.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StopLoggingRequest

public StopLoggingRequest()
Method Detail

getName

public String getName()
Communicates to CloudTrail the name of the Trail for which to stop logging AWS API calls.

Returns:
Communicates to CloudTrail the name of the Trail for which to stop logging AWS API calls.

setName

public void setName(String name)
Communicates to CloudTrail the name of the Trail for which to stop logging AWS API calls.

Parameters:
name - Communicates to CloudTrail the name of the Trail for which to stop logging AWS API calls.

withName

public StopLoggingRequest withName(String name)
Communicates to CloudTrail the name of the Trail for which to stop logging AWS API calls.

Returns a reference to this object so that method calls can be chained together.

Parameters:
name - Communicates to CloudTrail the name of the Trail for which to stop logging AWS API calls.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.