@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAssociatedFleetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The response from a successful operation.
| Constructor and Description |
|---|
ListAssociatedFleetsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListAssociatedFleetsResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getNames()
The names of associated 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 associated 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 associated fleets.
|
ListAssociatedFleetsResult |
withNames(String... names)
The names of associated fleets.
|
ListAssociatedFleetsResult |
withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<String> getNames()
The names of associated fleets.
public void setNames(Collection<String> names)
The names of associated fleets.
names - The names of associated fleets.public ListAssociatedFleetsResult withNames(String... names)
The names of associated 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 associated fleets.public ListAssociatedFleetsResult withNames(Collection<String> names)
The names of associated fleets.
names - The names of associated 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 ObjectObject.toString()public ListAssociatedFleetsResult clone()
Copyright © 2017. All rights reserved.