// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`PurchaseReservedCacheNodesOffering`](crate::operation::purchase_reserved_cache_nodes_offering::builders::PurchaseReservedCacheNodesOfferingFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`reserved_cache_nodes_offering_id(impl Into<String>)`](crate::operation::purchase_reserved_cache_nodes_offering::builders::PurchaseReservedCacheNodesOfferingFluentBuilder::reserved_cache_nodes_offering_id) / [`set_reserved_cache_nodes_offering_id(Option<String>)`](crate::operation::purchase_reserved_cache_nodes_offering::builders::PurchaseReservedCacheNodesOfferingFluentBuilder::set_reserved_cache_nodes_offering_id):<br>required: **true**<br><p>The ID of the reserved cache node offering to purchase.</p> <p>Example: <code>438012d3-4052-4cc7-b2e3-8d3372e0e706</code></p><br>
/// - [`reserved_cache_node_id(impl Into<String>)`](crate::operation::purchase_reserved_cache_nodes_offering::builders::PurchaseReservedCacheNodesOfferingFluentBuilder::reserved_cache_node_id) / [`set_reserved_cache_node_id(Option<String>)`](crate::operation::purchase_reserved_cache_nodes_offering::builders::PurchaseReservedCacheNodesOfferingFluentBuilder::set_reserved_cache_node_id):<br>required: **false**<br><p>A customer-specified identifier to track this reservation.</p><note> <p>The Reserved Cache Node ID is an unique customer-specified identifier to track this reservation. If this parameter is not specified, ElastiCache automatically generates an identifier for the reservation.</p> </note> <p>Example: myreservationID</p><br>
/// - [`cache_node_count(i32)`](crate::operation::purchase_reserved_cache_nodes_offering::builders::PurchaseReservedCacheNodesOfferingFluentBuilder::cache_node_count) / [`set_cache_node_count(Option<i32>)`](crate::operation::purchase_reserved_cache_nodes_offering::builders::PurchaseReservedCacheNodesOfferingFluentBuilder::set_cache_node_count):<br>required: **false**<br><p>The number of cache node instances to reserve.</p> <p>Default: <code>1</code></p><br>
/// - [`tags(Tag)`](crate::operation::purchase_reserved_cache_nodes_offering::builders::PurchaseReservedCacheNodesOfferingFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::purchase_reserved_cache_nodes_offering::builders::PurchaseReservedCacheNodesOfferingFluentBuilder::set_tags):<br>required: **false**<br><p>A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.</p><br>
/// - On success, responds with [`PurchaseReservedCacheNodesOfferingOutput`](crate::operation::purchase_reserved_cache_nodes_offering::PurchaseReservedCacheNodesOfferingOutput) with field(s):
/// - [`reserved_cache_node(Option<ReservedCacheNode>)`](crate::operation::purchase_reserved_cache_nodes_offering::PurchaseReservedCacheNodesOfferingOutput::reserved_cache_node): <p>Represents the output of a <code>PurchaseReservedCacheNodesOffering</code> operation.</p>
/// - On failure, responds with [`SdkError<PurchaseReservedCacheNodesOfferingError>`](crate::operation::purchase_reserved_cache_nodes_offering::PurchaseReservedCacheNodesOfferingError)
pub fn purchase_reserved_cache_nodes_offering(
&self,
) -> crate::operation::purchase_reserved_cache_nodes_offering::builders::PurchaseReservedCacheNodesOfferingFluentBuilder {
crate::operation::purchase_reserved_cache_nodes_offering::builders::PurchaseReservedCacheNodesOfferingFluentBuilder::new(self.handle.clone())
}
}