Struct aws_sdk_redshift::model::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
sourceimpl 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) -> Option<&[UpdateTarget]>
pub fn update_targets(&self) -> Option<&[UpdateTarget]>
An array of UpdateTarget
objects to update with the maintenance track.
sourceimpl MaintenanceTrack
impl MaintenanceTrack
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture MaintenanceTrack
Trait Implementations
sourceimpl Clone for MaintenanceTrack
impl Clone for MaintenanceTrack
sourcefn clone(&self) -> MaintenanceTrack
fn clone(&self) -> MaintenanceTrack
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MaintenanceTrack
impl Debug for MaintenanceTrack
sourceimpl PartialEq<MaintenanceTrack> for MaintenanceTrack
impl PartialEq<MaintenanceTrack> for MaintenanceTrack
sourcefn eq(&self, other: &MaintenanceTrack) -> bool
fn eq(&self, other: &MaintenanceTrack) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MaintenanceTrack) -> bool
fn ne(&self, other: &MaintenanceTrack) -> bool
This method tests for !=
.
impl StructuralPartialEq for MaintenanceTrack
Auto Trait Implementations
impl RefUnwindSafe for MaintenanceTrack
impl Send for MaintenanceTrack
impl Sync for MaintenanceTrack
impl Unpin for MaintenanceTrack
impl UnwindSafe for MaintenanceTrack
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more