@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListFleetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListFleetsResult() |
Modifier and Type | Method and Description |
---|---|
ListFleetsResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getFleets()
The list of compute fleet names.
|
String |
getNextToken()
If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string
called a nextToken.
|
int |
hashCode() |
void |
setFleets(Collection<String> fleets)
The list of compute fleet names.
|
void |
setNextToken(String nextToken)
If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string
called a nextToken.
|
String |
toString()
Returns a string representation of this object.
|
ListFleetsResult |
withFleets(Collection<String> fleets)
The list of compute fleet names.
|
ListFleetsResult |
withFleets(String... fleets)
The list of compute fleet names.
|
ListFleetsResult |
withNextToken(String nextToken)
If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string
called a nextToken.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call.
nextToken
- If there are more than 100 items in the list, only the first 100 items are returned, along with a unique
string called a nextToken. To get the next batch of items in the list, call this operation again,
adding the next token to the call.public String getNextToken()
If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call.
public ListFleetsResult withNextToken(String nextToken)
If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call.
nextToken
- If there are more than 100 items in the list, only the first 100 items are returned, along with a unique
string called a nextToken. To get the next batch of items in the list, call this operation again,
adding the next token to the call.public List<String> getFleets()
The list of compute fleet names.
public void setFleets(Collection<String> fleets)
The list of compute fleet names.
fleets
- The list of compute fleet names.public ListFleetsResult withFleets(String... fleets)
The list of compute fleet names.
NOTE: This method appends the values to the existing list (if any). Use
setFleets(java.util.Collection)
or withFleets(java.util.Collection)
if you want to override the
existing values.
fleets
- The list of compute fleet names.public ListFleetsResult withFleets(Collection<String> fleets)
The list of compute fleet names.
fleets
- The list of compute fleet names.public String toString()
toString
in class Object
Object.toString()
public ListFleetsResult clone()