com.amazonaws.services.cloudtrail.model
Class DescribeTrailsRequest

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

public class DescribeTrailsRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DescribeTrails operation.

Retrieves the settings for some or all trails associated with an account. Returns a list of Trail structures in JSON format.

See Also:
AWSCloudTrail.describeTrails(DescribeTrailsRequest), Serialized Form

Constructor Summary
DescribeTrailsRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<String> getTrailNameList()
          The list of Trail object names.
 int hashCode()
           
 void setTrailNameList(Collection<String> trailNameList)
          The list of Trail object names.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeTrailsRequest withTrailNameList(Collection<String> trailNameList)
          The list of Trail object names.
 DescribeTrailsRequest withTrailNameList(String... trailNameList)
          The list of Trail object names.
 
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

DescribeTrailsRequest

public DescribeTrailsRequest()
Method Detail

getTrailNameList

public List<String> getTrailNameList()
The list of Trail object names.

Returns:
The list of Trail object names.

setTrailNameList

public void setTrailNameList(Collection<String> trailNameList)
The list of Trail object names.

Parameters:
trailNameList - The list of Trail object names.

withTrailNameList

public DescribeTrailsRequest withTrailNameList(String... trailNameList)
The list of Trail object names.

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

Parameters:
trailNameList - The list of Trail object names.
Returns:
A reference to this updated object so that method calls can be chained together.

withTrailNameList

public DescribeTrailsRequest withTrailNameList(Collection<String> trailNameList)
The list of Trail object names.

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

Parameters:
trailNameList - The list of Trail object names.
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.