#[non_exhaustive]pub struct NodeConfigurationOptionBuilder { /* private fields */ }
Expand description
A builder for NodeConfigurationOption
.
Implementations§
source§impl NodeConfigurationOptionBuilder
impl NodeConfigurationOptionBuilder
sourcepub fn node_type(self, input: impl Into<String>) -> Self
pub fn node_type(self, input: impl Into<String>) -> Self
The node type, such as, "ds2.8xlarge".
sourcepub fn set_node_type(self, input: Option<String>) -> Self
pub fn set_node_type(self, input: Option<String>) -> Self
The node type, such as, "ds2.8xlarge".
sourcepub fn get_node_type(&self) -> &Option<String>
pub fn get_node_type(&self) -> &Option<String>
The node type, such as, "ds2.8xlarge".
sourcepub fn number_of_nodes(self, input: i32) -> Self
pub fn number_of_nodes(self, input: i32) -> Self
The number of nodes.
sourcepub fn set_number_of_nodes(self, input: Option<i32>) -> Self
pub fn set_number_of_nodes(self, input: Option<i32>) -> Self
The number of nodes.
sourcepub fn get_number_of_nodes(&self) -> &Option<i32>
pub fn get_number_of_nodes(&self) -> &Option<i32>
The number of nodes.
sourcepub fn estimated_disk_utilization_percent(self, input: f64) -> Self
pub fn estimated_disk_utilization_percent(self, input: f64) -> Self
The estimated disk utilizaton percentage.
sourcepub fn set_estimated_disk_utilization_percent(self, input: Option<f64>) -> Self
pub fn set_estimated_disk_utilization_percent(self, input: Option<f64>) -> Self
The estimated disk utilizaton percentage.
sourcepub fn get_estimated_disk_utilization_percent(&self) -> &Option<f64>
pub fn get_estimated_disk_utilization_percent(&self) -> &Option<f64>
The estimated disk utilizaton percentage.
sourcepub fn set_mode(self, input: Option<Mode>) -> Self
pub fn set_mode(self, input: Option<Mode>) -> Self
The category of the node configuration recommendation.
sourcepub fn build(self) -> NodeConfigurationOption
pub fn build(self) -> NodeConfigurationOption
Consumes the builder and constructs a NodeConfigurationOption
.
Trait Implementations§
source§impl Clone for NodeConfigurationOptionBuilder
impl Clone for NodeConfigurationOptionBuilder
source§fn clone(&self) -> NodeConfigurationOptionBuilder
fn clone(&self) -> NodeConfigurationOptionBuilder
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 NodeConfigurationOptionBuilder
impl Default for NodeConfigurationOptionBuilder
source§fn default() -> NodeConfigurationOptionBuilder
fn default() -> NodeConfigurationOptionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for NodeConfigurationOptionBuilder
impl PartialEq for NodeConfigurationOptionBuilder
source§fn eq(&self, other: &NodeConfigurationOptionBuilder) -> bool
fn eq(&self, other: &NodeConfigurationOptionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NodeConfigurationOptionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for NodeConfigurationOptionBuilder
impl Send for NodeConfigurationOptionBuilder
impl Sync for NodeConfigurationOptionBuilder
impl Unpin for NodeConfigurationOptionBuilder
impl UnwindSafe for NodeConfigurationOptionBuilder
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.