#[non_exhaustive]pub struct RebootCacheClusterInput {
pub cache_cluster_id: Option<String>,
pub cache_node_ids_to_reboot: Option<Vec<String>>,
}
Expand description
Represents the input of a RebootCacheCluster
operation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.cache_cluster_id: Option<String>
The cluster identifier. This parameter is stored as a lowercase string.
cache_node_ids_to_reboot: Option<Vec<String>>
A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, 0002, etc.). To reboot an entire cluster, specify all of the cache node IDs.
Implementations§
source§impl RebootCacheClusterInput
impl RebootCacheClusterInput
sourcepub fn cache_cluster_id(&self) -> Option<&str>
pub fn cache_cluster_id(&self) -> Option<&str>
The cluster identifier. This parameter is stored as a lowercase string.
sourcepub fn cache_node_ids_to_reboot(&self) -> &[String]
pub fn cache_node_ids_to_reboot(&self) -> &[String]
A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, 0002, etc.). To reboot an entire cluster, specify all of the cache node IDs.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .cache_node_ids_to_reboot.is_none()
.
source§impl RebootCacheClusterInput
impl RebootCacheClusterInput
sourcepub fn builder() -> RebootCacheClusterInputBuilder
pub fn builder() -> RebootCacheClusterInputBuilder
Creates a new builder-style object to manufacture RebootCacheClusterInput
.
Trait Implementations§
source§impl Clone for RebootCacheClusterInput
impl Clone for RebootCacheClusterInput
source§fn clone(&self) -> RebootCacheClusterInput
fn clone(&self) -> RebootCacheClusterInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RebootCacheClusterInput
impl Debug for RebootCacheClusterInput
source§impl PartialEq for RebootCacheClusterInput
impl PartialEq for RebootCacheClusterInput
source§fn eq(&self, other: &RebootCacheClusterInput) -> bool
fn eq(&self, other: &RebootCacheClusterInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RebootCacheClusterInput
Auto Trait Implementations§
impl RefUnwindSafe for RebootCacheClusterInput
impl Send for RebootCacheClusterInput
impl Sync for RebootCacheClusterInput
impl Unpin for RebootCacheClusterInput
impl UnwindSafe for RebootCacheClusterInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.