|
|||||||
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 | |
---|---|
boolean |
equals(Object obj)
|
String |
getAvailabilityZone()
Filters the results by availability zone (ex: 'us-east-1a'). |
Date |
getEndTime()
The end date and time of the Spot Instance price history data. |
List<Filter> |
getFilters()
A list of filters used to match properties for SpotPriceHistory. |
List<String> |
getInstanceTypes()
Specifies the instance type to return. |
Integer |
getMaxResults()
Specifies the number of rows to return. |
String |
getNextToken()
Specifies the next set of rows to return. |
List<String> |
getProductDescriptions()
The description of the AMI. |
Date |
getStartTime()
The start date and time of the Spot Instance price history data. |
int |
hashCode()
|
void |
setAvailabilityZone(String availabilityZone)
Filters the results by availability zone (ex: 'us-east-1a'). |
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 properties for SpotPriceHistory. |
void |
setInstanceTypes(Collection<String> instanceTypes)
Specifies the instance type to return. |
void |
setMaxResults(Integer maxResults)
Specifies the number of rows to return. |
void |
setNextToken(String nextToken)
Specifies the next set of rows 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 |
withAvailabilityZone(String availabilityZone)
Filters the results by availability zone (ex: 'us-east-1a'). |
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 properties for SpotPriceHistory. |
DescribeSpotPriceHistoryRequest |
withFilters(Filter... filters)
A list of filters used to match properties for SpotPriceHistory. |
DescribeSpotPriceHistoryRequest |
withInstanceTypes(Collection<String> instanceTypes)
Specifies the instance type to return. |
DescribeSpotPriceHistoryRequest |
withInstanceTypes(String... instanceTypes)
Specifies the instance type to return. |
DescribeSpotPriceHistoryRequest |
withMaxResults(Integer maxResults)
Specifies the number of rows to return. |
DescribeSpotPriceHistoryRequest |
withNextToken(String nextToken)
Specifies the next set of rows 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, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, 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 properties for 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 properties for 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 properties for SpotPriceHistory. For a
complete reference to the available filter keys for this operation,
see the Amazon
EC2 API reference.
public String getAvailabilityZone()
public void setAvailabilityZone(String availabilityZone)
availabilityZone
- Filters the results by availability zone (ex: 'us-east-1a').public DescribeSpotPriceHistoryRequest withAvailabilityZone(String availabilityZone)
Returns a reference to this object so that method calls can be chained together.
availabilityZone
- Filters the results by availability zone (ex: 'us-east-1a').
public Integer getMaxResults()
public void setMaxResults(Integer maxResults)
maxResults
- Specifies the number of rows to return.public DescribeSpotPriceHistoryRequest withMaxResults(Integer maxResults)
Returns a reference to this object so that method calls can be chained together.
maxResults
- Specifies the number of rows to return.
public String getNextToken()
public void setNextToken(String nextToken)
nextToken
- Specifies the next set of rows to return.public DescribeSpotPriceHistoryRequest withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken
- Specifies the next set of rows to return.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |