public class DescribeTrailsResult extends Object implements Serializable
Returns the objects or data listed below if successful. Otherwise, returns an error.
Constructor and Description |
---|
DescribeTrailsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<Trail> |
getTrailList()
An array of Trail objects.
|
int |
hashCode() |
void |
setTrailList(Collection<Trail> trailList)
An array of Trail objects.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeTrailsResult |
withTrailList(Collection<Trail> trailList)
An array of Trail objects.
|
DescribeTrailsResult |
withTrailList(Trail... trailList)
An array of Trail objects.
|
public List<Trail> getTrailList()
public void setTrailList(Collection<Trail> trailList)
trailList
- An array of Trail objects.public DescribeTrailsResult withTrailList(Trail... trailList)
Returns a reference to this object so that method calls can be chained together.
trailList
- An array of Trail objects.public DescribeTrailsResult withTrailList(Collection<Trail> trailList)
Returns a reference to this object so that method calls can be chained together.
trailList
- An array of Trail objects.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.