@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeTrailsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Returns the objects or data listed below if successful. Otherwise, returns an error.
Constructor and Description |
---|
DescribeTrailsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeTrailsResult |
clone() |
boolean |
equals(Object obj) |
List<Trail> |
getTrailList()
The list of trail objects.
|
int |
hashCode() |
void |
setTrailList(Collection<Trail> trailList)
The list of trail objects.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeTrailsResult |
withTrailList(Collection<Trail> trailList)
The list of trail objects.
|
DescribeTrailsResult |
withTrailList(Trail... trailList)
The list of trail objects.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Trail> getTrailList()
The list of trail objects.
public void setTrailList(Collection<Trail> trailList)
The list of trail objects.
trailList
- The list of trail objects.public DescribeTrailsResult withTrailList(Trail... trailList)
The list of trail objects.
NOTE: This method appends the values to the existing list (if any). Use
setTrailList(java.util.Collection)
or withTrailList(java.util.Collection)
if you want to
override the existing values.
trailList
- The list of trail objects.public DescribeTrailsResult withTrailList(Collection<Trail> trailList)
The list of trail objects.
trailList
- The list of trail objects.public String toString()
toString
in class Object
Object.toString()
public DescribeTrailsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.