Class DescribeReservedInstancesOfferingsRequest

    • Constructor Detail

      • DescribeReservedInstancesOfferingsRequest

        public DescribeReservedInstancesOfferingsRequest()
    • Method Detail

      • getReservedInstancesOfferingIds

        public List<String> getReservedInstancesOfferingIds()

        One or more Reserved Instances offering IDs.

        Returns:
        One or more Reserved Instances offering IDs.
      • setReservedInstancesOfferingIds

        public void setReservedInstancesOfferingIds​(Collection<String> reservedInstancesOfferingIds)

        One or more Reserved Instances offering IDs.

        Parameters:
        reservedInstancesOfferingIds - One or more Reserved Instances offering IDs.
      • withReservedInstancesOfferingIds

        public DescribeReservedInstancesOfferingsRequest withReservedInstancesOfferingIds​(Collection<String> reservedInstancesOfferingIds)

        One or more Reserved Instances offering IDs.

        Parameters:
        reservedInstancesOfferingIds - One or more Reserved Instances offering IDs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInstanceType

        public void setInstanceType​(String instanceType)

        The instance type that the reservation will cover (for example, m1.small). For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.

        Parameters:
        instanceType - The instance type that the reservation will cover (for example, m1.small). For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.
        See Also:
        InstanceType
      • getInstanceType

        public String getInstanceType()

        The instance type that the reservation will cover (for example, m1.small). For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.

        Returns:
        The instance type that the reservation will cover (for example, m1.small). For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.
        See Also:
        InstanceType
      • withInstanceType

        public DescribeReservedInstancesOfferingsRequest withInstanceType​(String instanceType)

        The instance type that the reservation will cover (for example, m1.small). For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.

        Parameters:
        instanceType - The instance type that the reservation will cover (for example, m1.small). For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InstanceType
      • setInstanceType

        public void setInstanceType​(InstanceType instanceType)

        The instance type that the reservation will cover (for example, m1.small). For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.

        Parameters:
        instanceType - The instance type that the reservation will cover (for example, m1.small). For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.
        See Also:
        InstanceType
      • withInstanceType

        public DescribeReservedInstancesOfferingsRequest withInstanceType​(InstanceType instanceType)

        The instance type that the reservation will cover (for example, m1.small). For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.

        Parameters:
        instanceType - The instance type that the reservation will cover (for example, m1.small). For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InstanceType
      • setAvailabilityZone

        public void setAvailabilityZone​(String availabilityZone)

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

        Parameters:
        availabilityZone - The Availability Zone in which the Reserved Instance can be used.
      • getAvailabilityZone

        public String getAvailabilityZone()

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

        Returns:
        The Availability Zone in which the Reserved Instance can be used.
      • withAvailabilityZone

        public DescribeReservedInstancesOfferingsRequest withAvailabilityZone​(String availabilityZone)

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

        Parameters:
        availabilityZone - The Availability Zone in which the Reserved Instance can be used.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setProductDescription

        public void setProductDescription​(String productDescription)

        The Reserved Instance product platform description. Instances that include (Amazon VPC) in the description are for use with Amazon VPC.

        Parameters:
        productDescription - The Reserved Instance product platform description. Instances that include (Amazon VPC) in the description are for use with Amazon VPC.
        See Also:
        RIProductDescription
      • getProductDescription

        public String getProductDescription()

        The Reserved Instance product platform description. Instances that include (Amazon VPC) in the description are for use with Amazon VPC.

        Returns:
        The Reserved Instance product platform description. Instances that include (Amazon VPC) in the description are for use with Amazon VPC.
        See Also:
        RIProductDescription
      • withProductDescription

        public DescribeReservedInstancesOfferingsRequest withProductDescription​(String productDescription)

        The Reserved Instance product platform description. Instances that include (Amazon VPC) in the description are for use with Amazon VPC.

        Parameters:
        productDescription - The Reserved Instance product platform description. Instances that include (Amazon VPC) in the description are for use with Amazon VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RIProductDescription
      • setProductDescription

        public void setProductDescription​(RIProductDescription productDescription)

        The Reserved Instance product platform description. Instances that include (Amazon VPC) in the description are for use with Amazon VPC.

        Parameters:
        productDescription - The Reserved Instance product platform description. Instances that include (Amazon VPC) in the description are for use with Amazon VPC.
        See Also:
        RIProductDescription
      • withProductDescription

        public DescribeReservedInstancesOfferingsRequest withProductDescription​(RIProductDescription productDescription)

        The Reserved Instance product platform description. Instances that include (Amazon VPC) in the description are for use with Amazon VPC.

        Parameters:
        productDescription - The Reserved Instance product platform description. Instances that include (Amazon VPC) in the description are for use with Amazon VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RIProductDescription
      • getFilters

        public List<Filter> getFilters()

        One or more filters.

        • availability-zone - The Availability Zone where the Reserved Instance can be used.

        • duration - The duration of the Reserved Instance (for example, one year or three years), in seconds (31536000 | 94608000).

        • fixed-price - The purchase price of the Reserved Instance (for example, 9800.0).

        • instance-type - The instance type that is covered by the reservation.

        • marketplace - Set to true to show only Reserved Instance Marketplace offerings. When this filter is not used, which is the default behavior, all offerings from both AWS and the Reserved Instance Marketplace are listed.

        • product-description - The Reserved Instance product platform description. Instances that include (Amazon VPC) in the product platform description will only be displayed to EC2-Classic account holders and are for use with Amazon VPC. (Linux/UNIX | Linux/UNIX (Amazon VPC) | SUSE Linux | SUSE Linux (Amazon VPC) | Red Hat Enterprise Linux | Red Hat Enterprise Linux (Amazon VPC) | Windows | Windows (Amazon VPC) | Windows with SQL Server Standard | Windows with SQL Server Standard (Amazon VPC) | Windows with SQL Server Web | Windows with SQL Server Web (Amazon VPC) | Windows with SQL Server Enterprise | Windows with SQL Server Enterprise (Amazon VPC))

        • reserved-instances-offering-id - The Reserved Instances offering ID.

        • usage-price - The usage price of the Reserved Instance, per hour (for example, 0.84).

        Returns:
        One or more filters.

        • availability-zone - The Availability Zone where the Reserved Instance can be used.

        • duration - The duration of the Reserved Instance (for example, one year or three years), in seconds ( 31536000 | 94608000).

        • fixed-price - The purchase price of the Reserved Instance (for example, 9800.0).

        • instance-type - The instance type that is covered by the reservation.

        • marketplace - Set to true to show only Reserved Instance Marketplace offerings. When this filter is not used, which is the default behavior, all offerings from both AWS and the Reserved Instance Marketplace are listed.

        • product-description - The Reserved Instance product platform description. Instances that include (Amazon VPC) in the product platform description will only be displayed to EC2-Classic account holders and are for use with Amazon VPC. (Linux/UNIX | Linux/UNIX (Amazon VPC) | SUSE Linux | SUSE Linux (Amazon VPC) | Red Hat Enterprise Linux | Red Hat Enterprise Linux (Amazon VPC) | Windows | Windows (Amazon VPC) | Windows with SQL Server Standard | Windows with SQL Server Standard (Amazon VPC) | Windows with SQL Server Web | Windows with SQL Server Web (Amazon VPC) | Windows with SQL Server Enterprise | Windows with SQL Server Enterprise (Amazon VPC))

        • reserved-instances-offering-id - The Reserved Instances offering ID.

        • usage-price - The usage price of the Reserved Instance, per hour (for example, 0.84).

      • setFilters

        public void setFilters​(Collection<Filter> filters)

        One or more filters.

        • availability-zone - The Availability Zone where the Reserved Instance can be used.

        • duration - The duration of the Reserved Instance (for example, one year or three years), in seconds (31536000 | 94608000).

        • fixed-price - The purchase price of the Reserved Instance (for example, 9800.0).

        • instance-type - The instance type that is covered by the reservation.

        • marketplace - Set to true to show only Reserved Instance Marketplace offerings. When this filter is not used, which is the default behavior, all offerings from both AWS and the Reserved Instance Marketplace are listed.

        • product-description - The Reserved Instance product platform description. Instances that include (Amazon VPC) in the product platform description will only be displayed to EC2-Classic account holders and are for use with Amazon VPC. (Linux/UNIX | Linux/UNIX (Amazon VPC) | SUSE Linux | SUSE Linux (Amazon VPC) | Red Hat Enterprise Linux | Red Hat Enterprise Linux (Amazon VPC) | Windows | Windows (Amazon VPC) | Windows with SQL Server Standard | Windows with SQL Server Standard (Amazon VPC) | Windows with SQL Server Web | Windows with SQL Server Web (Amazon VPC) | Windows with SQL Server Enterprise | Windows with SQL Server Enterprise (Amazon VPC))

        • reserved-instances-offering-id - The Reserved Instances offering ID.

        • usage-price - The usage price of the Reserved Instance, per hour (for example, 0.84).

        Parameters:
        filters - One or more filters.

        • availability-zone - The Availability Zone where the Reserved Instance can be used.

        • duration - The duration of the Reserved Instance (for example, one year or three years), in seconds ( 31536000 | 94608000).

        • fixed-price - The purchase price of the Reserved Instance (for example, 9800.0).

        • instance-type - The instance type that is covered by the reservation.

        • marketplace - Set to true to show only Reserved Instance Marketplace offerings. When this filter is not used, which is the default behavior, all offerings from both AWS and the Reserved Instance Marketplace are listed.

        • product-description - The Reserved Instance product platform description. Instances that include (Amazon VPC) in the product platform description will only be displayed to EC2-Classic account holders and are for use with Amazon VPC. (Linux/UNIX | Linux/UNIX (Amazon VPC) | SUSE Linux | SUSE Linux (Amazon VPC) | Red Hat Enterprise Linux | Red Hat Enterprise Linux (Amazon VPC) | Windows | Windows (Amazon VPC) | Windows with SQL Server Standard | Windows with SQL Server Standard (Amazon VPC) | Windows with SQL Server Web | Windows with SQL Server Web (Amazon VPC) | Windows with SQL Server Enterprise | Windows with SQL Server Enterprise (Amazon VPC))

        • reserved-instances-offering-id - The Reserved Instances offering ID.

        • usage-price - The usage price of the Reserved Instance, per hour (for example, 0.84).

      • withFilters

        public DescribeReservedInstancesOfferingsRequest withFilters​(Filter... filters)

        One or more filters.

        • availability-zone - The Availability Zone where the Reserved Instance can be used.

        • duration - The duration of the Reserved Instance (for example, one year or three years), in seconds (31536000 | 94608000).

        • fixed-price - The purchase price of the Reserved Instance (for example, 9800.0).

        • instance-type - The instance type that is covered by the reservation.

        • marketplace - Set to true to show only Reserved Instance Marketplace offerings. When this filter is not used, which is the default behavior, all offerings from both AWS and the Reserved Instance Marketplace are listed.

        • product-description - The Reserved Instance product platform description. Instances that include (Amazon VPC) in the product platform description will only be displayed to EC2-Classic account holders and are for use with Amazon VPC. (Linux/UNIX | Linux/UNIX (Amazon VPC) | SUSE Linux | SUSE Linux (Amazon VPC) | Red Hat Enterprise Linux | Red Hat Enterprise Linux (Amazon VPC) | Windows | Windows (Amazon VPC) | Windows with SQL Server Standard | Windows with SQL Server Standard (Amazon VPC) | Windows with SQL Server Web | Windows with SQL Server Web (Amazon VPC) | Windows with SQL Server Enterprise | Windows with SQL Server Enterprise (Amazon VPC))

        • reserved-instances-offering-id - The Reserved Instances offering ID.

        • usage-price - The usage price of the Reserved Instance, per hour (for example, 0.84).

        NOTE: This method appends the values to the existing list (if any). Use setFilters(java.util.Collection) or withFilters(java.util.Collection) if you want to override the existing values.

        Parameters:
        filters - One or more filters.

        • availability-zone - The Availability Zone where the Reserved Instance can be used.

        • duration - The duration of the Reserved Instance (for example, one year or three years), in seconds ( 31536000 | 94608000).

        • fixed-price - The purchase price of the Reserved Instance (for example, 9800.0).

        • instance-type - The instance type that is covered by the reservation.

        • marketplace - Set to true to show only Reserved Instance Marketplace offerings. When this filter is not used, which is the default behavior, all offerings from both AWS and the Reserved Instance Marketplace are listed.

        • product-description - The Reserved Instance product platform description. Instances that include (Amazon VPC) in the product platform description will only be displayed to EC2-Classic account holders and are for use with Amazon VPC. (Linux/UNIX | Linux/UNIX (Amazon VPC) | SUSE Linux | SUSE Linux (Amazon VPC) | Red Hat Enterprise Linux | Red Hat Enterprise Linux (Amazon VPC) | Windows | Windows (Amazon VPC) | Windows with SQL Server Standard | Windows with SQL Server Standard (Amazon VPC) | Windows with SQL Server Web | Windows with SQL Server Web (Amazon VPC) | Windows with SQL Server Enterprise | Windows with SQL Server Enterprise (Amazon VPC))

        • reserved-instances-offering-id - The Reserved Instances offering ID.

        • usage-price - The usage price of the Reserved Instance, per hour (for example, 0.84).

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

        public DescribeReservedInstancesOfferingsRequest withFilters​(Collection<Filter> filters)

        One or more filters.

        • availability-zone - The Availability Zone where the Reserved Instance can be used.

        • duration - The duration of the Reserved Instance (for example, one year or three years), in seconds (31536000 | 94608000).

        • fixed-price - The purchase price of the Reserved Instance (for example, 9800.0).

        • instance-type - The instance type that is covered by the reservation.

        • marketplace - Set to true to show only Reserved Instance Marketplace offerings. When this filter is not used, which is the default behavior, all offerings from both AWS and the Reserved Instance Marketplace are listed.

        • product-description - The Reserved Instance product platform description. Instances that include (Amazon VPC) in the product platform description will only be displayed to EC2-Classic account holders and are for use with Amazon VPC. (Linux/UNIX | Linux/UNIX (Amazon VPC) | SUSE Linux | SUSE Linux (Amazon VPC) | Red Hat Enterprise Linux | Red Hat Enterprise Linux (Amazon VPC) | Windows | Windows (Amazon VPC) | Windows with SQL Server Standard | Windows with SQL Server Standard (Amazon VPC) | Windows with SQL Server Web | Windows with SQL Server Web (Amazon VPC) | Windows with SQL Server Enterprise | Windows with SQL Server Enterprise (Amazon VPC))

        • reserved-instances-offering-id - The Reserved Instances offering ID.

        • usage-price - The usage price of the Reserved Instance, per hour (for example, 0.84).

        Parameters:
        filters - One or more filters.

        • availability-zone - The Availability Zone where the Reserved Instance can be used.

        • duration - The duration of the Reserved Instance (for example, one year or three years), in seconds ( 31536000 | 94608000).

        • fixed-price - The purchase price of the Reserved Instance (for example, 9800.0).

        • instance-type - The instance type that is covered by the reservation.

        • marketplace - Set to true to show only Reserved Instance Marketplace offerings. When this filter is not used, which is the default behavior, all offerings from both AWS and the Reserved Instance Marketplace are listed.

        • product-description - The Reserved Instance product platform description. Instances that include (Amazon VPC) in the product platform description will only be displayed to EC2-Classic account holders and are for use with Amazon VPC. (Linux/UNIX | Linux/UNIX (Amazon VPC) | SUSE Linux | SUSE Linux (Amazon VPC) | Red Hat Enterprise Linux | Red Hat Enterprise Linux (Amazon VPC) | Windows | Windows (Amazon VPC) | Windows with SQL Server Standard | Windows with SQL Server Standard (Amazon VPC) | Windows with SQL Server Web | Windows with SQL Server Web (Amazon VPC) | Windows with SQL Server Enterprise | Windows with SQL Server Enterprise (Amazon VPC))

        • reserved-instances-offering-id - The Reserved Instances offering ID.

        • usage-price - The usage price of the Reserved Instance, per hour (for example, 0.84).

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

        public void setInstanceTenancy​(String instanceTenancy)

        The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy of dedicated is applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).

        Default: default

        Parameters:
        instanceTenancy - The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy of dedicated is applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).

        Default: default

        See Also:
        Tenancy
      • getInstanceTenancy

        public String getInstanceTenancy()

        The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy of dedicated is applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).

        Default: default

        Returns:
        The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy of dedicated is applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).

        Default: default

        See Also:
        Tenancy
      • withInstanceTenancy

        public DescribeReservedInstancesOfferingsRequest withInstanceTenancy​(String instanceTenancy)

        The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy of dedicated is applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).

        Default: default

        Parameters:
        instanceTenancy - The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy of dedicated is applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).

        Default: default

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Tenancy
      • setInstanceTenancy

        public void setInstanceTenancy​(Tenancy instanceTenancy)

        The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy of dedicated is applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).

        Default: default

        Parameters:
        instanceTenancy - The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy of dedicated is applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).

        Default: default

        See Also:
        Tenancy
      • withInstanceTenancy

        public DescribeReservedInstancesOfferingsRequest withInstanceTenancy​(Tenancy instanceTenancy)

        The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy of dedicated is applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).

        Default: default

        Parameters:
        instanceTenancy - The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy of dedicated is applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).

        Default: default

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Tenancy
      • setOfferingType

        public void setOfferingType​(String offeringType)

        The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API version, you only have access to the Medium Utilization Reserved Instance offering type.

        Parameters:
        offeringType - The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API version, you only have access to the Medium Utilization Reserved Instance offering type.
        See Also:
        OfferingTypeValues
      • getOfferingType

        public String getOfferingType()

        The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API version, you only have access to the Medium Utilization Reserved Instance offering type.

        Returns:
        The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API version, you only have access to the Medium Utilization Reserved Instance offering type.
        See Also:
        OfferingTypeValues
      • withOfferingType

        public DescribeReservedInstancesOfferingsRequest withOfferingType​(String offeringType)

        The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API version, you only have access to the Medium Utilization Reserved Instance offering type.

        Parameters:
        offeringType - The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API version, you only have access to the Medium Utilization Reserved Instance offering type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        OfferingTypeValues
      • setOfferingType

        public void setOfferingType​(OfferingTypeValues offeringType)

        The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API version, you only have access to the Medium Utilization Reserved Instance offering type.

        Parameters:
        offeringType - The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API version, you only have access to the Medium Utilization Reserved Instance offering type.
        See Also:
        OfferingTypeValues
      • withOfferingType

        public DescribeReservedInstancesOfferingsRequest withOfferingType​(OfferingTypeValues offeringType)

        The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API version, you only have access to the Medium Utilization Reserved Instance offering type.

        Parameters:
        offeringType - The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API version, you only have access to the Medium Utilization Reserved Instance offering type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        OfferingTypeValues
      • setNextToken

        public void setNextToken​(String nextToken)

        The token to retrieve the next page of results.

        Parameters:
        nextToken - The token to retrieve the next page of results.
      • getNextToken

        public String getNextToken()

        The token to retrieve the next page of results.

        Returns:
        The token to retrieve the next page of results.
      • withNextToken

        public DescribeReservedInstancesOfferingsRequest withNextToken​(String nextToken)

        The token to retrieve the next page of results.

        Parameters:
        nextToken - The token to retrieve the next page of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMaxResults

        public void setMaxResults​(Integer maxResults)

        The maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned NextToken value. The maximum is 100.

        Default: 100

        Parameters:
        maxResults - The maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned NextToken value. The maximum is 100.

        Default: 100

      • getMaxResults

        public Integer getMaxResults()

        The maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned NextToken value. The maximum is 100.

        Default: 100

        Returns:
        The maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned NextToken value. The maximum is 100.

        Default: 100

      • withMaxResults

        public DescribeReservedInstancesOfferingsRequest withMaxResults​(Integer maxResults)

        The maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned NextToken value. The maximum is 100.

        Default: 100

        Parameters:
        maxResults - The maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned NextToken value. The maximum is 100.

        Default: 100

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

        public void setIncludeMarketplace​(Boolean includeMarketplace)

        Include Reserved Instance Marketplace offerings in the response.

        Parameters:
        includeMarketplace - Include Reserved Instance Marketplace offerings in the response.
      • getIncludeMarketplace

        public Boolean getIncludeMarketplace()

        Include Reserved Instance Marketplace offerings in the response.

        Returns:
        Include Reserved Instance Marketplace offerings in the response.
      • withIncludeMarketplace

        public DescribeReservedInstancesOfferingsRequest withIncludeMarketplace​(Boolean includeMarketplace)

        Include Reserved Instance Marketplace offerings in the response.

        Parameters:
        includeMarketplace - Include Reserved Instance Marketplace offerings in the response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isIncludeMarketplace

        public Boolean isIncludeMarketplace()

        Include Reserved Instance Marketplace offerings in the response.

        Returns:
        Include Reserved Instance Marketplace offerings in the response.
      • setMinDuration

        public void setMinDuration​(Long minDuration)

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

        Default: 2592000 (1 month)

        Parameters:
        minDuration - The minimum duration (in seconds) to filter when searching for offerings.

        Default: 2592000 (1 month)

      • getMinDuration

        public Long getMinDuration()

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

        Default: 2592000 (1 month)

        Returns:
        The minimum duration (in seconds) to filter when searching for offerings.

        Default: 2592000 (1 month)

      • withMinDuration

        public DescribeReservedInstancesOfferingsRequest withMinDuration​(Long minDuration)

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

        Default: 2592000 (1 month)

        Parameters:
        minDuration - The minimum duration (in seconds) to filter when searching for offerings.

        Default: 2592000 (1 month)

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

        public void setMaxDuration​(Long maxDuration)

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

        Default: 94608000 (3 years)

        Parameters:
        maxDuration - The maximum duration (in seconds) to filter when searching for offerings.

        Default: 94608000 (3 years)

      • getMaxDuration

        public Long getMaxDuration()

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

        Default: 94608000 (3 years)

        Returns:
        The maximum duration (in seconds) to filter when searching for offerings.

        Default: 94608000 (3 years)

      • withMaxDuration

        public DescribeReservedInstancesOfferingsRequest withMaxDuration​(Long maxDuration)

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

        Default: 94608000 (3 years)

        Parameters:
        maxDuration - The maximum duration (in seconds) to filter when searching for offerings.

        Default: 94608000 (3 years)

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

        public void setMaxInstanceCount​(Integer maxInstanceCount)

        The maximum number of instances to filter when searching for offerings.

        Default: 20

        Parameters:
        maxInstanceCount - The maximum number of instances to filter when searching for offerings.

        Default: 20

      • getMaxInstanceCount

        public Integer getMaxInstanceCount()

        The maximum number of instances to filter when searching for offerings.

        Default: 20

        Returns:
        The maximum number of instances to filter when searching for offerings.

        Default: 20

      • withMaxInstanceCount

        public DescribeReservedInstancesOfferingsRequest withMaxInstanceCount​(Integer maxInstanceCount)

        The maximum number of instances to filter when searching for offerings.

        Default: 20

        Parameters:
        maxInstanceCount - The maximum number of instances to filter when searching for offerings.

        Default: 20

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

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object