/* * 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; /** *

* Describes all of the attributes of a reserved cache node offering. *

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

* A unique identifier for the reserved cache node offering. *

*/ private String reservedCacheNodesOfferingId; /** *

* The cache node type for the reserved cache node. *

*

* 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 of the offering. in seconds. *

*/ private Integer duration; /** *

* The fixed price charged for this offering. *

*/ private Double fixedPrice; /** *

* The hourly price charged for this offering. *

*/ private Double usagePrice; /** *

* The cache engine used by the offering. *

*/ private String productDescription; /** *

* The offering type. *

*/ private String offeringType; /** *

* The recurring price charged to run this reserved cache node. *

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

* A unique identifier for the reserved cache node offering. *

* * @param reservedCacheNodesOfferingId * A unique identifier for the reserved cache node offering. */ public void setReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId) { this.reservedCacheNodesOfferingId = reservedCacheNodesOfferingId; } /** *

* A unique identifier for the reserved cache node offering. *

* * @return A unique identifier for the reserved cache node offering. */ public String getReservedCacheNodesOfferingId() { return this.reservedCacheNodesOfferingId; } /** *

* A unique identifier for the reserved cache node offering. *

* * @param reservedCacheNodesOfferingId * A unique identifier for the reserved cache node offering. * @return Returns a reference to this object so that method calls can be chained together. */ public ReservedCacheNodesOffering withReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId) { setReservedCacheNodesOfferingId(reservedCacheNodesOfferingId); return this; } /** *

* The cache node type for the reserved cache node. *

*

* 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 for the reserved cache node.

*

* 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 *

*