public class DescribeSpotFleetRequestsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of DescribeSpotFleetRequests.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextToken
The token required to retrieve the next set of results.
|
private SdkInternalList<SpotFleetRequestConfig> |
spotFleetRequestConfigs
Information about the configuration of your Spot fleet.
|
Constructor and Description |
---|
DescribeSpotFleetRequestsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeSpotFleetRequestsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
The token required to retrieve the next set of results.
|
java.util.List<SpotFleetRequestConfig> |
getSpotFleetRequestConfigs()
Information about the configuration of your Spot fleet.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
The token required to retrieve the next set of results.
|
void |
setSpotFleetRequestConfigs(java.util.Collection<SpotFleetRequestConfig> spotFleetRequestConfigs)
Information about the configuration of your Spot fleet.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeSpotFleetRequestsResult |
withNextToken(java.lang.String nextToken)
The token required to retrieve the next set of results.
|
DescribeSpotFleetRequestsResult |
withSpotFleetRequestConfigs(java.util.Collection<SpotFleetRequestConfig> spotFleetRequestConfigs)
Information about the configuration of your Spot fleet.
|
DescribeSpotFleetRequestsResult |
withSpotFleetRequestConfigs(SpotFleetRequestConfig... spotFleetRequestConfigs)
Information about the configuration of your Spot fleet.
|
private SdkInternalList<SpotFleetRequestConfig> spotFleetRequestConfigs
Information about the configuration of your Spot fleet.
private java.lang.String 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.util.List<SpotFleetRequestConfig> getSpotFleetRequestConfigs()
Information about the configuration of your Spot fleet.
public void setSpotFleetRequestConfigs(java.util.Collection<SpotFleetRequestConfig> spotFleetRequestConfigs)
Information about the configuration of your Spot fleet.
spotFleetRequestConfigs
- Information about the configuration of your Spot fleet.public DescribeSpotFleetRequestsResult withSpotFleetRequestConfigs(SpotFleetRequestConfig... spotFleetRequestConfigs)
Information about the configuration of your Spot fleet.
NOTE: This method appends the values to the existing list (if
any). Use setSpotFleetRequestConfigs(java.util.Collection)
or
withSpotFleetRequestConfigs(java.util.Collection)
if you want to
override the existing values.
spotFleetRequestConfigs
- Information about the configuration of your Spot fleet.public DescribeSpotFleetRequestsResult withSpotFleetRequestConfigs(java.util.Collection<SpotFleetRequestConfig> spotFleetRequestConfigs)
Information about the configuration of your Spot fleet.
spotFleetRequestConfigs
- Information about the configuration of your Spot fleet.public void setNextToken(java.lang.String nextToken)
The token required to retrieve the next set of results. This value is
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 java.lang.String getNextToken()
The token required to retrieve the next set of results. This value is
null
when there are no more results to return.
null
when there are no more results to
return.public DescribeSpotFleetRequestsResult withNextToken(java.lang.String nextToken)
The token required to retrieve the next set of results. This value is
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeSpotFleetRequestsResult clone()
clone
in class java.lang.Object