Class DescribeTrailsResult
java.lang.Object
com.amazonaws.services.cloudtrail.model.DescribeTrailsResult
- All Implemented Interfaces:
Serializable
,Cloneable
Returns the objects or data listed below if successful. Otherwise, returns an error.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The list of trail objects.int
hashCode()
void
setTrailList
(Collection<Trail> trailList) The list of trail objects.toString()
Returns a string representation of this object; useful for testing and debugging.withTrailList
(Trail... trailList) The list of trail objects.withTrailList
(Collection<Trail> trailList) The list of trail objects.
-
Constructor Details
-
DescribeTrailsResult
public DescribeTrailsResult()
-
-
Method Details
-
getTrailList
The list of trail objects.
- Returns:
- The list of trail objects.
-
setTrailList
The list of trail objects.
- Parameters:
trailList
- The list of trail objects.
-
withTrailList
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-