Struct aws_sdk_redshift::types::builders::RecommendedActionBuilder
source · #[non_exhaustive]pub struct RecommendedActionBuilder { /* private fields */ }
Expand description
A builder for RecommendedAction
.
Implementations§
source§impl RecommendedActionBuilder
impl RecommendedActionBuilder
sourcepub fn text(self, input: impl Into<String>) -> Self
pub fn text(self, input: impl Into<String>) -> Self
The specific instruction about the command.
sourcepub fn set_text(self, input: Option<String>) -> Self
pub fn set_text(self, input: Option<String>) -> Self
The specific instruction about the command.
sourcepub fn database(self, input: impl Into<String>) -> Self
pub fn database(self, input: impl Into<String>) -> Self
The database name to perform the action on. Only applicable if the type of command is SQL.
sourcepub fn set_database(self, input: Option<String>) -> Self
pub fn set_database(self, input: Option<String>) -> Self
The database name to perform the action on. Only applicable if the type of command is SQL.
sourcepub fn get_database(&self) -> &Option<String>
pub fn get_database(&self) -> &Option<String>
The database name to perform the action on. Only applicable if the type of command is SQL.
sourcepub fn set_command(self, input: Option<String>) -> Self
pub fn set_command(self, input: Option<String>) -> Self
The command to run.
sourcepub fn get_command(&self) -> &Option<String>
pub fn get_command(&self) -> &Option<String>
The command to run.
sourcepub fn type(self, input: RecommendedActionType) -> Self
pub fn type(self, input: RecommendedActionType) -> Self
The type of command.
sourcepub fn set_type(self, input: Option<RecommendedActionType>) -> Self
pub fn set_type(self, input: Option<RecommendedActionType>) -> Self
The type of command.
sourcepub fn get_type(&self) -> &Option<RecommendedActionType>
pub fn get_type(&self) -> &Option<RecommendedActionType>
The type of command.
sourcepub fn build(self) -> RecommendedAction
pub fn build(self) -> RecommendedAction
Consumes the builder and constructs a RecommendedAction
.
Trait Implementations§
source§impl Clone for RecommendedActionBuilder
impl Clone for RecommendedActionBuilder
source§fn clone(&self) -> RecommendedActionBuilder
fn clone(&self) -> RecommendedActionBuilder
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 RecommendedActionBuilder
impl Debug for RecommendedActionBuilder
source§impl Default for RecommendedActionBuilder
impl Default for RecommendedActionBuilder
source§fn default() -> RecommendedActionBuilder
fn default() -> RecommendedActionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RecommendedActionBuilder
impl PartialEq for RecommendedActionBuilder
source§fn eq(&self, other: &RecommendedActionBuilder) -> bool
fn eq(&self, other: &RecommendedActionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RecommendedActionBuilder
Auto Trait Implementations§
impl Freeze for RecommendedActionBuilder
impl RefUnwindSafe for RecommendedActionBuilder
impl Send for RecommendedActionBuilder
impl Sync for RecommendedActionBuilder
impl Unpin for RecommendedActionBuilder
impl UnwindSafe for RecommendedActionBuilder
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.