Struct aws_sdk_redshift::types::builders::UpdateTargetBuilder
source · #[non_exhaustive]pub struct UpdateTargetBuilder { /* private fields */ }
Expand description
A builder for UpdateTarget
.
Implementations§
source§impl UpdateTargetBuilder
impl UpdateTargetBuilder
sourcepub fn maintenance_track_name(self, input: impl Into<String>) -> Self
pub fn maintenance_track_name(self, input: impl Into<String>) -> Self
The name of the new maintenance track.
sourcepub fn set_maintenance_track_name(self, input: Option<String>) -> Self
pub fn set_maintenance_track_name(self, input: Option<String>) -> Self
The name of the new maintenance track.
sourcepub fn get_maintenance_track_name(&self) -> &Option<String>
pub fn get_maintenance_track_name(&self) -> &Option<String>
The name of the new maintenance track.
sourcepub fn database_version(self, input: impl Into<String>) -> Self
pub fn database_version(self, input: impl Into<String>) -> Self
The cluster version for the new maintenance track.
sourcepub fn set_database_version(self, input: Option<String>) -> Self
pub fn set_database_version(self, input: Option<String>) -> Self
The cluster version for the new maintenance track.
sourcepub fn get_database_version(&self) -> &Option<String>
pub fn get_database_version(&self) -> &Option<String>
The cluster version for the new maintenance track.
sourcepub fn supported_operations(self, input: SupportedOperation) -> Self
pub fn supported_operations(self, input: SupportedOperation) -> Self
Appends an item to supported_operations
.
To override the contents of this collection use set_supported_operations
.
A list of operations supported by the maintenance track.
sourcepub fn set_supported_operations(
self,
input: Option<Vec<SupportedOperation>>,
) -> Self
pub fn set_supported_operations( self, input: Option<Vec<SupportedOperation>>, ) -> Self
A list of operations supported by the maintenance track.
sourcepub fn get_supported_operations(&self) -> &Option<Vec<SupportedOperation>>
pub fn get_supported_operations(&self) -> &Option<Vec<SupportedOperation>>
A list of operations supported by the maintenance track.
sourcepub fn build(self) -> UpdateTarget
pub fn build(self) -> UpdateTarget
Consumes the builder and constructs a UpdateTarget
.
Trait Implementations§
source§impl Clone for UpdateTargetBuilder
impl Clone for UpdateTargetBuilder
source§fn clone(&self) -> UpdateTargetBuilder
fn clone(&self) -> UpdateTargetBuilder
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 UpdateTargetBuilder
impl Debug for UpdateTargetBuilder
source§impl Default for UpdateTargetBuilder
impl Default for UpdateTargetBuilder
source§fn default() -> UpdateTargetBuilder
fn default() -> UpdateTargetBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateTargetBuilder
impl PartialEq for UpdateTargetBuilder
impl StructuralPartialEq for UpdateTargetBuilder
Auto Trait Implementations§
impl Freeze for UpdateTargetBuilder
impl RefUnwindSafe for UpdateTargetBuilder
impl Send for UpdateTargetBuilder
impl Sync for UpdateTargetBuilder
impl Unpin for UpdateTargetBuilder
impl UnwindSafe for UpdateTargetBuilder
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.