#[non_exhaustive]pub struct SecondaryClusterInfoBuilder { /* private fields */ }
Expand description
A builder for SecondaryClusterInfo
.
Implementations§
source§impl SecondaryClusterInfoBuilder
impl SecondaryClusterInfoBuilder
sourcepub fn availability_zone(self, input: impl Into<String>) -> Self
pub fn availability_zone(self, input: impl Into<String>) -> Self
The name of the Availability Zone in which the secondary compute unit of the cluster is located.
sourcepub fn set_availability_zone(self, input: Option<String>) -> Self
pub fn set_availability_zone(self, input: Option<String>) -> Self
The name of the Availability Zone in which the secondary compute unit of the cluster is located.
sourcepub fn get_availability_zone(&self) -> &Option<String>
pub fn get_availability_zone(&self) -> &Option<String>
The name of the Availability Zone in which the secondary compute unit of the cluster is located.
sourcepub fn cluster_nodes(self, input: ClusterNode) -> Self
pub fn cluster_nodes(self, input: ClusterNode) -> Self
Appends an item to cluster_nodes
.
To override the contents of this collection use set_cluster_nodes
.
The nodes in the secondary compute unit.
sourcepub fn set_cluster_nodes(self, input: Option<Vec<ClusterNode>>) -> Self
pub fn set_cluster_nodes(self, input: Option<Vec<ClusterNode>>) -> Self
The nodes in the secondary compute unit.
sourcepub fn get_cluster_nodes(&self) -> &Option<Vec<ClusterNode>>
pub fn get_cluster_nodes(&self) -> &Option<Vec<ClusterNode>>
The nodes in the secondary compute unit.
sourcepub fn build(self) -> SecondaryClusterInfo
pub fn build(self) -> SecondaryClusterInfo
Consumes the builder and constructs a SecondaryClusterInfo
.
Trait Implementations§
source§impl Clone for SecondaryClusterInfoBuilder
impl Clone for SecondaryClusterInfoBuilder
source§fn clone(&self) -> SecondaryClusterInfoBuilder
fn clone(&self) -> SecondaryClusterInfoBuilder
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 SecondaryClusterInfoBuilder
impl Debug for SecondaryClusterInfoBuilder
source§impl Default for SecondaryClusterInfoBuilder
impl Default for SecondaryClusterInfoBuilder
source§fn default() -> SecondaryClusterInfoBuilder
fn default() -> SecondaryClusterInfoBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SecondaryClusterInfoBuilder
impl PartialEq for SecondaryClusterInfoBuilder
source§fn eq(&self, other: &SecondaryClusterInfoBuilder) -> bool
fn eq(&self, other: &SecondaryClusterInfoBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SecondaryClusterInfoBuilder
Auto Trait Implementations§
impl Freeze for SecondaryClusterInfoBuilder
impl RefUnwindSafe for SecondaryClusterInfoBuilder
impl Send for SecondaryClusterInfoBuilder
impl Sync for SecondaryClusterInfoBuilder
impl Unpin for SecondaryClusterInfoBuilder
impl UnwindSafe for SecondaryClusterInfoBuilder
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.