@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 name of the fleet.
|
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 name of the fleet.
|
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.
|
ListAssociatedFleetsResult |
withNames(Collection<String> names)
The name of the fleet.
|
ListAssociatedFleetsResult |
withNames(String... names)
The name of the fleet.
|
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 name of the fleet.
names
- The name of the fleet.public ListAssociatedFleetsResult withNames(String... names)
The name of the fleet.
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 name of the fleet.public ListAssociatedFleetsResult withNames(Collection<String> names)
The name of the fleet.
names
- The name of the fleet.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()