#[non_exhaustive]pub struct OrderableClusterOptionBuilder { /* private fields */ }
Expand description
A builder for OrderableClusterOption
.
Implementations§
source§impl OrderableClusterOptionBuilder
impl OrderableClusterOptionBuilder
sourcepub fn cluster_version(self, input: impl Into<String>) -> Self
pub fn cluster_version(self, input: impl Into<String>) -> Self
The version of the orderable cluster.
sourcepub fn set_cluster_version(self, input: Option<String>) -> Self
pub fn set_cluster_version(self, input: Option<String>) -> Self
The version of the orderable cluster.
sourcepub fn get_cluster_version(&self) -> &Option<String>
pub fn get_cluster_version(&self) -> &Option<String>
The version of the orderable cluster.
sourcepub fn cluster_type(self, input: impl Into<String>) -> Self
pub fn cluster_type(self, input: impl Into<String>) -> Self
The cluster type, for example multi-node
.
sourcepub fn set_cluster_type(self, input: Option<String>) -> Self
pub fn set_cluster_type(self, input: Option<String>) -> Self
The cluster type, for example multi-node
.
sourcepub fn get_cluster_type(&self) -> &Option<String>
pub fn get_cluster_type(&self) -> &Option<String>
The cluster type, for example multi-node
.
sourcepub fn node_type(self, input: impl Into<String>) -> Self
pub fn node_type(self, input: impl Into<String>) -> Self
The node type for the orderable cluster.
sourcepub fn set_node_type(self, input: Option<String>) -> Self
pub fn set_node_type(self, input: Option<String>) -> Self
The node type for the orderable cluster.
sourcepub fn get_node_type(&self) -> &Option<String>
pub fn get_node_type(&self) -> &Option<String>
The node type for the orderable cluster.
sourcepub fn availability_zones(self, input: AvailabilityZone) -> Self
pub fn availability_zones(self, input: AvailabilityZone) -> Self
Appends an item to availability_zones
.
To override the contents of this collection use set_availability_zones
.
A list of availability zones for the orderable cluster.
sourcepub fn set_availability_zones(
self,
input: Option<Vec<AvailabilityZone>>
) -> Self
pub fn set_availability_zones( self, input: Option<Vec<AvailabilityZone>> ) -> Self
A list of availability zones for the orderable cluster.
sourcepub fn get_availability_zones(&self) -> &Option<Vec<AvailabilityZone>>
pub fn get_availability_zones(&self) -> &Option<Vec<AvailabilityZone>>
A list of availability zones for the orderable cluster.
sourcepub fn build(self) -> OrderableClusterOption
pub fn build(self) -> OrderableClusterOption
Consumes the builder and constructs a OrderableClusterOption
.
Trait Implementations§
source§impl Clone for OrderableClusterOptionBuilder
impl Clone for OrderableClusterOptionBuilder
source§fn clone(&self) -> OrderableClusterOptionBuilder
fn clone(&self) -> OrderableClusterOptionBuilder
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 Default for OrderableClusterOptionBuilder
impl Default for OrderableClusterOptionBuilder
source§fn default() -> OrderableClusterOptionBuilder
fn default() -> OrderableClusterOptionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for OrderableClusterOptionBuilder
impl PartialEq for OrderableClusterOptionBuilder
source§fn eq(&self, other: &OrderableClusterOptionBuilder) -> bool
fn eq(&self, other: &OrderableClusterOptionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OrderableClusterOptionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for OrderableClusterOptionBuilder
impl Send for OrderableClusterOptionBuilder
impl Sync for OrderableClusterOptionBuilder
impl Unpin for OrderableClusterOptionBuilder
impl UnwindSafe for OrderableClusterOptionBuilder
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.