#[non_exhaustive]pub struct PurchaseReservedCacheNodesOfferingInput { /* private fields */ }Expand description
Represents the input of a PurchaseReservedCacheNodesOffering operation.
Implementations
sourceimpl PurchaseReservedCacheNodesOfferingInput
impl PurchaseReservedCacheNodesOfferingInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PurchaseReservedCacheNodesOffering, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PurchaseReservedCacheNodesOffering, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<PurchaseReservedCacheNodesOffering>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PurchaseReservedCacheNodesOfferingInput.
sourceimpl PurchaseReservedCacheNodesOfferingInput
impl PurchaseReservedCacheNodesOfferingInput
sourcepub fn reserved_cache_nodes_offering_id(&self) -> Option<&str>
pub fn reserved_cache_nodes_offering_id(&self) -> Option<&str>
The ID of the reserved cache node offering to purchase.
Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
sourcepub fn reserved_cache_node_id(&self) -> Option<&str>
pub fn reserved_cache_node_id(&self) -> Option<&str>
A customer-specified identifier to track this reservation.
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.
Example: myreservationID
sourcepub fn cache_node_count(&self) -> Option<i32>
pub fn cache_node_count(&self) -> Option<i32>
The number of cache node instances to reserve.
Default: 1
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
sourceimpl Clone for PurchaseReservedCacheNodesOfferingInput
impl Clone for PurchaseReservedCacheNodesOfferingInput
sourcefn clone(&self) -> PurchaseReservedCacheNodesOfferingInput
fn clone(&self) -> PurchaseReservedCacheNodesOfferingInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl PartialEq<PurchaseReservedCacheNodesOfferingInput> for PurchaseReservedCacheNodesOfferingInput
impl PartialEq<PurchaseReservedCacheNodesOfferingInput> for PurchaseReservedCacheNodesOfferingInput
sourcefn eq(&self, other: &PurchaseReservedCacheNodesOfferingInput) -> bool
fn eq(&self, other: &PurchaseReservedCacheNodesOfferingInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl StructuralPartialEq for PurchaseReservedCacheNodesOfferingInput
Auto Trait Implementations
impl RefUnwindSafe for PurchaseReservedCacheNodesOfferingInput
impl Send for PurchaseReservedCacheNodesOfferingInput
impl Sync for PurchaseReservedCacheNodesOfferingInput
impl Unpin for PurchaseReservedCacheNodesOfferingInput
impl UnwindSafe for PurchaseReservedCacheNodesOfferingInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more