public class DescribeTrailsResult extends Object 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.
|
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 ObjectObject.toString()public DescribeTrailsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.