#[non_exhaustive]pub struct ScheduledActionTypeBuilder { /* private fields */ }
Expand description
A builder for ScheduledActionType
.
Implementations§
source§impl ScheduledActionTypeBuilder
impl ScheduledActionTypeBuilder
sourcepub fn resize_cluster(self, input: ResizeClusterMessage) -> Self
pub fn resize_cluster(self, input: ResizeClusterMessage) -> Self
An action that runs a ResizeCluster
API operation.
sourcepub fn set_resize_cluster(self, input: Option<ResizeClusterMessage>) -> Self
pub fn set_resize_cluster(self, input: Option<ResizeClusterMessage>) -> Self
An action that runs a ResizeCluster
API operation.
sourcepub fn get_resize_cluster(&self) -> &Option<ResizeClusterMessage>
pub fn get_resize_cluster(&self) -> &Option<ResizeClusterMessage>
An action that runs a ResizeCluster
API operation.
sourcepub fn pause_cluster(self, input: PauseClusterMessage) -> Self
pub fn pause_cluster(self, input: PauseClusterMessage) -> Self
An action that runs a PauseCluster
API operation.
sourcepub fn set_pause_cluster(self, input: Option<PauseClusterMessage>) -> Self
pub fn set_pause_cluster(self, input: Option<PauseClusterMessage>) -> Self
An action that runs a PauseCluster
API operation.
sourcepub fn get_pause_cluster(&self) -> &Option<PauseClusterMessage>
pub fn get_pause_cluster(&self) -> &Option<PauseClusterMessage>
An action that runs a PauseCluster
API operation.
sourcepub fn resume_cluster(self, input: ResumeClusterMessage) -> Self
pub fn resume_cluster(self, input: ResumeClusterMessage) -> Self
An action that runs a ResumeCluster
API operation.
sourcepub fn set_resume_cluster(self, input: Option<ResumeClusterMessage>) -> Self
pub fn set_resume_cluster(self, input: Option<ResumeClusterMessage>) -> Self
An action that runs a ResumeCluster
API operation.
sourcepub fn get_resume_cluster(&self) -> &Option<ResumeClusterMessage>
pub fn get_resume_cluster(&self) -> &Option<ResumeClusterMessage>
An action that runs a ResumeCluster
API operation.
sourcepub fn build(self) -> ScheduledActionType
pub fn build(self) -> ScheduledActionType
Consumes the builder and constructs a ScheduledActionType
.
Trait Implementations§
source§impl Clone for ScheduledActionTypeBuilder
impl Clone for ScheduledActionTypeBuilder
source§fn clone(&self) -> ScheduledActionTypeBuilder
fn clone(&self) -> ScheduledActionTypeBuilder
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 ScheduledActionTypeBuilder
impl Debug for ScheduledActionTypeBuilder
source§impl Default for ScheduledActionTypeBuilder
impl Default for ScheduledActionTypeBuilder
source§fn default() -> ScheduledActionTypeBuilder
fn default() -> ScheduledActionTypeBuilder
Returns the “default value” for a type. Read more
impl StructuralPartialEq for ScheduledActionTypeBuilder
Auto Trait Implementations§
impl Freeze for ScheduledActionTypeBuilder
impl RefUnwindSafe for ScheduledActionTypeBuilder
impl Send for ScheduledActionTypeBuilder
impl Sync for ScheduledActionTypeBuilder
impl Unpin for ScheduledActionTypeBuilder
impl UnwindSafe for ScheduledActionTypeBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.