@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTrailsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
| ListTrailsResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| ListTrailsResult | clone() | 
| boolean | equals(Object obj) | 
| String | getNextToken()
 The token to use to get the next page of results after a previous API call. | 
| List<TrailInfo> | getTrails()
 Returns the name, ARN, and home Region of trails in the current account. | 
| int | hashCode() | 
| void | setNextToken(String nextToken)
 The token to use to get the next page of results after a previous API call. | 
| void | setTrails(Collection<TrailInfo> trails)
 Returns the name, ARN, and home Region of trails in the current account. | 
| String | toString()Returns a string representation of this object. | 
| ListTrailsResult | withNextToken(String nextToken)
 The token to use to get the next page of results after a previous API call. | 
| ListTrailsResult | withTrails(Collection<TrailInfo> trails)
 Returns the name, ARN, and home Region of trails in the current account. | 
| ListTrailsResult | withTrails(TrailInfo... trails)
 Returns the name, ARN, and home Region of trails in the current account. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<TrailInfo> getTrails()
Returns the name, ARN, and home Region of trails in the current account.
public void setTrails(Collection<TrailInfo> trails)
Returns the name, ARN, and home Region of trails in the current account.
trails - Returns the name, ARN, and home Region of trails in the current account.public ListTrailsResult withTrails(TrailInfo... trails)
Returns the name, ARN, and home Region of trails in the current account.
 NOTE: This method appends the values to the existing list (if any). Use
 setTrails(java.util.Collection) or withTrails(java.util.Collection) if you want to override the
 existing values.
 
trails - Returns the name, ARN, and home Region of trails in the current account.public ListTrailsResult withTrails(Collection<TrailInfo> trails)
Returns the name, ARN, and home Region of trails in the current account.
trails - Returns the name, ARN, and home Region of trails in the current account.public void setNextToken(String nextToken)
The token to use to get the next page of results after a previous API call. If the token does not appear, there are no more results to return. The token must be passed in with the same parameters as the previous call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should include those same parameters.
nextToken - The token to use to get the next page of results after a previous API call. If the token does not appear,
        there are no more results to return. The token must be passed in with the same parameters as the previous
        call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root',
        the call with NextToken should include those same parameters.public String getNextToken()
The token to use to get the next page of results after a previous API call. If the token does not appear, there are no more results to return. The token must be passed in with the same parameters as the previous call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should include those same parameters.
public ListTrailsResult withNextToken(String nextToken)
The token to use to get the next page of results after a previous API call. If the token does not appear, there are no more results to return. The token must be passed in with the same parameters as the previous call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should include those same parameters.
nextToken - The token to use to get the next page of results after a previous API call. If the token does not appear,
        there are no more results to return. The token must be passed in with the same parameters as the previous
        call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root',
        the call with NextToken should include those same parameters.public String toString()
toString in class ObjectObject.toString()public ListTrailsResult clone()