public class DescribeSpotInstanceRequestsResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of DescribeSpotInstanceRequests.
Constructor and Description |
---|
DescribeSpotInstanceRequestsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<SpotInstanceRequest> |
getSpotInstanceRequests()
One or more Spot instance requests.
|
int |
hashCode() |
void |
setSpotInstanceRequests(java.util.Collection<SpotInstanceRequest> spotInstanceRequests)
One or more Spot instance requests.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeSpotInstanceRequestsResult |
withSpotInstanceRequests(java.util.Collection<SpotInstanceRequest> spotInstanceRequests)
One or more Spot instance requests.
|
DescribeSpotInstanceRequestsResult |
withSpotInstanceRequests(SpotInstanceRequest... spotInstanceRequests)
One or more Spot instance requests.
|
public java.util.List<SpotInstanceRequest> getSpotInstanceRequests()
public void setSpotInstanceRequests(java.util.Collection<SpotInstanceRequest> spotInstanceRequests)
spotInstanceRequests
- One or more Spot instance requests.public DescribeSpotInstanceRequestsResult withSpotInstanceRequests(SpotInstanceRequest... spotInstanceRequests)
Returns a reference to this object so that method calls can be chained together.
spotInstanceRequests
- One or more Spot instance requests.public DescribeSpotInstanceRequestsResult withSpotInstanceRequests(java.util.Collection<SpotInstanceRequest> spotInstanceRequests)
Returns a reference to this object so that method calls can be chained together.
spotInstanceRequests
- One or more Spot instance requests.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.