|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.DescribeSpotPriceHistoryRequest
public class DescribeSpotPriceHistoryRequest
Container for the parameters to the DescribeSpotPriceHistory operation
.
Describes the Spot Price history.
Spot Instances are instances that Amazon EC2 starts on your behalf when the maximum price that you specify exceeds the current Spot Price. Amazon EC2 periodically sets the Spot Price based on available Spot Instance capacity and current spot instance requests.
For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide .
AmazonEC2.describeSpotPriceHistory(DescribeSpotPriceHistoryRequest)
Constructor Summary | |
---|---|
DescribeSpotPriceHistoryRequest()
|
Method Summary | |
---|---|
Date |
getEndTime()
The end date and time of the Spot Instance price history data. |
List<Filter> |
getFilters()
A list of filters used to match tags associated with the specified SpotPriceHistory. |
List<String> |
getInstanceTypes()
Specifies the instance type to return. |
List<String> |
getProductDescriptions()
The description of the AMI. |
Date |
getStartTime()
The start date and time of the Spot Instance price history data. |
void |
setEndTime(Date endTime)
The end date and time of the Spot Instance price history data. |
void |
setFilters(Collection<Filter> filters)
A list of filters used to match tags associated with the specified SpotPriceHistory. |
void |
setInstanceTypes(Collection<String> instanceTypes)
Specifies the instance type to return. |
void |
setProductDescriptions(Collection<String> productDescriptions)
The description of the AMI. |
void |
setStartTime(Date startTime)
The start date and time of the Spot Instance price history data. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DescribeSpotPriceHistoryRequest |
withEndTime(Date endTime)
The end date and time of the Spot Instance price history data. |
DescribeSpotPriceHistoryRequest |
withFilters(Collection<Filter> filters)
A list of filters used to match tags associated with the specified SpotPriceHistory. |
DescribeSpotPriceHistoryRequest |
withFilters(Filter... filters)
A list of filters used to match tags associated with the specified SpotPriceHistory. |
DescribeSpotPriceHistoryRequest |
withInstanceTypes(Collection<String> instanceTypes)
Specifies the instance type to return. |
DescribeSpotPriceHistoryRequest |
withInstanceTypes(String... instanceTypes)
Specifies the instance type to return. |
DescribeSpotPriceHistoryRequest |
withProductDescriptions(Collection<String> productDescriptions)
The description of the AMI. |
DescribeSpotPriceHistoryRequest |
withProductDescriptions(String... productDescriptions)
The description of the AMI. |
DescribeSpotPriceHistoryRequest |
withStartTime(Date startTime)
The start date and time of the Spot Instance price history data. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeSpotPriceHistoryRequest()
Method Detail |
---|
public Date getStartTime()
public void setStartTime(Date startTime)
startTime
- The start date and time of the Spot Instance price history data.public DescribeSpotPriceHistoryRequest withStartTime(Date startTime)
Returns a reference to this object so that method calls can be chained together.
startTime
- The start date and time of the Spot Instance price history data.
public Date getEndTime()
public void setEndTime(Date endTime)
endTime
- The end date and time of the Spot Instance price history data.public DescribeSpotPriceHistoryRequest withEndTime(Date endTime)
Returns a reference to this object so that method calls can be chained together.
endTime
- The end date and time of the Spot Instance price history data.
public List<String> getInstanceTypes()
public void setInstanceTypes(Collection<String> instanceTypes)
instanceTypes
- Specifies the instance type to return.public DescribeSpotPriceHistoryRequest withInstanceTypes(String... instanceTypes)
Returns a reference to this object so that method calls can be chained together.
instanceTypes
- Specifies the instance type to return.
public DescribeSpotPriceHistoryRequest withInstanceTypes(Collection<String> instanceTypes)
Returns a reference to this object so that method calls can be chained together.
instanceTypes
- Specifies the instance type to return.
public List<String> getProductDescriptions()
public void setProductDescriptions(Collection<String> productDescriptions)
productDescriptions
- The description of the AMI.public DescribeSpotPriceHistoryRequest withProductDescriptions(String... productDescriptions)
Returns a reference to this object so that method calls can be chained together.
productDescriptions
- The description of the AMI.
public DescribeSpotPriceHistoryRequest withProductDescriptions(Collection<String> productDescriptions)
Returns a reference to this object so that method calls can be chained together.
productDescriptions
- The description of the AMI.
public List<Filter> getFilters()
public void setFilters(Collection<Filter> filters)
filters
- A list of filters used to match tags associated with the specified
SpotPriceHistory. For a complete reference to the available filter
keys for this operation, see the Amazon
EC2 API reference.public DescribeSpotPriceHistoryRequest withFilters(Filter... filters)
Returns a reference to this object so that method calls can be chained together.
filters
- A list of filters used to match tags associated with the specified
SpotPriceHistory. For a complete reference to the available filter
keys for this operation, see the Amazon
EC2 API reference.
public DescribeSpotPriceHistoryRequest withFilters(Collection<Filter> filters)
Returns a reference to this object so that method calls can be chained together.
filters
- A list of filters used to match tags associated with the specified
SpotPriceHistory. For a complete reference to the available filter
keys for this operation, see the Amazon
EC2 API reference.
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |