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 trails.
|
int |
hashCode() |
void |
setTrailList(Collection<Trail> trailList)
The list of trails.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeTrailsResult |
withTrailList(Collection<Trail> trailList)
The list of trails.
|
DescribeTrailsResult |
withTrailList(Trail... trailList)
The list of trails.
|
public void setTrailList(Collection<Trail> trailList)
trailList - The list of trails.public DescribeTrailsResult withTrailList(Trail... trailList)
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.
Returns a reference to this object so that method calls can be chained together.
trailList - The list of trails.public DescribeTrailsResult withTrailList(Collection<Trail> trailList)
Returns a reference to this object so that method calls can be chained together.
trailList - The list of trails.public String toString()
toString in class ObjectObject.toString()public DescribeTrailsResult clone()
Copyright © 2015. All rights reserved.