public class DescribeReservedInstancesOfferingsRequest extends AmazonWebServiceRequest implements java.io.Serializable
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.
| コンストラクタと説明 |
|---|
DescribeReservedInstancesOfferingsRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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.Boolean |
getIncludeMarketplace()
Include Marketplace offerings in the response.
|
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.Long |
getMaxDuration()
Maximum duration (in seconds) to filter when searching for offerings.
|
java.lang.Integer |
getMaxInstanceCount()
Maximum number of instances to filter when searching for offerings.
|
java.lang.Integer |
getMaxResults()
Returns the value of the MaxResults property for this object.
|
java.lang.Long |
getMinDuration()
Minimum duration (in seconds) to filter when searching for offerings.
|
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() |
java.lang.Boolean |
isIncludeMarketplace()
Include Marketplace offerings in the response.
|
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 |
setIncludeMarketplace(java.lang.Boolean includeMarketplace)
Include Marketplace offerings in the response.
|
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 |
setMaxDuration(java.lang.Long maxDuration)
Maximum duration (in seconds) to filter when searching for offerings.
|
void |
setMaxInstanceCount(java.lang.Integer maxInstanceCount)
Maximum number of instances to filter when searching for offerings.
|
void |
setMaxResults(java.lang.Integer maxResults)
Sets the value of the MaxResults property for this object.
|
void |
setMinDuration(java.lang.Long minDuration)
Minimum duration (in seconds) to filter when searching for offerings.
|
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 |
withIncludeMarketplace(java.lang.Boolean includeMarketplace)
Include Marketplace offerings in the response.
|
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 |
withMaxDuration(java.lang.Long maxDuration)
Maximum duration (in seconds) to filter when searching for offerings.
|
DescribeReservedInstancesOfferingsRequest |
withMaxInstanceCount(java.lang.Integer maxInstanceCount)
Maximum number of instances to filter when searching for offerings.
|
DescribeReservedInstancesOfferingsRequest |
withMaxResults(java.lang.Integer maxResults)
Sets the value of the MaxResults property for this object.
|
DescribeReservedInstancesOfferingsRequest |
withMinDuration(java.lang.Long minDuration)
Minimum duration (in seconds) to filter when searching for offerings.
|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic DescribeReservedInstancesOfferingsRequest()
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, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge, cr1.8xlarge
InstanceTypepublic 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, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge, cr1.8xlarge
instanceType - The instance type on which the Reserved Instance can be used.InstanceTypepublic 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, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge, cr1.8xlarge
instanceType - The instance type on which the Reserved Instance can be used.InstanceTypepublic 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, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge, cr1.8xlarge
instanceType - The instance type on which the Reserved Instance can be used.InstanceTypepublic 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, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge, cr1.8xlarge
instanceType - The instance type on which the Reserved Instance can be used.InstanceTypepublic 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.Boolean isIncludeMarketplace()
public void setIncludeMarketplace(java.lang.Boolean includeMarketplace)
includeMarketplace - Include Marketplace offerings in the response.public DescribeReservedInstancesOfferingsRequest withIncludeMarketplace(java.lang.Boolean includeMarketplace)
Returns a reference to this object so that method calls can be chained together.
includeMarketplace - Include Marketplace offerings in the response.public java.lang.Boolean getIncludeMarketplace()
public java.lang.Long getMinDuration()
public void setMinDuration(java.lang.Long minDuration)
minDuration - Minimum duration (in seconds) to filter when searching for offerings.public DescribeReservedInstancesOfferingsRequest withMinDuration(java.lang.Long minDuration)
Returns a reference to this object so that method calls can be chained together.
minDuration - Minimum duration (in seconds) to filter when searching for offerings.public java.lang.Long getMaxDuration()
public void setMaxDuration(java.lang.Long maxDuration)
maxDuration - Maximum duration (in seconds) to filter when searching for offerings.public DescribeReservedInstancesOfferingsRequest withMaxDuration(java.lang.Long maxDuration)
Returns a reference to this object so that method calls can be chained together.
maxDuration - Maximum duration (in seconds) to filter when searching for offerings.public java.lang.Integer getMaxInstanceCount()
public void setMaxInstanceCount(java.lang.Integer maxInstanceCount)
maxInstanceCount - Maximum number of instances to filter when searching for offerings.public DescribeReservedInstancesOfferingsRequest withMaxInstanceCount(java.lang.Integer maxInstanceCount)
Returns a reference to this object so that method calls can be chained together.
maxInstanceCount - Maximum number of instances to filter when searching for offerings.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object