Struct aws_sdk_pi::types::builders::FeatureMetadataBuilder
source · #[non_exhaustive]pub struct FeatureMetadataBuilder { /* private fields */ }
Expand description
A builder for FeatureMetadata
.
Implementations§
source§impl FeatureMetadataBuilder
impl FeatureMetadataBuilder
sourcepub fn status(self, input: FeatureStatus) -> Self
pub fn status(self, input: FeatureStatus) -> Self
The status of the feature on the DB instance. Possible values include the following:
-
ENABLED
- The feature is enabled on the instance. -
DISABLED
- The feature is disabled on the instance. -
UNSUPPORTED
- The feature isn't supported on the instance. -
ENABLED_PENDING_REBOOT
- The feature is enabled on the instance but requires a reboot to take effect. -
DISABLED_PENDING_REBOOT
- The feature is disabled on the instance but requires a reboot to take effect. -
UNKNOWN
- The feature status couldn't be determined.
sourcepub fn set_status(self, input: Option<FeatureStatus>) -> Self
pub fn set_status(self, input: Option<FeatureStatus>) -> Self
The status of the feature on the DB instance. Possible values include the following:
-
ENABLED
- The feature is enabled on the instance. -
DISABLED
- The feature is disabled on the instance. -
UNSUPPORTED
- The feature isn't supported on the instance. -
ENABLED_PENDING_REBOOT
- The feature is enabled on the instance but requires a reboot to take effect. -
DISABLED_PENDING_REBOOT
- The feature is disabled on the instance but requires a reboot to take effect. -
UNKNOWN
- The feature status couldn't be determined.
sourcepub fn get_status(&self) -> &Option<FeatureStatus>
pub fn get_status(&self) -> &Option<FeatureStatus>
The status of the feature on the DB instance. Possible values include the following:
-
ENABLED
- The feature is enabled on the instance. -
DISABLED
- The feature is disabled on the instance. -
UNSUPPORTED
- The feature isn't supported on the instance. -
ENABLED_PENDING_REBOOT
- The feature is enabled on the instance but requires a reboot to take effect. -
DISABLED_PENDING_REBOOT
- The feature is disabled on the instance but requires a reboot to take effect. -
UNKNOWN
- The feature status couldn't be determined.
sourcepub fn build(self) -> FeatureMetadata
pub fn build(self) -> FeatureMetadata
Consumes the builder and constructs a FeatureMetadata
.
Trait Implementations§
source§impl Clone for FeatureMetadataBuilder
impl Clone for FeatureMetadataBuilder
source§fn clone(&self) -> FeatureMetadataBuilder
fn clone(&self) -> FeatureMetadataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FeatureMetadataBuilder
impl Debug for FeatureMetadataBuilder
source§impl Default for FeatureMetadataBuilder
impl Default for FeatureMetadataBuilder
source§fn default() -> FeatureMetadataBuilder
fn default() -> FeatureMetadataBuilder
source§impl PartialEq for FeatureMetadataBuilder
impl PartialEq for FeatureMetadataBuilder
source§fn eq(&self, other: &FeatureMetadataBuilder) -> bool
fn eq(&self, other: &FeatureMetadataBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FeatureMetadataBuilder
Auto Trait Implementations§
impl Freeze for FeatureMetadataBuilder
impl RefUnwindSafe for FeatureMetadataBuilder
impl Send for FeatureMetadataBuilder
impl Sync for FeatureMetadataBuilder
impl Unpin for FeatureMetadataBuilder
impl UnwindSafe for FeatureMetadataBuilder
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> 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