public class DescribeSpotFleetInstancesResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of DescribeSpotFleetInstances.
| Constructor and Description |
|---|
DescribeSpotFleetInstancesResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<ActiveInstance> |
getActiveInstances()
The running instances.
|
java.lang.String |
getNextToken()
The token required to retrieve the next set of results.
|
java.lang.String |
getSpotFleetRequestId()
The ID of the Spot fleet request.
|
int |
hashCode() |
void |
setActiveInstances(java.util.Collection<ActiveInstance> activeInstances)
The running instances.
|
void |
setNextToken(java.lang.String nextToken)
The token required to retrieve the next set of results.
|
void |
setSpotFleetRequestId(java.lang.String spotFleetRequestId)
The ID of the Spot fleet request.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeSpotFleetInstancesResult |
withActiveInstances(ActiveInstance... activeInstances)
The running instances.
|
DescribeSpotFleetInstancesResult |
withActiveInstances(java.util.Collection<ActiveInstance> activeInstances)
The running instances.
|
DescribeSpotFleetInstancesResult |
withNextToken(java.lang.String nextToken)
The token required to retrieve the next set of results.
|
DescribeSpotFleetInstancesResult |
withSpotFleetRequestId(java.lang.String spotFleetRequestId)
The ID of the Spot fleet request.
|
public java.lang.String getSpotFleetRequestId()
public void setSpotFleetRequestId(java.lang.String spotFleetRequestId)
spotFleetRequestId - The ID of the Spot fleet request.public DescribeSpotFleetInstancesResult withSpotFleetRequestId(java.lang.String spotFleetRequestId)
Returns a reference to this object so that method calls can be chained together.
spotFleetRequestId - The ID of the Spot fleet request.public java.util.List<ActiveInstance> getActiveInstances()
public void setActiveInstances(java.util.Collection<ActiveInstance> activeInstances)
activeInstances - The running instances. Note that this list is refreshed periodically
and might be out of date.public DescribeSpotFleetInstancesResult withActiveInstances(ActiveInstance... activeInstances)
Returns a reference to this object so that method calls can be chained together.
activeInstances - The running instances. Note that this list is refreshed periodically
and might be out of date.public DescribeSpotFleetInstancesResult withActiveInstances(java.util.Collection<ActiveInstance> activeInstances)
Returns a reference to this object so that method calls can be chained together.
activeInstances - The running instances. Note that this list is refreshed periodically
and might be out of date.public java.lang.String getNextToken()
null when there are no more results to return.null when there are no more results to return.public void setNextToken(java.lang.String nextToken)
null when there are no more results to return.nextToken - The token required to retrieve the next set of results. This value is
null when there are no more results to return.public DescribeSpotFleetInstancesResult withNextToken(java.lang.String nextToken)
null when there are no more results to return.
Returns a reference to this object so that method calls can be chained together.
nextToken - The token required to retrieve the next set of results. This value is
null when there are no more results to return.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.