com.amazonaws.services.ec2.model

## クラス DescribeReservedInstancesOfferingsRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.ec2.model.DescribeReservedInstancesOfferingsRequest

- すべての実装されたインタフェース:
    java.io.Serializable

      public class DescribeReservedInstancesOfferingsRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  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)`, 直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `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.

    - ### クラスから継承されたメソッド com.amazonaws.AmazonWebServiceRequest

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### DescribeReservedInstancesOfferingsRequest

          public DescribeReservedInstancesOfferingsRequest()

  - ### メソッドの詳細

    - #### getReservedInstancesOfferingIds

          public java.util.List<java.lang.String> getReservedInstancesOfferingIds()

      An optional list of the unique IDs of the Reserved Instance offerings to describe.
      戻り値:
        An optional list of the unique IDs of the Reserved Instance offerings to describe.

    - #### setReservedInstancesOfferingIds

          public void setReservedInstancesOfferingIds(java.util.Collection<java.lang.String> reservedInstancesOfferingIds)

      An optional list of the unique IDs of the Reserved Instance offerings to describe.
      パラメータ:
        `reservedInstancesOfferingIds` - An optional list of the unique IDs of the Reserved Instance offerings to describe.

    - #### withReservedInstancesOfferingIds

          public DescribeReservedInstancesOfferingsRequest withReservedInstancesOfferingIds(java.lang.String... reservedInstancesOfferingIds)

      An optional list of the unique IDs of the Reserved Instance offerings to describe.

      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.

    - #### withReservedInstancesOfferingIds

          public DescribeReservedInstancesOfferingsRequest withReservedInstancesOfferingIds(java.util.Collection<java.lang.String> reservedInstancesOfferingIds)

      An optional list of the unique IDs of the Reserved Instance offerings to describe.

      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.

    - #### getInstanceType

          public java.lang.String getInstanceType()

      The instance type on which the Reserved Instance can be used.

      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

      戻り値:
        The instance type on which the Reserved Instance can be used.
      関連項目:
        `InstanceType`

    - #### setInstanceType

          public void setInstanceType(java.lang.String instanceType)

      The instance type on which the Reserved Instance can be used.

      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`

    - #### withInstanceType

          public DescribeReservedInstancesOfferingsRequest withInstanceType(java.lang.String instanceType)

      The instance type on which the Reserved Instance can be used.

      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`

    - #### setInstanceType

          public void setInstanceType(InstanceType instanceType)

      The instance type on which the Reserved Instance can be used.

      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`

    - #### withInstanceType

          public DescribeReservedInstancesOfferingsRequest withInstanceType(InstanceType instanceType)

      The instance type on which the Reserved Instance can be used.

      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`

    - #### getAvailabilityZone

          public java.lang.String getAvailabilityZone()

      The Availability Zone in which the Reserved Instance can be used.
      戻り値:
        The Availability Zone in which the Reserved Instance can be used.

    - #### setAvailabilityZone

          public void setAvailabilityZone(java.lang.String availabilityZone)

      The Availability Zone in which the Reserved Instance can be used.
      パラメータ:
        `availabilityZone` - The Availability Zone in which the Reserved Instance can be used.

    - #### withAvailabilityZone

          public DescribeReservedInstancesOfferingsRequest withAvailabilityZone(java.lang.String availabilityZone)

      The Availability Zone in which the Reserved Instance can be used.

      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.

    - #### getProductDescription

          public java.lang.String getProductDescription()

      The Reserved Instance product description.
      戻り値:
        The Reserved Instance product description.

    - #### setProductDescription

          public void setProductDescription(java.lang.String productDescription)

      The Reserved Instance product description.
      パラメータ:
        `productDescription` - The Reserved Instance product description.

    - #### withProductDescription

          public DescribeReservedInstancesOfferingsRequest withProductDescription(java.lang.String productDescription)

      The Reserved Instance product description.

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

      パラメータ:
        `productDescription` - The Reserved Instance product description.

    - #### getFilters

          public java.util.List<Filter> getFilters()

      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.
      戻り値:
        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.

    - #### setFilters

          public void setFilters(java.util.Collection<Filter> 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.
      パラメータ:
        `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.

    - #### withFilters

          public DescribeReservedInstancesOfferingsRequest withFilters(Filter... 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.

      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.

    - #### withFilters

          public DescribeReservedInstancesOfferingsRequest withFilters(java.util.Collection<Filter> 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.

      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.

    - #### getInstanceTenancy

          public java.lang.String getInstanceTenancy()

      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.
      戻り値:
        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.

    - #### setInstanceTenancy

          public void setInstanceTenancy(java.lang.String 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.
      パラメータ:
        `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.

    - #### withInstanceTenancy

          public DescribeReservedInstancesOfferingsRequest withInstanceTenancy(java.lang.String 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.

      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.

    - #### getOfferingType

          public java.lang.String getOfferingType()

      The Reserved Instance offering type.
      戻り値:
        The Reserved Instance offering type.

    - #### setOfferingType

          public void setOfferingType(java.lang.String offeringType)

      The Reserved Instance offering type.
      パラメータ:
        `offeringType` - The Reserved Instance offering type.

    - #### withOfferingType

          public DescribeReservedInstancesOfferingsRequest withOfferingType(java.lang.String offeringType)

      The Reserved Instance offering type.

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

      パラメータ:
        `offeringType` - The Reserved Instance offering type.

    - #### getNextToken

          public java.lang.String getNextToken()

      Returns the value of the NextToken property for this object.
      戻り値:
        The value of the NextToken property for this object.

    - #### setNextToken

          public void setNextToken(java.lang.String nextToken)

      Sets the value of the NextToken property for this object.
      パラメータ:
        `nextToken` - The new value for the NextToken property for this object.

    - #### withNextToken

          public DescribeReservedInstancesOfferingsRequest withNextToken(java.lang.String nextToken)

      Sets the value of the NextToken property for this object.

      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.

    - #### getMaxResults

          public java.lang.Integer getMaxResults()

      Returns the value of the MaxResults property for this object.
      戻り値:
        The value of the MaxResults property for this object.

    - #### setMaxResults

          public void setMaxResults(java.lang.Integer maxResults)

      Sets the value of the MaxResults property for this object.
      パラメータ:
        `maxResults` - The new value for the MaxResults property for this object.

    - #### withMaxResults

          public DescribeReservedInstancesOfferingsRequest withMaxResults(java.lang.Integer maxResults)

      Sets the value of the MaxResults property for this object.

      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.

    - #### isIncludeMarketplace

          public java.lang.Boolean isIncludeMarketplace()

      Include Marketplace offerings in the response.
      戻り値:
        Include Marketplace offerings in the response.

    - #### setIncludeMarketplace

          public void setIncludeMarketplace(java.lang.Boolean includeMarketplace)

      Include Marketplace offerings in the response.
      パラメータ:
        `includeMarketplace` - Include Marketplace offerings in the response.

    - #### withIncludeMarketplace

          public DescribeReservedInstancesOfferingsRequest withIncludeMarketplace(java.lang.Boolean includeMarketplace)

      Include Marketplace offerings in the response.

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

      パラメータ:
        `includeMarketplace` - Include Marketplace offerings in the response.

    - #### getIncludeMarketplace

          public java.lang.Boolean getIncludeMarketplace()

      Include Marketplace offerings in the response.
      戻り値:
        Include Marketplace offerings in the response.

    - #### getMinDuration

          public java.lang.Long getMinDuration()

      Minimum duration (in seconds) to filter when searching for offerings.
      戻り値:
        Minimum duration (in seconds) to filter when searching for offerings.

    - #### setMinDuration

          public void setMinDuration(java.lang.Long minDuration)

      Minimum duration (in seconds) to filter when searching for offerings.
      パラメータ:
        `minDuration` - Minimum duration (in seconds) to filter when searching for offerings.

    - #### withMinDuration

          public DescribeReservedInstancesOfferingsRequest withMinDuration(java.lang.Long minDuration)

      Minimum duration (in seconds) to filter when searching for offerings.

      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.

    - #### getMaxDuration

          public java.lang.Long getMaxDuration()

      Maximum duration (in seconds) to filter when searching for offerings.
      戻り値:
        Maximum duration (in seconds) to filter when searching for offerings.

    - #### setMaxDuration

          public void setMaxDuration(java.lang.Long maxDuration)

      Maximum duration (in seconds) to filter when searching for offerings.
      パラメータ:
        `maxDuration` - Maximum duration (in seconds) to filter when searching for offerings.

    - #### withMaxDuration

          public DescribeReservedInstancesOfferingsRequest withMaxDuration(java.lang.Long maxDuration)

      Maximum duration (in seconds) to filter when searching for offerings.

      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.

    - #### getMaxInstanceCount

          public java.lang.Integer getMaxInstanceCount()

      Maximum number of instances to filter when searching for offerings.
      戻り値:
        Maximum number of instances to filter when searching for offerings.

    - #### setMaxInstanceCount

          public void setMaxInstanceCount(java.lang.Integer maxInstanceCount)

      Maximum number of instances to filter when searching for offerings.
      パラメータ:
        `maxInstanceCount` - Maximum number of instances to filter when searching for offerings.

    - #### withMaxInstanceCount

          public DescribeReservedInstancesOfferingsRequest withMaxInstanceCount(java.lang.Integer maxInstanceCount)

      Maximum number of instances to filter when searching for offerings.

      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.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`