Class DescribeSpotFleetRequestsResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.DescribeSpotFleetRequestsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeSpotFleetRequestsResult extends Object implements Serializable, Cloneable
Contains the output of DescribeSpotFleetRequests.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeSpotFleetRequestsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeSpotFleetRequestsResult
clone()
boolean
equals(Object obj)
String
getNextToken()
The token required to retrieve the next set of results.List<SpotFleetRequestConfig>
getSpotFleetRequestConfigs()
Information about the configuration of your Spot fleet.int
hashCode()
void
setNextToken(String nextToken)
The token required to retrieve the next set of results.void
setSpotFleetRequestConfigs(Collection<SpotFleetRequestConfig> spotFleetRequestConfigs)
Information about the configuration of your Spot fleet.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeSpotFleetRequestsResult
withNextToken(String nextToken)
The token required to retrieve the next set of results.DescribeSpotFleetRequestsResult
withSpotFleetRequestConfigs(SpotFleetRequestConfig... spotFleetRequestConfigs)
Information about the configuration of your Spot fleet.DescribeSpotFleetRequestsResult
withSpotFleetRequestConfigs(Collection<SpotFleetRequestConfig> spotFleetRequestConfigs)
Information about the configuration of your Spot fleet.
-
-
-
Method Detail
-
getSpotFleetRequestConfigs
public List<SpotFleetRequestConfig> getSpotFleetRequestConfigs()
Information about the configuration of your Spot fleet.
- Returns:
- Information about the configuration of your Spot fleet.
-
setSpotFleetRequestConfigs
public void setSpotFleetRequestConfigs(Collection<SpotFleetRequestConfig> spotFleetRequestConfigs)
Information about the configuration of your Spot fleet.
- Parameters:
spotFleetRequestConfigs
- Information about the configuration of your Spot fleet.
-
withSpotFleetRequestConfigs
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)
orwithSpotFleetRequestConfigs(java.util.Collection)
if you want to override the existing values.- Parameters:
spotFleetRequestConfigs
- Information about the configuration of your Spot fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSpotFleetRequestConfigs
public DescribeSpotFleetRequestsResult withSpotFleetRequestConfigs(Collection<SpotFleetRequestConfig> spotFleetRequestConfigs)
Information about the configuration of your Spot fleet.
- Parameters:
spotFleetRequestConfigs
- Information about the configuration of your Spot fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
The token required to retrieve the next set of results. This value is
null
when there are no more results to return.- Parameters:
nextToken
- The token required to retrieve the next set of results. This value isnull
when there are no more results to return.
-
getNextToken
public String getNextToken()
The token required to retrieve the next set of results. This value is
null
when there are no more results to return.- Returns:
- The token required to retrieve the next set of results. This
value is
null
when there are no more results to return.
-
withNextToken
public DescribeSpotFleetRequestsResult withNextToken(String nextToken)
The token required to retrieve the next set of results. This value is
null
when there are no more results to return.- Parameters:
nextToken
- The token required to retrieve the next set of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeSpotFleetRequestsResult clone()
-
-