com.amazonaws.services.cloudtrail.model
Class GetTrailStatusRequest

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

public class GetTrailStatusRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the GetTrailStatus operation.

Returns a JSON-formatted list of information about the specified trail. Fields include information such as delivery errors, Amazon SNS and Amazon S3 errors, and times that logging started and stopped for each trail.

See Also:
AWSCloudTrail.getTrailStatus(GetTrailStatusRequest), Serialized Form

Constructor Summary
GetTrailStatusRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
          The name of the trail for which you are requesting the current status.
 int hashCode()
           
 void setName(String name)
          The name of the trail for which you are requesting the current status.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 GetTrailStatusRequest withName(String name)
          The name of the trail for which you are requesting the current status.
 
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

GetTrailStatusRequest

public GetTrailStatusRequest()
Method Detail

getName

public String getName()
The name of the trail for which you are requesting the current status.

Returns:
The name of the trail for which you are requesting the current status.

setName

public void setName(String name)
The name of the trail for which you are requesting the current status.

Parameters:
name - The name of the trail for which you are requesting the current status.

withName

public GetTrailStatusRequest withName(String name)
The name of the trail for which you are requesting the current status.

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

Parameters:
name - The name of the trail for which you are requesting the current status.
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.