Struct aws_sdk_redshift::types::builders::ClusterDbRevisionBuilder
source · #[non_exhaustive]pub struct ClusterDbRevisionBuilder { /* private fields */ }
Expand description
A builder for ClusterDbRevision
.
Implementations§
source§impl ClusterDbRevisionBuilder
impl ClusterDbRevisionBuilder
sourcepub fn cluster_identifier(self, input: impl Into<String>) -> Self
pub fn cluster_identifier(self, input: impl Into<String>) -> Self
The unique identifier of the cluster.
sourcepub fn set_cluster_identifier(self, input: Option<String>) -> Self
pub fn set_cluster_identifier(self, input: Option<String>) -> Self
The unique identifier of the cluster.
sourcepub fn get_cluster_identifier(&self) -> &Option<String>
pub fn get_cluster_identifier(&self) -> &Option<String>
The unique identifier of the cluster.
sourcepub fn current_database_revision(self, input: impl Into<String>) -> Self
pub fn current_database_revision(self, input: impl Into<String>) -> Self
A string representing the current cluster version.
sourcepub fn set_current_database_revision(self, input: Option<String>) -> Self
pub fn set_current_database_revision(self, input: Option<String>) -> Self
A string representing the current cluster version.
sourcepub fn get_current_database_revision(&self) -> &Option<String>
pub fn get_current_database_revision(&self) -> &Option<String>
A string representing the current cluster version.
sourcepub fn database_revision_release_date(self, input: DateTime) -> Self
pub fn database_revision_release_date(self, input: DateTime) -> Self
The date on which the database revision was released.
sourcepub fn set_database_revision_release_date(self, input: Option<DateTime>) -> Self
pub fn set_database_revision_release_date(self, input: Option<DateTime>) -> Self
The date on which the database revision was released.
sourcepub fn get_database_revision_release_date(&self) -> &Option<DateTime>
pub fn get_database_revision_release_date(&self) -> &Option<DateTime>
The date on which the database revision was released.
sourcepub fn revision_targets(self, input: RevisionTarget) -> Self
pub fn revision_targets(self, input: RevisionTarget) -> Self
Appends an item to revision_targets
.
To override the contents of this collection use set_revision_targets
.
A list of RevisionTarget
objects, where each object describes the database revision that a cluster can be updated to.
sourcepub fn set_revision_targets(self, input: Option<Vec<RevisionTarget>>) -> Self
pub fn set_revision_targets(self, input: Option<Vec<RevisionTarget>>) -> Self
A list of RevisionTarget
objects, where each object describes the database revision that a cluster can be updated to.
sourcepub fn get_revision_targets(&self) -> &Option<Vec<RevisionTarget>>
pub fn get_revision_targets(&self) -> &Option<Vec<RevisionTarget>>
A list of RevisionTarget
objects, where each object describes the database revision that a cluster can be updated to.
sourcepub fn build(self) -> ClusterDbRevision
pub fn build(self) -> ClusterDbRevision
Consumes the builder and constructs a ClusterDbRevision
.
Trait Implementations§
source§impl Clone for ClusterDbRevisionBuilder
impl Clone for ClusterDbRevisionBuilder
source§fn clone(&self) -> ClusterDbRevisionBuilder
fn clone(&self) -> ClusterDbRevisionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ClusterDbRevisionBuilder
impl Debug for ClusterDbRevisionBuilder
source§impl Default for ClusterDbRevisionBuilder
impl Default for ClusterDbRevisionBuilder
source§fn default() -> ClusterDbRevisionBuilder
fn default() -> ClusterDbRevisionBuilder
source§impl PartialEq for ClusterDbRevisionBuilder
impl PartialEq for ClusterDbRevisionBuilder
impl StructuralPartialEq for ClusterDbRevisionBuilder
Auto Trait Implementations§
impl Freeze for ClusterDbRevisionBuilder
impl RefUnwindSafe for ClusterDbRevisionBuilder
impl Send for ClusterDbRevisionBuilder
impl Sync for ClusterDbRevisionBuilder
impl Unpin for ClusterDbRevisionBuilder
impl UnwindSafe for ClusterDbRevisionBuilder
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