@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeFleetInstancesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeFleetInstancesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeFleetInstancesResult |
clone() |
boolean |
equals(Object obj) |
List<ActiveInstance> |
getActiveInstances()
The running instances.
|
String |
getFleetId()
The ID of the EC2 Fleet.
|
String |
getNextToken()
The token to include in another request to get the next page of items.
|
int |
hashCode() |
void |
setActiveInstances(Collection<ActiveInstance> activeInstances)
The running instances.
|
void |
setFleetId(String fleetId)
The ID of the EC2 Fleet.
|
void |
setNextToken(String nextToken)
The token to include in another request to get the next page of items.
|
String |
toString()
Returns a string representation of this object.
|
DescribeFleetInstancesResult |
withActiveInstances(ActiveInstance... activeInstances)
The running instances.
|
DescribeFleetInstancesResult |
withActiveInstances(Collection<ActiveInstance> activeInstances)
The running instances.
|
DescribeFleetInstancesResult |
withFleetId(String fleetId)
The ID of the EC2 Fleet.
|
DescribeFleetInstancesResult |
withNextToken(String nextToken)
The token to include in another request to get the next page of items.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ActiveInstance> getActiveInstances()
The running instances. This list is refreshed periodically and might be out of date.
public void setActiveInstances(Collection<ActiveInstance> activeInstances)
The running instances. This list is refreshed periodically and might be out of date.
activeInstances
- The running instances. This list is refreshed periodically and might be out of date.public DescribeFleetInstancesResult withActiveInstances(ActiveInstance... activeInstances)
The running instances. This list is refreshed periodically and might be out of date.
NOTE: This method appends the values to the existing list (if any). Use
setActiveInstances(java.util.Collection)
or withActiveInstances(java.util.Collection)
if you
want to override the existing values.
activeInstances
- The running instances. This list is refreshed periodically and might be out of date.public DescribeFleetInstancesResult withActiveInstances(Collection<ActiveInstance> activeInstances)
The running instances. This list is refreshed periodically and might be out of date.
activeInstances
- The running instances. This list is refreshed periodically and might be out of date.public void setNextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.public String getNextToken()
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
null
when there are no more items to return.public DescribeFleetInstancesResult withNextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.public void setFleetId(String fleetId)
The ID of the EC2 Fleet.
fleetId
- The ID of the EC2 Fleet.public String getFleetId()
The ID of the EC2 Fleet.
public DescribeFleetInstancesResult withFleetId(String fleetId)
The ID of the EC2 Fleet.
fleetId
- The ID of the EC2 Fleet.public String toString()
toString
in class Object
Object.toString()
public DescribeFleetInstancesResult clone()