com.amazonaws.services.cloudtrail.model
Class StartLoggingRequest

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

public class StartLoggingRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the StartLogging operation.

Starts the recording of AWS API calls and log file delivery for a trail.

See Also:
AWSCloudTrail.startLogging(StartLoggingRequest), Serialized Form

Constructor Summary
StartLoggingRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
          The name of the Trail for which CloudTrail logs AWS API calls.
 int hashCode()
           
 void setName(String name)
          The name 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)
          The name of the Trail for which CloudTrail logs 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

StartLoggingRequest

public StartLoggingRequest()
Method Detail

getName

public String getName()
The name of the Trail for which CloudTrail logs AWS API calls.

Returns:
The name of the Trail for which CloudTrail logs AWS API calls.

setName

public void setName(String name)
The name of the Trail for which CloudTrail logs AWS API calls.

Parameters:
name - The name of the Trail for which CloudTrail logs AWS API calls.

withName

public StartLoggingRequest withName(String name)
The name of the Trail for which CloudTrail logs AWS API calls.

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

Parameters:
name - The name of the Trail for which CloudTrail logs 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.