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