@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RequestSpotInstancesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of RequestSpotInstances.
Constructor and Description |
---|
RequestSpotInstancesResult() |
Modifier and Type | Method and Description |
---|---|
RequestSpotInstancesResult |
clone() |
boolean |
equals(Object obj) |
List<SpotInstanceRequest> |
getSpotInstanceRequests()
The Spot Instance requests.
|
int |
hashCode() |
void |
setSpotInstanceRequests(Collection<SpotInstanceRequest> spotInstanceRequests)
The Spot Instance requests.
|
String |
toString()
Returns a string representation of this object.
|
RequestSpotInstancesResult |
withSpotInstanceRequests(Collection<SpotInstanceRequest> spotInstanceRequests)
The Spot Instance requests.
|
RequestSpotInstancesResult |
withSpotInstanceRequests(SpotInstanceRequest... spotInstanceRequests)
The Spot Instance requests.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<SpotInstanceRequest> getSpotInstanceRequests()
The Spot Instance requests.
public void setSpotInstanceRequests(Collection<SpotInstanceRequest> spotInstanceRequests)
The Spot Instance requests.
spotInstanceRequests
- The Spot Instance requests.public RequestSpotInstancesResult withSpotInstanceRequests(SpotInstanceRequest... spotInstanceRequests)
The Spot Instance requests.
NOTE: This method appends the values to the existing list (if any). Use
setSpotInstanceRequests(java.util.Collection)
or withSpotInstanceRequests(java.util.Collection)
if you want to override the existing values.
spotInstanceRequests
- The Spot Instance requests.public RequestSpotInstancesResult withSpotInstanceRequests(Collection<SpotInstanceRequest> spotInstanceRequests)
The Spot Instance requests.
spotInstanceRequests
- The Spot Instance requests.public String toString()
toString
in class Object
Object.toString()
public RequestSpotInstancesResult clone()