@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeSpotInstanceRequestsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of DescribeSpotInstanceRequests.
Constructor and Description |
---|
DescribeSpotInstanceRequestsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeSpotInstanceRequestsResult |
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.
|
DescribeSpotInstanceRequestsResult |
withSpotInstanceRequests(Collection<SpotInstanceRequest> spotInstanceRequests)
One or more Spot instance requests.
|
DescribeSpotInstanceRequestsResult |
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 DescribeSpotInstanceRequestsResult 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 DescribeSpotInstanceRequestsResult 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 DescribeSpotInstanceRequestsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.