@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()
One or more Spot instance requests.
|
int |
hashCode() |
void |
setSpotInstanceRequests(Collection<SpotInstanceRequest> spotInstanceRequests)
One or more Spot instance requests.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
RequestSpotInstancesResult |
withSpotInstanceRequests(Collection<SpotInstanceRequest> spotInstanceRequests)
One or more Spot instance requests.
|
RequestSpotInstancesResult |
withSpotInstanceRequests(SpotInstanceRequest... spotInstanceRequests)
One or more Spot instance requests.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<SpotInstanceRequest> getSpotInstanceRequests()
One or more Spot instance requests.
public void setSpotInstanceRequests(Collection<SpotInstanceRequest> spotInstanceRequests)
One or more Spot instance requests.
spotInstanceRequests
- One or more Spot instance requests.public RequestSpotInstancesResult withSpotInstanceRequests(SpotInstanceRequest... spotInstanceRequests)
One or more 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
- One or more Spot instance requests.public RequestSpotInstancesResult withSpotInstanceRequests(Collection<SpotInstanceRequest> spotInstanceRequests)
One or more Spot instance requests.
spotInstanceRequests
- One or more Spot instance requests.public String toString()
toString
in class Object
Object.toString()
public RequestSpotInstancesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.