|
||||||||||
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.DescribeReservedInstancesOfferingsRequest
public class DescribeReservedInstancesOfferingsRequest
Request to describe the Reserved Instance offerings that are available for purchase.
With Amazon EC2 Reserved Instances, you purchase the right to launch Amazon EC2 instances for a period of time (without getting insufficient capacity errors) and pay a lower usage rate for the actual time used.
Constructor Summary | |
---|---|
DescribeReservedInstancesOfferingsRequest()
|
Method Summary | |
---|---|
String |
getAvailabilityZone()
The Availability Zone in which the Reserved Instance can be used. |
String |
getInstanceType()
The instance type on which the Reserved Instance can be used. |
String |
getProductDescription()
The Reserved Instance product description. |
List<String> |
getReservedInstancesOfferingIds()
An optional list of the unique IDs of the Reserved Instance offerings to describe. |
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone in which the Reserved Instance can be used. |
void |
setInstanceType(String instanceType)
The instance type on which the Reserved Instance can be used. |
void |
setProductDescription(String productDescription)
The Reserved Instance product description. |
void |
setReservedInstancesOfferingIds(Collection<String> reservedInstancesOfferingIds)
An optional list of the unique IDs of the Reserved Instance offerings to describe. |
String |
toString()
|
DescribeReservedInstancesOfferingsRequest |
withAvailabilityZone(String availabilityZone)
The Availability Zone in which the Reserved Instance can be used. |
DescribeReservedInstancesOfferingsRequest |
withInstanceType(String instanceType)
The instance type on which the Reserved Instance can be used. |
DescribeReservedInstancesOfferingsRequest |
withProductDescription(String productDescription)
The Reserved Instance product description. |
DescribeReservedInstancesOfferingsRequest |
withReservedInstancesOfferingIds(Collection<String> reservedInstancesOfferingIds)
An optional list of the unique IDs of the Reserved Instance offerings to describe. |
DescribeReservedInstancesOfferingsRequest |
withReservedInstancesOfferingIds(String... reservedInstancesOfferingIds)
An optional list of the unique IDs of the Reserved Instance offerings to describe. |
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 DescribeReservedInstancesOfferingsRequest()
Method Detail |
---|
public List<String> getReservedInstancesOfferingIds()
public void setReservedInstancesOfferingIds(Collection<String> reservedInstancesOfferingIds)
reservedInstancesOfferingIds
- An optional list of the unique IDs of the Reserved Instance offerings
to describe.public DescribeReservedInstancesOfferingsRequest withReservedInstancesOfferingIds(String... reservedInstancesOfferingIds)
Returns a reference to this object so that method calls can be chained together.
reservedInstancesOfferingIds
- An optional list of the unique IDs of the Reserved Instance offerings
to describe.
public DescribeReservedInstancesOfferingsRequest withReservedInstancesOfferingIds(Collection<String> reservedInstancesOfferingIds)
Returns a reference to this object so that method calls can be chained together.
reservedInstancesOfferingIds
- An optional list of the unique IDs of the Reserved Instance offerings
to describe.
public String getInstanceType()
Constraints:
Allowed Values: m1.small, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge
InstanceType
public void setInstanceType(String instanceType)
Constraints:
Allowed Values: m1.small, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge
instanceType
- The instance type on which the Reserved Instance can be used.InstanceType
public DescribeReservedInstancesOfferingsRequest withInstanceType(String instanceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: m1.small, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge
instanceType
- The instance type on which the Reserved Instance can be used.
InstanceType
public String getAvailabilityZone()
public void setAvailabilityZone(String availabilityZone)
availabilityZone
- The Availability Zone in which the Reserved Instance can be used.public DescribeReservedInstancesOfferingsRequest withAvailabilityZone(String availabilityZone)
Returns a reference to this object so that method calls can be chained together.
availabilityZone
- The Availability Zone in which the Reserved Instance can be used.
public String getProductDescription()
public void setProductDescription(String productDescription)
productDescription
- The Reserved Instance product description.public DescribeReservedInstancesOfferingsRequest withProductDescription(String productDescription)
Returns a reference to this object so that method calls can be chained together.
productDescription
- The Reserved Instance product description.
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |