/* * 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.elasticache.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** *

* Represents the input of a DescribeReservedCacheNodes operation. *

* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DescribeReservedCacheNodesRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* The reserved cache node identifier filter value. Use this parameter to show only the reservation that matches the * specified reservation ID. *

*/ private String reservedCacheNodeId; /** *

* The offering identifier filter value. Use this parameter to show only purchased reservations matching the * specified offering identifier. *

*/ private String reservedCacheNodesOfferingId; /** *

* The cache node type filter value. Use this parameter to show only those reservations matching the specified cache * node type. *

*

* The following node types are supported by ElastiCache. Generally speaking, the current generation types provide * more memory and computational power at lower cost when compared to their equivalent previous generation * counterparts. *

* *

* Additional node type info *

* */ private String cacheNodeType; /** *

* The duration filter value, specified in years or seconds. Use this parameter to show only reservations for this * duration. *

*

* Valid Values: 1 | 3 | 31536000 | 94608000 *

*/ private String duration; /** *

* The product description filter value. Use this parameter to show only those reservations matching the specified * product description. *

*/ private String productDescription; /** *

* The offering type filter value. Use this parameter to show only the available offerings matching the specified * offering type. *

*

* Valid values: * "Light Utilization"|"Medium Utilization"|"Heavy Utilization"|"All Upfront"|"Partial Upfront"| "No Upfront" *

*/ private String offeringType; /** *

* The maximum number of records to include in the response. If more records exist than the specified * MaxRecords value, a marker is included in the response so that the remaining results can be * retrieved. *

*

* Default: 100 *

*

* Constraints: minimum 20; maximum 100. *

*/ private Integer maxRecords; /** *

* An optional marker returned from a prior request. Use this marker for pagination of results from this operation. * If this parameter is specified, the response includes only records beyond the marker, up to the value specified * by MaxRecords. *

*/ private String marker; /** *

* The reserved cache node identifier filter value. Use this parameter to show only the reservation that matches the * specified reservation ID. *

* * @param reservedCacheNodeId * The reserved cache node identifier filter value. Use this parameter to show only the reservation that * matches the specified reservation ID. */ public void setReservedCacheNodeId(String reservedCacheNodeId) { this.reservedCacheNodeId = reservedCacheNodeId; } /** *

* The reserved cache node identifier filter value. Use this parameter to show only the reservation that matches the * specified reservation ID. *

* * @return The reserved cache node identifier filter value. Use this parameter to show only the reservation that * matches the specified reservation ID. */ public String getReservedCacheNodeId() { return this.reservedCacheNodeId; } /** *

* The reserved cache node identifier filter value. Use this parameter to show only the reservation that matches the * specified reservation ID. *

* * @param reservedCacheNodeId * The reserved cache node identifier filter value. Use this parameter to show only the reservation that * matches the specified reservation ID. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeReservedCacheNodesRequest withReservedCacheNodeId(String reservedCacheNodeId) { setReservedCacheNodeId(reservedCacheNodeId); return this; } /** *

* The offering identifier filter value. Use this parameter to show only purchased reservations matching the * specified offering identifier. *

* * @param reservedCacheNodesOfferingId * The offering identifier filter value. Use this parameter to show only purchased reservations matching the * specified offering identifier. */ public void setReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId) { this.reservedCacheNodesOfferingId = reservedCacheNodesOfferingId; } /** *

* The offering identifier filter value. Use this parameter to show only purchased reservations matching the * specified offering identifier. *

* * @return The offering identifier filter value. Use this parameter to show only purchased reservations matching the * specified offering identifier. */ public String getReservedCacheNodesOfferingId() { return this.reservedCacheNodesOfferingId; } /** *

* The offering identifier filter value. Use this parameter to show only purchased reservations matching the * specified offering identifier. *

* * @param reservedCacheNodesOfferingId * The offering identifier filter value. Use this parameter to show only purchased reservations matching the * specified offering identifier. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeReservedCacheNodesRequest withReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId) { setReservedCacheNodesOfferingId(reservedCacheNodesOfferingId); return this; } /** *

* The cache node type filter value. Use this parameter to show only those reservations matching the specified cache * node type. *

*

* The following node types are supported by ElastiCache. Generally speaking, the current generation types provide * more memory and computational power at lower cost when compared to their equivalent previous generation * counterparts. *

* *

* Additional node type info *

* * * @param cacheNodeType * The cache node type filter value. Use this parameter to show only those reservations matching the * specified cache node type.

*

* The following node types are supported by ElastiCache. Generally speaking, the current generation types * provide more memory and computational power at lower cost when compared to their equivalent previous * generation counterparts. *

* *

* Additional node type info *

*