@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() |
List<TrailInfo> |
getTrails()
Returns the name, ARN, and home region of trails in the current account.
|
int |
hashCode() |
void |
setNextToken(String nextToken) |
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) |
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)
nextToken - public String getNextToken()
public ListTrailsResult withNextToken(String nextToken)
nextToken - public String toString()
toString in class ObjectObject.toString()public ListTrailsResult clone()
Copyright © 2019. All rights reserved.