@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeFleetsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DescribeFleetsRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeFleetsRequest |
clone() |
boolean |
equals(Object obj) |
List<String> |
getNames()
The fleet names to describe.
|
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 fleet names to describe.
|
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.
|
DescribeFleetsRequest |
withNames(Collection<String> names)
The fleet names to describe.
|
DescribeFleetsRequest |
withNames(String... names)
The fleet names to describe.
|
DescribeFleetsRequest |
withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic List<String> getNames()
The fleet names to describe. Use null to describe all the fleets for the AWS account.
public void setNames(Collection<String> names)
The fleet names to describe. Use null to describe all the fleets for the AWS account.
names - The fleet names to describe. Use null to describe all the fleets for the AWS account.public DescribeFleetsRequest withNames(String... names)
The fleet names to describe. Use null to describe all the fleets for the AWS account.
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 fleet names to describe. Use null to describe all the fleets for the AWS account.public DescribeFleetsRequest withNames(Collection<String> names)
The fleet names to describe. Use null to describe all the fleets for the AWS account.
names - The fleet names to describe. Use null to describe all the fleets for the AWS account.public void setNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
nextToken - The pagination token to use to retrieve the next page of results for this operation. If this value is
null, it retrieves the first page.public String getNextToken()
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
public DescribeFleetsRequest withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
nextToken - The pagination token to use to retrieve the next page of results for this operation. If this value is
null, it retrieves the first page.public String toString()
toString in class ObjectObject.toString()public DescribeFleetsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2017. All rights reserved.