/* * Copyright 2018-2023 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 javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; import com.amazonaws.Request; import com.amazonaws.services.ec2.model.transform.DescribeHostReservationOfferingsRequestMarshaller; /** * */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DescribeHostReservationOfferingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest { /** *

* The filters. *

* */ private com.amazonaws.internal.SdkInternalList filter; /** *

* This is the maximum duration of the reservation to purchase, specified in seconds. Reservations are available in * one-year and three-year terms. The number of seconds specified must be the number of seconds in a year * (365x24x60x60) times one of the supported durations (1 or 3). For example, specify 94608000 for three years. *

*/ private Integer maxDuration; /** *

* The maximum number of results to return for the request in a single page. The remaining results can be seen by * sending another request with the returned nextToken value. This value can be between 5 and 500. If * maxResults is given a larger value than 500, you receive an error. *

*/ private Integer maxResults; /** *

* This is the minimum duration of the reservation you'd like to purchase, specified in seconds. Reservations are * available in one-year and three-year terms. The number of seconds specified must be the number of seconds in a * year (365x24x60x60) times one of the supported durations (1 or 3). For example, specify 31536000 for one year. *

*/ private Integer minDuration; /** *

* The token to use to retrieve the next page of results. *

*/ private String nextToken; /** *

* The ID of the reservation offering. *

*/ private String offeringId; /** *

* The filters. *

* * * @return The filters.

*