Struct aws_sdk_redshift::types::builders::MaintenanceTrackBuilder
source · #[non_exhaustive]pub struct MaintenanceTrackBuilder { /* private fields */ }
Expand description
A builder for MaintenanceTrack
.
Implementations§
source§impl MaintenanceTrackBuilder
impl MaintenanceTrackBuilder
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 maintenance track. Possible values are current
and trailing
.
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 maintenance track. Possible values are current
and trailing
.
sourcepub fn get_maintenance_track_name(&self) -> &Option<String>
pub fn get_maintenance_track_name(&self) -> &Option<String>
The name of the maintenance track. Possible values are current
and trailing
.
sourcepub fn database_version(self, input: impl Into<String>) -> Self
pub fn database_version(self, input: impl Into<String>) -> Self
The version number for the cluster release.
sourcepub fn set_database_version(self, input: Option<String>) -> Self
pub fn set_database_version(self, input: Option<String>) -> Self
The version number for the cluster release.
sourcepub fn get_database_version(&self) -> &Option<String>
pub fn get_database_version(&self) -> &Option<String>
The version number for the cluster release.
sourcepub fn update_targets(self, input: UpdateTarget) -> Self
pub fn update_targets(self, input: UpdateTarget) -> Self
Appends an item to update_targets
.
To override the contents of this collection use set_update_targets
.
An array of UpdateTarget
objects to update with the maintenance track.
sourcepub fn set_update_targets(self, input: Option<Vec<UpdateTarget>>) -> Self
pub fn set_update_targets(self, input: Option<Vec<UpdateTarget>>) -> Self
An array of UpdateTarget
objects to update with the maintenance track.
sourcepub fn get_update_targets(&self) -> &Option<Vec<UpdateTarget>>
pub fn get_update_targets(&self) -> &Option<Vec<UpdateTarget>>
An array of UpdateTarget
objects to update with the maintenance track.
sourcepub fn build(self) -> MaintenanceTrack
pub fn build(self) -> MaintenanceTrack
Consumes the builder and constructs a MaintenanceTrack
.
Trait Implementations§
source§impl Clone for MaintenanceTrackBuilder
impl Clone for MaintenanceTrackBuilder
source§fn clone(&self) -> MaintenanceTrackBuilder
fn clone(&self) -> MaintenanceTrackBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MaintenanceTrackBuilder
impl Debug for MaintenanceTrackBuilder
source§impl Default for MaintenanceTrackBuilder
impl Default for MaintenanceTrackBuilder
source§fn default() -> MaintenanceTrackBuilder
fn default() -> MaintenanceTrackBuilder
source§impl PartialEq for MaintenanceTrackBuilder
impl PartialEq for MaintenanceTrackBuilder
impl StructuralPartialEq for MaintenanceTrackBuilder
Auto Trait Implementations§
impl Freeze for MaintenanceTrackBuilder
impl RefUnwindSafe for MaintenanceTrackBuilder
impl Send for MaintenanceTrackBuilder
impl Sync for MaintenanceTrackBuilder
impl Unpin for MaintenanceTrackBuilder
impl UnwindSafe for MaintenanceTrackBuilder
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
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)
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>
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>
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 more