pub struct PurchaseReservedNodesOffering { /* 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 PurchaseReservedNodesOffering
impl PurchaseReservedNodesOffering
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<PurchaseReservedNodesOffering, AwsResponseRetryClassifier>, SdkError<PurchaseReservedNodesOfferingError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<PurchaseReservedNodesOffering, AwsResponseRetryClassifier>, SdkError<PurchaseReservedNodesOfferingError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<PurchaseReservedNodesOfferingOutput, SdkError<PurchaseReservedNodesOfferingError>>
pub async fn send(
self
) -> Result<PurchaseReservedNodesOfferingOutput, SdkError<PurchaseReservedNodesOfferingError>>
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 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 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 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.
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.
Trait Implementations§
source§impl Clone for PurchaseReservedNodesOffering
impl Clone for PurchaseReservedNodesOffering
source§fn clone(&self) -> PurchaseReservedNodesOffering
fn clone(&self) -> PurchaseReservedNodesOffering
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more