|
Did this page help you?Yes No Tell us about it... |
||||||
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
Container for the parameters to the DescribeReservedInstancesOfferings operation
.
The DescribeReservedInstancesOfferings operation describes 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.
AmazonEC2.describeReservedInstancesOfferings(DescribeReservedInstancesOfferingsRequest)
Constructor Summary | |
---|---|
DescribeReservedInstancesOfferingsRequest()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getAvailabilityZone()
The Availability Zone in which the Reserved Instance can be used. |
java.util.List<Filter> |
getFilters()
A list of filters used to match properties for ReservedInstancesOfferings. |
java.lang.String |
getInstanceTenancy()
The tenancy of the Reserved Instance offering. |
java.lang.String |
getInstanceType()
The instance type on which the Reserved Instance can be used. |
java.lang.Integer |
getMaxResults()
Returns the value of the MaxResults property for this object. |
java.lang.String |
getNextToken()
Returns the value of the NextToken property for this object. |
java.lang.String |
getOfferingType()
The Reserved Instance offering type. |
java.lang.String |
getProductDescription()
The Reserved Instance product description. |
java.util.List<java.lang.String> |
getReservedInstancesOfferingIds()
An optional list of the unique IDs of the Reserved Instance offerings to describe. |
int |
hashCode()
|
void |
setAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone in which the Reserved Instance can be used. |
void |
setFilters(java.util.Collection<Filter> filters)
A list of filters used to match properties for ReservedInstancesOfferings. |
void |
setInstanceTenancy(java.lang.String instanceTenancy)
The tenancy of the Reserved Instance offering. |
void |
setInstanceType(InstanceType instanceType)
The instance type on which the Reserved Instance can be used. |
void |
setInstanceType(java.lang.String instanceType)
The instance type on which the Reserved Instance can be used. |
void |
setMaxResults(java.lang.Integer maxResults)
Sets the value of the MaxResults property for this object. |
void |
setNextToken(java.lang.String nextToken)
Sets the value of the NextToken property for this object. |
void |
setOfferingType(java.lang.String offeringType)
The Reserved Instance offering type. |
void |
setProductDescription(java.lang.String productDescription)
The Reserved Instance product description. |
void |
setReservedInstancesOfferingIds(java.util.Collection<java.lang.String> reservedInstancesOfferingIds)
An optional list of the unique IDs of the Reserved Instance offerings to describe. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DescribeReservedInstancesOfferingsRequest |
withAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone in which the Reserved Instance can be used. |
DescribeReservedInstancesOfferingsRequest |
withFilters(java.util.Collection<Filter> filters)
A list of filters used to match properties for ReservedInstancesOfferings. |
DescribeReservedInstancesOfferingsRequest |
withFilters(Filter... filters)
A list of filters used to match properties for ReservedInstancesOfferings. |
DescribeReservedInstancesOfferingsRequest |
withInstanceTenancy(java.lang.String instanceTenancy)
The tenancy of the Reserved Instance offering. |
DescribeReservedInstancesOfferingsRequest |
withInstanceType(InstanceType instanceType)
The instance type on which the Reserved Instance can be used. |
DescribeReservedInstancesOfferingsRequest |
withInstanceType(java.lang.String instanceType)
The instance type on which the Reserved Instance can be used. |
DescribeReservedInstancesOfferingsRequest |
withMaxResults(java.lang.Integer maxResults)
Sets the value of the MaxResults property for this object. |
DescribeReservedInstancesOfferingsRequest |
withNextToken(java.lang.String nextToken)
Sets the value of the NextToken property for this object. |
DescribeReservedInstancesOfferingsRequest |
withOfferingType(java.lang.String offeringType)
The Reserved Instance offering type. |
DescribeReservedInstancesOfferingsRequest |
withProductDescription(java.lang.String productDescription)
The Reserved Instance product description. |
DescribeReservedInstancesOfferingsRequest |
withReservedInstancesOfferingIds(java.util.Collection<java.lang.String> reservedInstancesOfferingIds)
An optional list of the unique IDs of the Reserved Instance offerings to describe. |
DescribeReservedInstancesOfferingsRequest |
withReservedInstancesOfferingIds(java.lang.String... reservedInstancesOfferingIds)
An optional list of the unique IDs of the Reserved Instance offerings to describe. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeReservedInstancesOfferingsRequest()
Method Detail |
---|
public java.util.List<java.lang.String> getReservedInstancesOfferingIds()
public void setReservedInstancesOfferingIds(java.util.Collection<java.lang.String> reservedInstancesOfferingIds)
reservedInstancesOfferingIds
- An optional list of the unique IDs of the Reserved Instance offerings
to describe.public DescribeReservedInstancesOfferingsRequest withReservedInstancesOfferingIds(java.lang.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(java.util.Collection<java.lang.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 java.lang.String getInstanceType()
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, m3.xlarge, m3.2xlarge, c1.medium, c1.xlarge, hi1.4xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge
InstanceType
public void setInstanceType(java.lang.String instanceType)
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, m3.xlarge, m3.2xlarge, c1.medium, c1.xlarge, hi1.4xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge
instanceType
- The instance type on which the Reserved Instance can be used.InstanceType
public DescribeReservedInstancesOfferingsRequest withInstanceType(java.lang.String instanceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, m3.xlarge, m3.2xlarge, c1.medium, c1.xlarge, hi1.4xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge
instanceType
- The instance type on which the Reserved Instance can be used.
InstanceType
public void setInstanceType(InstanceType instanceType)
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, m3.xlarge, m3.2xlarge, c1.medium, c1.xlarge, hi1.4xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge
instanceType
- The instance type on which the Reserved Instance can be used.InstanceType
public DescribeReservedInstancesOfferingsRequest withInstanceType(InstanceType instanceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, m3.xlarge, m3.2xlarge, c1.medium, c1.xlarge, hi1.4xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge
instanceType
- The instance type on which the Reserved Instance can be used.
InstanceType
public java.lang.String getAvailabilityZone()
public void setAvailabilityZone(java.lang.String availabilityZone)
availabilityZone
- The Availability Zone in which the Reserved Instance can be used.public DescribeReservedInstancesOfferingsRequest withAvailabilityZone(java.lang.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 java.lang.String getProductDescription()
public void setProductDescription(java.lang.String productDescription)
productDescription
- The Reserved Instance product description.public DescribeReservedInstancesOfferingsRequest withProductDescription(java.lang.String productDescription)
Returns a reference to this object so that method calls can be chained together.
productDescription
- The Reserved Instance product description.
public java.util.List<Filter> getFilters()
public void setFilters(java.util.Collection<Filter> filters)
filters
- A list of filters used to match properties for
ReservedInstancesOfferings. For a complete reference to the available
filter keys for this operation, see the Amazon
EC2 API reference.public DescribeReservedInstancesOfferingsRequest 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
ReservedInstancesOfferings. For a complete reference to the available
filter keys for this operation, see the Amazon
EC2 API reference.
public DescribeReservedInstancesOfferingsRequest withFilters(java.util.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
ReservedInstancesOfferings. For a complete reference to the available
filter keys for this operation, see the Amazon
EC2 API reference.
public java.lang.String getInstanceTenancy()
public void setInstanceTenancy(java.lang.String instanceTenancy)
instanceTenancy
- The tenancy of the Reserved Instance offering. A Reserved Instance
with tenancy of dedicated will run on single-tenant hardware and can
only be launched within a VPC.public DescribeReservedInstancesOfferingsRequest withInstanceTenancy(java.lang.String instanceTenancy)
Returns a reference to this object so that method calls can be chained together.
instanceTenancy
- The tenancy of the Reserved Instance offering. A Reserved Instance
with tenancy of dedicated will run on single-tenant hardware and can
only be launched within a VPC.
public java.lang.String getOfferingType()
public void setOfferingType(java.lang.String offeringType)
offeringType
- The Reserved Instance offering type.public DescribeReservedInstancesOfferingsRequest withOfferingType(java.lang.String offeringType)
Returns a reference to this object so that method calls can be chained together.
offeringType
- The Reserved Instance offering type.
public java.lang.String getNextToken()
public void setNextToken(java.lang.String nextToken)
nextToken
- The new value for the NextToken property for this object.public DescribeReservedInstancesOfferingsRequest withNextToken(java.lang.String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken
- The new value for the NextToken property for this object.
public java.lang.Integer getMaxResults()
public void setMaxResults(java.lang.Integer maxResults)
maxResults
- The new value for the MaxResults property for this object.public DescribeReservedInstancesOfferingsRequest withMaxResults(java.lang.Integer maxResults)
Returns a reference to this object so that method calls can be chained together.
maxResults
- The new value for the MaxResults property for this object.
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
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |