public class DescribeTrailsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeTrails operation
.
Retrieves settings for the trail associated with the current region for your account.
NOOP
Constructor and Description |
---|
DescribeTrailsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeTrailsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
List<String> |
getTrailNameList()
The trail returned.
|
int |
hashCode() |
void |
setTrailNameList(Collection<String> trailNameList)
The trail returned.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeTrailsRequest |
withTrailNameList(Collection<String> trailNameList)
The trail returned.
|
DescribeTrailsRequest |
withTrailNameList(String... trailNameList)
The trail returned.
|
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public List<String> getTrailNameList()
public void setTrailNameList(Collection<String> trailNameList)
trailNameList
- The trail returned.public DescribeTrailsRequest withTrailNameList(String... trailNameList)
NOTE: This method appends the values to the existing list (if
any). Use setTrailNameList(java.util.Collection)
or withTrailNameList(java.util.Collection)
if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
trailNameList
- The trail returned.public DescribeTrailsRequest withTrailNameList(Collection<String> trailNameList)
Returns a reference to this object so that method calls can be chained together.
trailNameList
- The trail returned.public String toString()
toString
in class Object
Object.toString()
public DescribeTrailsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.