Struct aws_sdk_redshift::types::MaintenanceTrack
source · #[non_exhaustive]pub struct MaintenanceTrack {
pub maintenance_track_name: Option<String>,
pub database_version: Option<String>,
pub update_targets: Option<Vec<UpdateTarget>>,
}
Expand description
Defines a maintenance track that determines which Amazon Redshift version to apply during a maintenance window. If the value for MaintenanceTrack
is current
, the cluster is updated to the most recently certified maintenance release. If the value is trailing
, the cluster is updated to the previously certified maintenance release.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.maintenance_track_name: Option<String>
The name of the maintenance track. Possible values are current
and trailing
.
database_version: Option<String>
The version number for the cluster release.
update_targets: Option<Vec<UpdateTarget>>
An array of UpdateTarget
objects to update with the maintenance track.
Implementations§
source§impl MaintenanceTrack
impl MaintenanceTrack
sourcepub fn maintenance_track_name(&self) -> Option<&str>
pub fn maintenance_track_name(&self) -> Option<&str>
The name of the maintenance track. Possible values are current
and trailing
.
sourcepub fn database_version(&self) -> Option<&str>
pub fn database_version(&self) -> Option<&str>
The version number for the cluster release.
sourcepub fn update_targets(&self) -> &[UpdateTarget]
pub fn update_targets(&self) -> &[UpdateTarget]
An array of UpdateTarget
objects to update with the maintenance track.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .update_targets.is_none()
.
source§impl MaintenanceTrack
impl MaintenanceTrack
sourcepub fn builder() -> MaintenanceTrackBuilder
pub fn builder() -> MaintenanceTrackBuilder
Creates a new builder-style object to manufacture MaintenanceTrack
.
Trait Implementations§
source§impl Clone for MaintenanceTrack
impl Clone for MaintenanceTrack
source§fn clone(&self) -> MaintenanceTrack
fn clone(&self) -> MaintenanceTrack
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MaintenanceTrack
impl Debug for MaintenanceTrack
source§impl PartialEq for MaintenanceTrack
impl PartialEq for MaintenanceTrack
impl StructuralPartialEq for MaintenanceTrack
Auto Trait Implementations§
impl Freeze for MaintenanceTrack
impl RefUnwindSafe for MaintenanceTrack
impl Send for MaintenanceTrack
impl Sync for MaintenanceTrack
impl Unpin for MaintenanceTrack
impl UnwindSafe for MaintenanceTrack
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