|
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)
,
Serialized FormConstructor Summary | |
---|---|
DescribeReservedInstancesOfferingsRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getAvailabilityZone()
The Availability Zone in which the Reserved Instance can be used. |
List<Filter> |
getFilters()
A list of filters used to match properties for ReservedInstancesOfferings. |
Boolean |
getIncludeMarketplace()
Include Marketplace offerings in the response. |
String |
getInstanceTenancy()
The tenancy of the Reserved Instance offering. |
String |
getInstanceType()
The instance type on which the Reserved Instance can be used. |
Long |
getMaxDuration()
Maximum duration (in seconds) to filter when searching for offerings. |
Integer |
getMaxInstanceCount()
Maximum number of instances to filter when searching for offerings. |
Integer |
getMaxResults()
Returns the value of the MaxResults property for this object. |
Long |
getMinDuration()
Minimum duration (in seconds) to filter when searching for offerings. |
String |
getNextToken()
Returns the value of the NextToken property for this object. |
String |
getOfferingType()
The Reserved Instance offering type. |
String |
getProductDescription()
The Reserved Instance product description. |
List<String> |
getReservedInstancesOfferingIds()
An optional list of the unique IDs of the Reserved Instance offerings to describe. |
int |
hashCode()
|
Boolean |
isIncludeMarketplace()
Include Marketplace offerings in the response. |
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone in which the Reserved Instance can be used. |
void |
setFilters(Collection<Filter> filters)
A list of filters used to match properties for ReservedInstancesOfferings. |
void |
setIncludeMarketplace(Boolean includeMarketplace)
Include Marketplace offerings in the response. |
void |
setInstanceTenancy(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(String instanceType)
The instance type on which the Reserved Instance can be used. |
void |
setMaxDuration(Long maxDuration)
Maximum duration (in seconds) to filter when searching for offerings. |
void |
setMaxInstanceCount(Integer maxInstanceCount)
Maximum number of instances to filter when searching for offerings. |
void |
setMaxResults(Integer maxResults)
Sets the value of the MaxResults property for this object. |
void |
setMinDuration(Long minDuration)
Minimum duration (in seconds) to filter when searching for offerings. |
void |
setNextToken(String nextToken)
Sets the value of the NextToken property for this object. |
void |
setOfferingType(String offeringType)
The Reserved Instance offering type. |
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()
Returns a string representation of this object; useful for testing and debugging. |
DescribeReservedInstancesOfferingsRequest |
withAvailabilityZone(String availabilityZone)
The Availability Zone in which the Reserved Instance can be used. |
DescribeReservedInstancesOfferingsRequest |
withFilters(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(Boolean includeMarketplace)
Include Marketplace offerings in the response. |
DescribeReservedInstancesOfferingsRequest |
withInstanceTenancy(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(String instanceType)
The instance type on which the Reserved Instance can be used. |
DescribeReservedInstancesOfferingsRequest |
withMaxDuration(Long maxDuration)
Maximum duration (in seconds) to filter when searching for offerings. |
DescribeReservedInstancesOfferingsRequest |
withMaxInstanceCount(Integer maxInstanceCount)
Maximum number of instances to filter when searching for offerings. |
DescribeReservedInstancesOfferingsRequest |
withMaxResults(Integer maxResults)
Sets the value of the MaxResults property for this object. |
DescribeReservedInstancesOfferingsRequest |
withMinDuration(Long minDuration)
Minimum duration (in seconds) to filter when searching for offerings. |
DescribeReservedInstancesOfferingsRequest |
withNextToken(String nextToken)
Sets the value of the NextToken property for this object. |
DescribeReservedInstancesOfferingsRequest |
withOfferingType(String offeringType)
The Reserved Instance offering type. |
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, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, 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: 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
public void setInstanceType(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.InstanceType
public DescribeReservedInstancesOfferingsRequest withInstanceType(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.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, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge, cr1.8xlarge
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, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge, cr1.8xlarge
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 List<Filter> getFilters()
public void setFilters(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(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 String getInstanceTenancy()
public void setInstanceTenancy(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(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 String getOfferingType()
public void setOfferingType(String offeringType)
offeringType
- The Reserved Instance offering type.public DescribeReservedInstancesOfferingsRequest withOfferingType(String offeringType)
Returns a reference to this object so that method calls can be chained together.
offeringType
- The Reserved Instance offering type.public String getNextToken()
public void setNextToken(String nextToken)
nextToken
- The new value for the NextToken property for this object.public DescribeReservedInstancesOfferingsRequest withNextToken(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 Integer getMaxResults()
public void setMaxResults(Integer maxResults)
maxResults
- The new value for the MaxResults property for this object.public DescribeReservedInstancesOfferingsRequest withMaxResults(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 Boolean isIncludeMarketplace()
public void setIncludeMarketplace(Boolean includeMarketplace)
includeMarketplace
- Include Marketplace offerings in the response.public DescribeReservedInstancesOfferingsRequest withIncludeMarketplace(Boolean includeMarketplace)
Returns a reference to this object so that method calls can be chained together.
includeMarketplace
- Include Marketplace offerings in the response.public Boolean getIncludeMarketplace()
public Long getMinDuration()
public void setMinDuration(Long minDuration)
minDuration
- Minimum duration (in seconds) to filter when searching for offerings.public DescribeReservedInstancesOfferingsRequest withMinDuration(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 Long getMaxDuration()
public void setMaxDuration(Long maxDuration)
maxDuration
- Maximum duration (in seconds) to filter when searching for offerings.public DescribeReservedInstancesOfferingsRequest withMaxDuration(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 Integer getMaxInstanceCount()
public void setMaxInstanceCount(Integer maxInstanceCount)
maxInstanceCount
- Maximum number of instances to filter when searching for offerings.public DescribeReservedInstancesOfferingsRequest withMaxInstanceCount(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 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 |