Struct aws_sdk_redshift::types::builders::RevisionTargetBuilder
source · #[non_exhaustive]pub struct RevisionTargetBuilder { /* private fields */ }Expand description
A builder for RevisionTarget.
Implementations§
source§impl RevisionTargetBuilder
impl RevisionTargetBuilder
sourcepub fn database_revision(self, input: impl Into<String>) -> Self
pub fn database_revision(self, input: impl Into<String>) -> Self
A unique string that identifies the version to update the cluster to. You can use this value in ModifyClusterDbRevision.
sourcepub fn set_database_revision(self, input: Option<String>) -> Self
pub fn set_database_revision(self, input: Option<String>) -> Self
A unique string that identifies the version to update the cluster to. You can use this value in ModifyClusterDbRevision.
sourcepub fn get_database_revision(&self) -> &Option<String>
pub fn get_database_revision(&self) -> &Option<String>
A unique string that identifies the version to update the cluster to. You can use this value in ModifyClusterDbRevision.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A string that describes the changes and features that will be applied to the cluster when it is updated to the corresponding ClusterDbRevision.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A string that describes the changes and features that will be applied to the cluster when it is updated to the corresponding ClusterDbRevision.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A string that describes the changes and features that will be applied to the cluster when it is updated to the corresponding ClusterDbRevision.
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 build(self) -> RevisionTarget
pub fn build(self) -> RevisionTarget
Consumes the builder and constructs a RevisionTarget.
Trait Implementations§
source§impl Clone for RevisionTargetBuilder
impl Clone for RevisionTargetBuilder
source§fn clone(&self) -> RevisionTargetBuilder
fn clone(&self) -> RevisionTargetBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RevisionTargetBuilder
impl Debug for RevisionTargetBuilder
source§impl Default for RevisionTargetBuilder
impl Default for RevisionTargetBuilder
source§fn default() -> RevisionTargetBuilder
fn default() -> RevisionTargetBuilder
source§impl PartialEq for RevisionTargetBuilder
impl PartialEq for RevisionTargetBuilder
impl StructuralPartialEq for RevisionTargetBuilder
Auto Trait Implementations§
impl Freeze for RevisionTargetBuilder
impl RefUnwindSafe for RevisionTargetBuilder
impl Send for RevisionTargetBuilder
impl Sync for RevisionTargetBuilder
impl Unpin for RevisionTargetBuilder
impl UnwindSafe for RevisionTargetBuilder
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