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
source§fn eq(&self, other: &UpdateTargetBuilder) -> bool
fn eq(&self, other: &UpdateTargetBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateTargetBuilder
Auto Trait Implementations§
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> 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.