#[non_exhaustive]pub struct ClusterNodeSummaryBuilder { /* private fields */ }
Expand description
A builder for ClusterNodeSummary
.
Implementations§
source§impl ClusterNodeSummaryBuilder
impl ClusterNodeSummaryBuilder
sourcepub fn instance_group_name(self, input: impl Into<String>) -> Self
pub fn instance_group_name(self, input: impl Into<String>) -> Self
The name of the instance group in which the instance is.
This field is required.sourcepub fn set_instance_group_name(self, input: Option<String>) -> Self
pub fn set_instance_group_name(self, input: Option<String>) -> Self
The name of the instance group in which the instance is.
sourcepub fn get_instance_group_name(&self) -> &Option<String>
pub fn get_instance_group_name(&self) -> &Option<String>
The name of the instance group in which the instance is.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The ID of the instance.
This field is required.sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The ID of the instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The ID of the instance.
sourcepub fn instance_type(self, input: ClusterInstanceType) -> Self
pub fn instance_type(self, input: ClusterInstanceType) -> Self
The type of the instance.
This field is required.sourcepub fn set_instance_type(self, input: Option<ClusterInstanceType>) -> Self
pub fn set_instance_type(self, input: Option<ClusterInstanceType>) -> Self
The type of the instance.
sourcepub fn get_instance_type(&self) -> &Option<ClusterInstanceType>
pub fn get_instance_type(&self) -> &Option<ClusterInstanceType>
The type of the instance.
sourcepub fn launch_time(self, input: DateTime) -> Self
pub fn launch_time(self, input: DateTime) -> Self
The time when the instance is launched.
This field is required.sourcepub fn set_launch_time(self, input: Option<DateTime>) -> Self
pub fn set_launch_time(self, input: Option<DateTime>) -> Self
The time when the instance is launched.
sourcepub fn get_launch_time(&self) -> &Option<DateTime>
pub fn get_launch_time(&self) -> &Option<DateTime>
The time when the instance is launched.
sourcepub fn instance_status(self, input: ClusterInstanceStatusDetails) -> Self
pub fn instance_status(self, input: ClusterInstanceStatusDetails) -> Self
The status of the instance.
This field is required.sourcepub fn set_instance_status(
self,
input: Option<ClusterInstanceStatusDetails>
) -> Self
pub fn set_instance_status( self, input: Option<ClusterInstanceStatusDetails> ) -> Self
The status of the instance.
sourcepub fn get_instance_status(&self) -> &Option<ClusterInstanceStatusDetails>
pub fn get_instance_status(&self) -> &Option<ClusterInstanceStatusDetails>
The status of the instance.
sourcepub fn build(self) -> ClusterNodeSummary
pub fn build(self) -> ClusterNodeSummary
Consumes the builder and constructs a ClusterNodeSummary
.
Trait Implementations§
source§impl Clone for ClusterNodeSummaryBuilder
impl Clone for ClusterNodeSummaryBuilder
source§fn clone(&self) -> ClusterNodeSummaryBuilder
fn clone(&self) -> ClusterNodeSummaryBuilder
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 ClusterNodeSummaryBuilder
impl Debug for ClusterNodeSummaryBuilder
source§impl Default for ClusterNodeSummaryBuilder
impl Default for ClusterNodeSummaryBuilder
source§fn default() -> ClusterNodeSummaryBuilder
fn default() -> ClusterNodeSummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ClusterNodeSummaryBuilder
impl PartialEq for ClusterNodeSummaryBuilder
source§fn eq(&self, other: &ClusterNodeSummaryBuilder) -> bool
fn eq(&self, other: &ClusterNodeSummaryBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ClusterNodeSummaryBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ClusterNodeSummaryBuilder
impl Send for ClusterNodeSummaryBuilder
impl Sync for ClusterNodeSummaryBuilder
impl Unpin for ClusterNodeSummaryBuilder
impl UnwindSafe for ClusterNodeSummaryBuilder
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.