Struct aws_sdk_memorydb::operation::purchase_reserved_nodes_offering::builders::PurchaseReservedNodesOfferingFluentBuilder
source · pub struct PurchaseReservedNodesOfferingFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to PurchaseReservedNodesOffering.
Allows you to purchase a reserved node offering. Reserved nodes are not eligible for cancellation and are non-refundable.
Implementations§
source§impl PurchaseReservedNodesOfferingFluentBuilder
impl PurchaseReservedNodesOfferingFluentBuilder
sourcepub fn as_input(&self) -> &PurchaseReservedNodesOfferingInputBuilder
pub fn as_input(&self) -> &PurchaseReservedNodesOfferingInputBuilder
Access the PurchaseReservedNodesOffering as a reference.
sourcepub async fn send(
self
) -> Result<PurchaseReservedNodesOfferingOutput, SdkError<PurchaseReservedNodesOfferingError, HttpResponse>>
pub async fn send( self ) -> Result<PurchaseReservedNodesOfferingOutput, SdkError<PurchaseReservedNodesOfferingError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<PurchaseReservedNodesOfferingOutput, PurchaseReservedNodesOfferingError, Self>
pub fn customize( self ) -> CustomizableOperation<PurchaseReservedNodesOfferingOutput, PurchaseReservedNodesOfferingError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn reserved_nodes_offering_id(self, input: impl Into<String>) -> Self
pub fn reserved_nodes_offering_id(self, input: impl Into<String>) -> Self
The ID of the reserved node offering to purchase.
sourcepub fn set_reserved_nodes_offering_id(self, input: Option<String>) -> Self
pub fn set_reserved_nodes_offering_id(self, input: Option<String>) -> Self
The ID of the reserved node offering to purchase.
sourcepub fn get_reserved_nodes_offering_id(&self) -> &Option<String>
pub fn get_reserved_nodes_offering_id(&self) -> &Option<String>
The ID of the reserved node offering to purchase.
sourcepub fn reservation_id(self, input: impl Into<String>) -> Self
pub fn reservation_id(self, input: impl Into<String>) -> Self
A customer-specified identifier to track this reservation.
sourcepub fn set_reservation_id(self, input: Option<String>) -> Self
pub fn set_reservation_id(self, input: Option<String>) -> Self
A customer-specified identifier to track this reservation.
sourcepub fn get_reservation_id(&self) -> &Option<String>
pub fn get_reservation_id(&self) -> &Option<String>
A customer-specified identifier to track this reservation.
sourcepub fn node_count(self, input: i32) -> Self
pub fn node_count(self, input: i32) -> Self
The number of node instances to reserve.
sourcepub fn set_node_count(self, input: Option<i32>) -> Self
pub fn set_node_count(self, input: Option<i32>) -> Self
The number of node instances to reserve.
sourcepub fn get_node_count(&self) -> &Option<i32>
pub fn get_node_count(&self) -> &Option<i32>
The number of node instances to reserve.
Appends an item to Tags.
To override the contents of this collection use set_tags.
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.
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.
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.
Trait Implementations§
source§impl Clone for PurchaseReservedNodesOfferingFluentBuilder
impl Clone for PurchaseReservedNodesOfferingFluentBuilder
source§fn clone(&self) -> PurchaseReservedNodesOfferingFluentBuilder
fn clone(&self) -> PurchaseReservedNodesOfferingFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more