Class DescribeTrailsResult
- java.lang.Object
-
- com.amazonaws.services.cloudtrail.model.DescribeTrailsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeTrailsResult extends Object implements Serializable, Cloneable
Returns the objects or data listed below if successful. Otherwise, returns an error.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeTrailsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(Trail... trailList)
The list of trail objects.DescribeTrailsResult
withTrailList(Collection<Trail> trailList)
The list of trail objects.
-
-
-
Method Detail
-
getTrailList
public List<Trail> getTrailList()
The list of trail objects.
- Returns:
- The list of trail objects.
-
setTrailList
public void setTrailList(Collection<Trail> trailList)
The list of trail objects.
- Parameters:
trailList
- The list of trail objects.
-
withTrailList
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)
orwithTrailList(java.util.Collection)
if you want to override the existing values.- Parameters:
trailList
- The list of trail objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTrailList
public DescribeTrailsResult withTrailList(Collection<Trail> trailList)
The list of trail objects.
- Parameters:
trailList
- The list of trail objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeTrailsResult clone()
-
-