@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAssociatedFleetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAssociatedFleetsResult() |
Modifier and Type | Method and Description |
---|---|
ListAssociatedFleetsResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getNames()
The names of the fleets.
|
String |
getNextToken()
The pagination token to use to retrieve the next page of results for this operation.
|
int |
hashCode() |
void |
setNames(Collection<String> names)
The names of the fleets.
|
void |
setNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListAssociatedFleetsResult |
withNames(Collection<String> names)
The names of the fleets.
|
ListAssociatedFleetsResult |
withNames(String... names)
The names of the fleets.
|
ListAssociatedFleetsResult |
withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNames(Collection<String> names)
The names of the fleets.
names
- The names of the fleets.public ListAssociatedFleetsResult withNames(String... names)
The names of the fleets.
NOTE: This method appends the values to the existing list (if any). Use
setNames(java.util.Collection)
or withNames(java.util.Collection)
if you want to override the
existing values.
names
- The names of the fleets.public ListAssociatedFleetsResult withNames(Collection<String> names)
The names of the fleets.
names
- The names of the fleets.public void setNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
nextToken
- The pagination token to use to retrieve the next page of results for this operation. If there are no more
pages, this value is null.public String getNextToken()
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
public ListAssociatedFleetsResult withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
nextToken
- The pagination token to use to retrieve the next page of results for this operation. If there are no more
pages, this value is null.public String toString()
toString
in class Object
Object.toString()
public ListAssociatedFleetsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.