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 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<FeatureMetadataBuilder> for FeatureMetadataBuilder
impl PartialEq<FeatureMetadataBuilder> 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 ==
.