/* * Copyright 2010-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ package com.amazonaws.services.ec2.model; import java.io.Serializable; import com.amazonaws.AmazonWebServiceRequest; import com.amazonaws.Request; import com.amazonaws.services.ec2.model.transform.DescribeReservedInstancesRequestMarshaller; /** * Container for the parameters to the {@link com.amazonaws.services.ec2.AmazonEC2#describeReservedInstances(DescribeReservedInstancesRequest) DescribeReservedInstances operation}. *
* Describes one or more of the Reserved Instances that you purchased. *
** For more information about Reserved Instances, see * Reserved Instances * in the Amazon Elastic Compute Cloud User Guide . *
* * @see com.amazonaws.services.ec2.AmazonEC2#describeReservedInstances(DescribeReservedInstancesRequest) */ public class DescribeReservedInstancesRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequestDefault: Describes all your
* Reserved Instances, or only those otherwise specified.
*/
private com.amazonaws.internal.ListWithAutoConstructFlag
* Constraints: Default: Describes all your
* Reserved Instances, or only those otherwise specified.
*
* @return One or more Reserved Instance IDs. Default: Describes all your
* Reserved Instances, or only those otherwise specified.
*/
public java.util.List Default: Describes all your
* Reserved Instances, or only those otherwise specified.
*
* @param reservedInstancesIds One or more Reserved Instance IDs. Default: Describes all your
* Reserved Instances, or only those otherwise specified.
*/
public void setReservedInstancesIds(java.util.Collection Default: Describes all your
* Reserved Instances, or only those otherwise specified.
*
* Returns a reference to this object so that method calls can be chained together.
*
* @param reservedInstancesIds One or more Reserved Instance IDs. Default: Describes all your
* Reserved Instances, or only those otherwise specified.
*
* @return A reference to this updated object so that method calls can be chained
* together.
*/
public DescribeReservedInstancesRequest withReservedInstancesIds(String... reservedInstancesIds) {
if (getReservedInstancesIds() == null) setReservedInstancesIds(new java.util.ArrayList Default: Describes all your
* Reserved Instances, or only those otherwise specified.
*
* Returns a reference to this object so that method calls can be chained together.
*
* @param reservedInstancesIds One or more Reserved Instance IDs. Default: Describes all your
* Reserved Instances, or only those otherwise specified.
*
* @return A reference to this updated object so that method calls can be chained
* together.
*/
public DescribeReservedInstancesRequest withReservedInstancesIds(java.util.Collection
* Returns a reference to this object so that method calls can be chained together.
*
* @param filters One or more filters.
* Returns a reference to this object so that method calls can be chained together.
*
* @param filters One or more filters.
* Constraints:
* Constraints:
* Returns a reference to this object so that method calls can be chained together.
*
* Constraints:
* Constraints:
* Returns a reference to this object so that method calls can be chained together.
*
* Constraints:
*/
private com.amazonaws.internal.ListWithAutoConstructFlagavailability-zone
- The
* Availability Zone where the Reserved Instance can be used. duration
- The duration of the Reserved Instance (one
* year or three years), in seconds (31536000
|
* 94608000
). end
- The time when
* the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z).
* fixed-price
- The purchase price of the
* Reserved Instance (for example, 9800.0). instance-type
- The instance type that is covered by
* the reservation. 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-id
* - The ID of the Reserved Instance. start
-
* The time at which the Reserved Instance purchase request was placed
* (for example, 2014-08-07T11:54:42.000Z). state
- The state of the Reserved Instance
* (payment-pending
| active
|
* payment-failed
| retired
). tag
:key=value - The key/value
* combination of a tag assigned to the resource. tag-key
- The key of a tag assigned to the resource.
* This filter is independent of the tag-value
filter. For
* example, if you use both the filter "tag-key=Purpose" and the filter
* "tag-value=X", you get any resources assigned both the tag key Purpose
* (regardless of what the tag's value is), and the tag value X
* (regardless of what the tag's key is). If you want to list only
* resources where Purpose is X, see the
* tag
:key=value filter. tag-value
- The value of a tag assigned to the
* resource. This filter is independent of the tag-key
* filter. usage-price
- The usage price of
* the Reserved Instance, per hour (for example, 0.84). Medium Utilization
Reserved Instance offering type.
*
* Allowed Values: Heavy Utilization, Medium Utilization, Light Utilization, No Upfront, Partial Upfront, All Upfront
*/
private String offeringType;
/**
* One or more Reserved Instance IDs.
*
* @return One or more filters. availability-zone
- The
* Availability Zone where the Reserved Instance can be used. duration
- The duration of the Reserved Instance (one
* year or three years), in seconds (31536000
|
* 94608000
). end
- The time when
* the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z).
* fixed-price
- The purchase price of the
* Reserved Instance (for example, 9800.0). instance-type
- The instance type that is covered by
* the reservation. 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-id
* - The ID of the Reserved Instance. start
-
* The time at which the Reserved Instance purchase request was placed
* (for example, 2014-08-07T11:54:42.000Z). state
- The state of the Reserved Instance
* (payment-pending
| active
|
* payment-failed
| retired
). tag
:key=value - The key/value
* combination of a tag assigned to the resource. tag-key
- The key of a tag assigned to the resource.
* This filter is independent of the tag-value
filter. For
* example, if you use both the filter "tag-key=Purpose" and the filter
* "tag-value=X", you get any resources assigned both the tag key Purpose
* (regardless of what the tag's value is), and the tag value X
* (regardless of what the tag's key is). If you want to list only
* resources where Purpose is X, see the
* tag
:key=value filter. tag-value
- The value of a tag assigned to the
* resource. This filter is independent of the tag-key
* filter. usage-price
- The usage price of
* the Reserved Instance, per hour (for example, 0.84).
*/
public java.util.Listavailability-zone
- The
* Availability Zone where the Reserved Instance can be used. duration
- The duration of the Reserved Instance (one
* year or three years), in seconds (31536000
|
* 94608000
). end
- The time when
* the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z).
* fixed-price
- The purchase price of the
* Reserved Instance (for example, 9800.0). instance-type
- The instance type that is covered by
* the reservation. 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-id
* - The ID of the Reserved Instance. start
-
* The time at which the Reserved Instance purchase request was placed
* (for example, 2014-08-07T11:54:42.000Z). state
- The state of the Reserved Instance
* (payment-pending
| active
|
* payment-failed
| retired
). tag
:key=value - The key/value
* combination of a tag assigned to the resource. tag-key
- The key of a tag assigned to the resource.
* This filter is independent of the tag-value
filter. For
* example, if you use both the filter "tag-key=Purpose" and the filter
* "tag-value=X", you get any resources assigned both the tag key Purpose
* (regardless of what the tag's value is), and the tag value X
* (regardless of what the tag's key is). If you want to list only
* resources where Purpose is X, see the
* tag
:key=value filter. tag-value
- The value of a tag assigned to the
* resource. This filter is independent of the tag-key
* filter. usage-price
- The usage price of
* the Reserved Instance, per hour (for example, 0.84).
*
* @param filters One or more filters. availability-zone
- The
* Availability Zone where the Reserved Instance can be used. duration
- The duration of the Reserved Instance (one
* year or three years), in seconds (31536000
|
* 94608000
). end
- The time when
* the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z).
* fixed-price
- The purchase price of the
* Reserved Instance (for example, 9800.0). instance-type
- The instance type that is covered by
* the reservation. 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-id
* - The ID of the Reserved Instance. start
-
* The time at which the Reserved Instance purchase request was placed
* (for example, 2014-08-07T11:54:42.000Z). state
- The state of the Reserved Instance
* (payment-pending
| active
|
* payment-failed
| retired
). tag
:key=value - The key/value
* combination of a tag assigned to the resource. tag-key
- The key of a tag assigned to the resource.
* This filter is independent of the tag-value
filter. For
* example, if you use both the filter "tag-key=Purpose" and the filter
* "tag-value=X", you get any resources assigned both the tag key Purpose
* (regardless of what the tag's value is), and the tag value X
* (regardless of what the tag's key is). If you want to list only
* resources where Purpose is X, see the
* tag
:key=value filter. tag-value
- The value of a tag assigned to the
* resource. This filter is independent of the tag-key
* filter. usage-price
- The usage price of
* the Reserved Instance, per hour (for example, 0.84).
*/
public void setFilters(java.util.Collectionavailability-zone
- The
* Availability Zone where the Reserved Instance can be used. duration
- The duration of the Reserved Instance (one
* year or three years), in seconds (31536000
|
* 94608000
). end
- The time when
* the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z).
* fixed-price
- The purchase price of the
* Reserved Instance (for example, 9800.0). instance-type
- The instance type that is covered by
* the reservation. 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-id
* - The ID of the Reserved Instance. start
-
* The time at which the Reserved Instance purchase request was placed
* (for example, 2014-08-07T11:54:42.000Z). state
- The state of the Reserved Instance
* (payment-pending
| active
|
* payment-failed
| retired
). tag
:key=value - The key/value
* combination of a tag assigned to the resource. tag-key
- The key of a tag assigned to the resource.
* This filter is independent of the tag-value
filter. For
* example, if you use both the filter "tag-key=Purpose" and the filter
* "tag-value=X", you get any resources assigned both the tag key Purpose
* (regardless of what the tag's value is), and the tag value X
* (regardless of what the tag's key is). If you want to list only
* resources where Purpose is X, see the
* tag
:key=value filter. tag-value
- The value of a tag assigned to the
* resource. This filter is independent of the tag-key
* filter. usage-price
- The usage price of
* the Reserved Instance, per hour (for example, 0.84).
* availability-zone
- The
* Availability Zone where the Reserved Instance can be used. duration
- The duration of the Reserved Instance (one
* year or three years), in seconds (31536000
|
* 94608000
). end
- The time when
* the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z).
* fixed-price
- The purchase price of the
* Reserved Instance (for example, 9800.0). instance-type
- The instance type that is covered by
* the reservation. 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-id
* - The ID of the Reserved Instance. start
-
* The time at which the Reserved Instance purchase request was placed
* (for example, 2014-08-07T11:54:42.000Z). state
- The state of the Reserved Instance
* (payment-pending
| active
|
* payment-failed
| retired
). tag
:key=value - The key/value
* combination of a tag assigned to the resource. tag-key
- The key of a tag assigned to the resource.
* This filter is independent of the tag-value
filter. For
* example, if you use both the filter "tag-key=Purpose" and the filter
* "tag-value=X", you get any resources assigned both the tag key Purpose
* (regardless of what the tag's value is), and the tag value X
* (regardless of what the tag's key is). If you want to list only
* resources where Purpose is X, see the
* tag
:key=value filter. tag-value
- The value of a tag assigned to the
* resource. This filter is independent of the tag-key
* filter. usage-price
- The usage price of
* the Reserved Instance, per hour (for example, 0.84).
*
* @return A reference to this updated object so that method calls can be chained
* together.
*/
public DescribeReservedInstancesRequest withFilters(Filter... filters) {
if (getFilters() == null) setFilters(new java.util.ArrayListavailability-zone
- The
* Availability Zone where the Reserved Instance can be used. duration
- The duration of the Reserved Instance (one
* year or three years), in seconds (31536000
|
* 94608000
). end
- The time when
* the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z).
* fixed-price
- The purchase price of the
* Reserved Instance (for example, 9800.0). instance-type
- The instance type that is covered by
* the reservation. 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-id
* - The ID of the Reserved Instance. start
-
* The time at which the Reserved Instance purchase request was placed
* (for example, 2014-08-07T11:54:42.000Z). state
- The state of the Reserved Instance
* (payment-pending
| active
|
* payment-failed
| retired
). tag
:key=value - The key/value
* combination of a tag assigned to the resource. tag-key
- The key of a tag assigned to the resource.
* This filter is independent of the tag-value
filter. For
* example, if you use both the filter "tag-key=Purpose" and the filter
* "tag-value=X", you get any resources assigned both the tag key Purpose
* (regardless of what the tag's value is), and the tag value X
* (regardless of what the tag's key is). If you want to list only
* resources where Purpose is X, see the
* tag
:key=value filter. tag-value
- The value of a tag assigned to the
* resource. This filter is independent of the tag-key
* filter. usage-price
- The usage price of
* the Reserved Instance, per hour (for example, 0.84).
* availability-zone
- The
* Availability Zone where the Reserved Instance can be used. duration
- The duration of the Reserved Instance (one
* year or three years), in seconds (31536000
|
* 94608000
). end
- The time when
* the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z).
* fixed-price
- The purchase price of the
* Reserved Instance (for example, 9800.0). instance-type
- The instance type that is covered by
* the reservation. 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-id
* - The ID of the Reserved Instance. start
-
* The time at which the Reserved Instance purchase request was placed
* (for example, 2014-08-07T11:54:42.000Z). state
- The state of the Reserved Instance
* (payment-pending
| active
|
* payment-failed
| retired
). tag
:key=value - The key/value
* combination of a tag assigned to the resource. tag-key
- The key of a tag assigned to the resource.
* This filter is independent of the tag-value
filter. For
* example, if you use both the filter "tag-key=Purpose" and the filter
* "tag-value=X", you get any resources assigned both the tag key Purpose
* (regardless of what the tag's value is), and the tag value X
* (regardless of what the tag's key is). If you want to list only
* resources where Purpose is X, see the
* tag
:key=value filter. tag-value
- The value of a tag assigned to the
* resource. This filter is independent of the tag-key
* filter. usage-price
- The usage price of
* the Reserved Instance, per hour (for example, 0.84).
*
* @return A reference to this updated object so that method calls can be chained
* together.
*/
public DescribeReservedInstancesRequest withFilters(java.util.Collectionavailability-zone
- The
* Availability Zone where the Reserved Instance can be used. duration
- The duration of the Reserved Instance (one
* year or three years), in seconds (31536000
|
* 94608000
). end
- The time when
* the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z).
* fixed-price
- The purchase price of the
* Reserved Instance (for example, 9800.0). instance-type
- The instance type that is covered by
* the reservation. 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-id
* - The ID of the Reserved Instance. start
-
* The time at which the Reserved Instance purchase request was placed
* (for example, 2014-08-07T11:54:42.000Z). state
- The state of the Reserved Instance
* (payment-pending
| active
|
* payment-failed
| retired
). tag
:key=value - The key/value
* combination of a tag assigned to the resource. tag-key
- The key of a tag assigned to the resource.
* This filter is independent of the tag-value
filter. For
* example, if you use both the filter "tag-key=Purpose" and the filter
* "tag-value=X", you get any resources assigned both the tag key Purpose
* (regardless of what the tag's value is), and the tag value X
* (regardless of what the tag's key is). If you want to list only
* resources where Purpose is X, see the
* tag
:key=value filter. tag-value
- The value of a tag assigned to the
* resource. This filter is independent of the tag-key
* filter. usage-price
- The usage price of
* the Reserved Instance, per hour (for example, 0.84). Medium Utilization
Reserved Instance offering type.
*
* Allowed Values: Heavy Utilization, Medium Utilization, Light Utilization, No Upfront, Partial Upfront, All Upfront
*
* @return 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 OfferingTypeValues
*/
public String getOfferingType() {
return 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.
*
* Allowed Values: Heavy Utilization, Medium Utilization, Light Utilization, No Upfront, Partial Upfront, All Upfront
*
* @param 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 OfferingTypeValues
*/
public void setOfferingType(String offeringType) {
this.offeringType = 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.
*
* Allowed Values: Heavy Utilization, Medium Utilization, Light Utilization, No Upfront, Partial Upfront, All Upfront
*
* @param 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.
*
* @return A reference to this updated object so that method calls can be chained
* together.
*
* @see OfferingTypeValues
*/
public DescribeReservedInstancesRequest withOfferingType(String offeringType) {
this.offeringType = offeringType;
return this;
}
/**
* 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.
*
* Allowed Values: Heavy Utilization, Medium Utilization, Light Utilization, No Upfront, Partial Upfront, All Upfront
*
* @param 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 OfferingTypeValues
*/
public void setOfferingType(OfferingTypeValues offeringType) {
this.offeringType = offeringType.toString();
}
/**
* 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.
*
* Allowed Values: Heavy Utilization, Medium Utilization, Light Utilization, No Upfront, Partial Upfront, All Upfront
*
* @param 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.
*
* @return A reference to this updated object so that method calls can be chained
* together.
*
* @see OfferingTypeValues
*/
public DescribeReservedInstancesRequest withOfferingType(OfferingTypeValues offeringType) {
this.offeringType = offeringType.toString();
return this;
}
/**
* This method is intended for internal use only.
* Returns the marshaled request configured with additional parameters to
* enable operation dry-run.
*/
@Override
public Request