com.amazonaws.services.ec2.model
Class DescribeSpotInstanceRequestsRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.DescribeSpotInstanceRequestsRequest

public class DescribeSpotInstanceRequestsRequest
extends AmazonWebServiceRequest

Container for the parameters to the DescribeSpotInstanceRequests operation.

See Also:
AmazonEC2.describeSpotInstanceRequests(DescribeSpotInstanceRequestsRequest)

Constructor Summary
DescribeSpotInstanceRequestsRequest()
           
 
Method Summary
 List<Filter> getFilters()
          A list of filters used to match properties for SpotInstances.
 List<String> getSpotInstanceRequestIds()
          The ID of the request.
 void setFilters(Collection<Filter> filters)
          A list of filters used to match properties for SpotInstances.
 void setSpotInstanceRequestIds(Collection<String> spotInstanceRequestIds)
          The ID of the request.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeSpotInstanceRequestsRequest withFilters(Collection<Filter> filters)
          A list of filters used to match properties for SpotInstances.
 DescribeSpotInstanceRequestsRequest withFilters(Filter... filters)
          A list of filters used to match properties for SpotInstances.
 DescribeSpotInstanceRequestsRequest withSpotInstanceRequestIds(Collection<String> spotInstanceRequestIds)
          The ID of the request.
 DescribeSpotInstanceRequestsRequest withSpotInstanceRequestIds(String... spotInstanceRequestIds)
          The ID of the request.
 
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

DescribeSpotInstanceRequestsRequest

public DescribeSpotInstanceRequestsRequest()
Method Detail

getSpotInstanceRequestIds

public List<String> getSpotInstanceRequestIds()
The ID of the request.

Returns:
The ID of the request.

setSpotInstanceRequestIds

public void setSpotInstanceRequestIds(Collection<String> spotInstanceRequestIds)
The ID of the request.

Parameters:
spotInstanceRequestIds - The ID of the request.

withSpotInstanceRequestIds

public DescribeSpotInstanceRequestsRequest withSpotInstanceRequestIds(String... spotInstanceRequestIds)
The ID of the request.

Returns a reference to this object so that method calls can be chained together.

Parameters:
spotInstanceRequestIds - The ID of the request.
Returns:
A reference to this updated object so that method calls can be chained together.

withSpotInstanceRequestIds

public DescribeSpotInstanceRequestsRequest withSpotInstanceRequestIds(Collection<String> spotInstanceRequestIds)
The ID of the request.

Returns a reference to this object so that method calls can be chained together.

Parameters:
spotInstanceRequestIds - The ID of the request.
Returns:
A reference to this updated object so that method calls can be chained together.

getFilters

public List<Filter> getFilters()
A list of filters used to match properties for SpotInstances. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

Returns:
A list of filters used to match properties for SpotInstances. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

setFilters

public void setFilters(Collection<Filter> filters)
A list of filters used to match properties for SpotInstances. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

Parameters:
filters - A list of filters used to match properties for SpotInstances. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

withFilters

public DescribeSpotInstanceRequestsRequest withFilters(Filter... filters)
A list of filters used to match properties for SpotInstances. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

Returns a reference to this object so that method calls can be chained together.

Parameters:
filters - A list of filters used to match properties for SpotInstances. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.
Returns:
A reference to this updated object so that method calls can be chained together.

withFilters

public DescribeSpotInstanceRequestsRequest withFilters(Collection<Filter> filters)
A list of filters used to match properties for SpotInstances. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

Returns a reference to this object so that method calls can be chained together.

Parameters:
filters - A list of filters used to match properties for SpotInstances. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.