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
source§fn eq(&self, other: &MaintenanceTrackBuilder) -> bool
fn eq(&self, other: &MaintenanceTrackBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.