@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeFleetsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeFleetsRequest>
NOOP
Constructor and Description |
---|
DescribeFleetsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeFleetsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DescribeFleetsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
The filters.
|
List<String> |
getFleetIds()
The ID of the EC2 Fleets.
|
Integer |
getMaxResults()
The maximum number of results to return in a single call.
|
String |
getNextToken()
The token for the next set of results.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
The filters.
|
void |
setFleetIds(Collection<String> fleetIds)
The ID of the EC2 Fleets.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return in a single call.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeFleetsRequest |
withFilters(Collection<Filter> filters)
The filters.
|
DescribeFleetsRequest |
withFilters(Filter... filters)
The filters.
|
DescribeFleetsRequest |
withFleetIds(Collection<String> fleetIds)
The ID of the EC2 Fleets.
|
DescribeFleetsRequest |
withFleetIds(String... fleetIds)
The ID of the EC2 Fleets.
|
DescribeFleetsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return in a single call.
|
DescribeFleetsRequest |
withNextToken(String nextToken)
The token for the next set of results.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setMaxResults(Integer maxResults)
The maximum number of results to return in a single call. Specify a value between 1 and 1000. The default value
is 1000. To retrieve the remaining results, make another call with the returned NextToken
value.
maxResults
- The maximum number of results to return in a single call. Specify a value between 1 and 1000. The default
value is 1000. To retrieve the remaining results, make another call with the returned
NextToken
value.public Integer getMaxResults()
The maximum number of results to return in a single call. Specify a value between 1 and 1000. The default value
is 1000. To retrieve the remaining results, make another call with the returned NextToken
value.
NextToken
value.public DescribeFleetsRequest withMaxResults(Integer maxResults)
The maximum number of results to return in a single call. Specify a value between 1 and 1000. The default value
is 1000. To retrieve the remaining results, make another call with the returned NextToken
value.
maxResults
- The maximum number of results to return in a single call. Specify a value between 1 and 1000. The default
value is 1000. To retrieve the remaining results, make another call with the returned
NextToken
value.public void setNextToken(String nextToken)
The token for the next set of results.
nextToken
- The token for the next set of results.public String getNextToken()
The token for the next set of results.
public DescribeFleetsRequest withNextToken(String nextToken)
The token for the next set of results.
nextToken
- The token for the next set of results.public List<String> getFleetIds()
The ID of the EC2 Fleets.
public void setFleetIds(Collection<String> fleetIds)
The ID of the EC2 Fleets.
fleetIds
- The ID of the EC2 Fleets.public DescribeFleetsRequest withFleetIds(String... fleetIds)
The ID of the EC2 Fleets.
NOTE: This method appends the values to the existing list (if any). Use
setFleetIds(java.util.Collection)
or withFleetIds(java.util.Collection)
if you want to override
the existing values.
fleetIds
- The ID of the EC2 Fleets.public DescribeFleetsRequest withFleetIds(Collection<String> fleetIds)
The ID of the EC2 Fleets.
fleetIds
- The ID of the EC2 Fleets.public List<Filter> getFilters()
The filters.
activity-status
- The progress of the EC2 Fleet ( error
|
pending-fulfillment
| pending-termination
| fulfilled
).
excess-capacity-termination-policy
- Indicates whether to terminate running instances if the target
capacity is decreased below the current EC2 Fleet size (true
| false
).
fleet-state
- The state of the EC2 Fleet (submitted
| active
|
deleted
| failed
| deleted-running
| deleted-terminating
|
modifying
).
replace-unhealthy-instances
- Indicates whether EC2 Fleet should replace unhealthy instances (
true
| false
).
type
- The type of request (instant
| request
| maintain
).
activity-status
- The progress of the EC2 Fleet ( error
|
pending-fulfillment
| pending-termination
| fulfilled
).
excess-capacity-termination-policy
- Indicates whether to terminate running instances if the
target capacity is decreased below the current EC2 Fleet size (true
| false
).
fleet-state
- The state of the EC2 Fleet (submitted
| active
|
deleted
| failed
| deleted-running
|
deleted-terminating
| modifying
).
replace-unhealthy-instances
- Indicates whether EC2 Fleet should replace unhealthy instances
(true
| false
).
type
- The type of request (instant
| request
|
maintain
).
public void setFilters(Collection<Filter> filters)
The filters.
activity-status
- The progress of the EC2 Fleet ( error
|
pending-fulfillment
| pending-termination
| fulfilled
).
excess-capacity-termination-policy
- Indicates whether to terminate running instances if the target
capacity is decreased below the current EC2 Fleet size (true
| false
).
fleet-state
- The state of the EC2 Fleet (submitted
| active
|
deleted
| failed
| deleted-running
| deleted-terminating
|
modifying
).
replace-unhealthy-instances
- Indicates whether EC2 Fleet should replace unhealthy instances (
true
| false
).
type
- The type of request (instant
| request
| maintain
).
filters
- The filters.
activity-status
- The progress of the EC2 Fleet ( error
|
pending-fulfillment
| pending-termination
| fulfilled
).
excess-capacity-termination-policy
- Indicates whether to terminate running instances if the
target capacity is decreased below the current EC2 Fleet size (true
| false
).
fleet-state
- The state of the EC2 Fleet (submitted
| active
|
deleted
| failed
| deleted-running
|
deleted-terminating
| modifying
).
replace-unhealthy-instances
- Indicates whether EC2 Fleet should replace unhealthy instances
(true
| false
).
type
- The type of request (instant
| request
|
maintain
).
public DescribeFleetsRequest withFilters(Filter... filters)
The filters.
activity-status
- The progress of the EC2 Fleet ( error
|
pending-fulfillment
| pending-termination
| fulfilled
).
excess-capacity-termination-policy
- Indicates whether to terminate running instances if the target
capacity is decreased below the current EC2 Fleet size (true
| false
).
fleet-state
- The state of the EC2 Fleet (submitted
| active
|
deleted
| failed
| deleted-running
| deleted-terminating
|
modifying
).
replace-unhealthy-instances
- Indicates whether EC2 Fleet should replace unhealthy instances (
true
| false
).
type
- The type of request (instant
| request
| maintain
).
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- The filters.
activity-status
- The progress of the EC2 Fleet ( error
|
pending-fulfillment
| pending-termination
| fulfilled
).
excess-capacity-termination-policy
- Indicates whether to terminate running instances if the
target capacity is decreased below the current EC2 Fleet size (true
| false
).
fleet-state
- The state of the EC2 Fleet (submitted
| active
|
deleted
| failed
| deleted-running
|
deleted-terminating
| modifying
).
replace-unhealthy-instances
- Indicates whether EC2 Fleet should replace unhealthy instances
(true
| false
).
type
- The type of request (instant
| request
|
maintain
).
public DescribeFleetsRequest withFilters(Collection<Filter> filters)
The filters.
activity-status
- The progress of the EC2 Fleet ( error
|
pending-fulfillment
| pending-termination
| fulfilled
).
excess-capacity-termination-policy
- Indicates whether to terminate running instances if the target
capacity is decreased below the current EC2 Fleet size (true
| false
).
fleet-state
- The state of the EC2 Fleet (submitted
| active
|
deleted
| failed
| deleted-running
| deleted-terminating
|
modifying
).
replace-unhealthy-instances
- Indicates whether EC2 Fleet should replace unhealthy instances (
true
| false
).
type
- The type of request (instant
| request
| maintain
).
filters
- The filters.
activity-status
- The progress of the EC2 Fleet ( error
|
pending-fulfillment
| pending-termination
| fulfilled
).
excess-capacity-termination-policy
- Indicates whether to terminate running instances if the
target capacity is decreased below the current EC2 Fleet size (true
| false
).
fleet-state
- The state of the EC2 Fleet (submitted
| active
|
deleted
| failed
| deleted-running
|
deleted-terminating
| modifying
).
replace-unhealthy-instances
- Indicates whether EC2 Fleet should replace unhealthy instances
(true
| false
).
type
- The type of request (instant
| request
|
maintain
).
public Request<DescribeFleetsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeFleetsRequest>
public String toString()
toString
in class Object
Object.toString()
public DescribeFleetsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.