Struct aws_sdk_opsworks::model::rds_db_instance::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for RdsDbInstance
Implementations
sourceimpl Builder
impl Builder
sourcepub fn rds_db_instance_arn(self, input: impl Into<String>) -> Self
pub fn rds_db_instance_arn(self, input: impl Into<String>) -> Self
The instance's ARN.
sourcepub fn set_rds_db_instance_arn(self, input: Option<String>) -> Self
pub fn set_rds_db_instance_arn(self, input: Option<String>) -> Self
The instance's ARN.
sourcepub fn db_instance_identifier(self, input: impl Into<String>) -> Self
pub fn db_instance_identifier(self, input: impl Into<String>) -> Self
The DB instance identifier.
sourcepub fn set_db_instance_identifier(self, input: Option<String>) -> Self
pub fn set_db_instance_identifier(self, input: Option<String>) -> Self
The DB instance identifier.
sourcepub fn set_db_user(self, input: Option<String>) -> Self
pub fn set_db_user(self, input: Option<String>) -> Self
The master user name.
sourcepub fn db_password(self, input: impl Into<String>) -> Self
pub fn db_password(self, input: impl Into<String>) -> Self
AWS OpsWorks Stacks returns *****FILTERED*****
instead of the actual value.
sourcepub fn set_db_password(self, input: Option<String>) -> Self
pub fn set_db_password(self, input: Option<String>) -> Self
AWS OpsWorks Stacks returns *****FILTERED*****
instead of the actual value.
sourcepub fn set_region(self, input: Option<String>) -> Self
pub fn set_region(self, input: Option<String>) -> Self
The instance's AWS region.
sourcepub fn set_address(self, input: Option<String>) -> Self
pub fn set_address(self, input: Option<String>) -> Self
The instance's address.
sourcepub fn set_engine(self, input: Option<String>) -> Self
pub fn set_engine(self, input: Option<String>) -> Self
The instance's database engine.
sourcepub fn stack_id(self, input: impl Into<String>) -> Self
pub fn stack_id(self, input: impl Into<String>) -> Self
The ID of the stack with which the instance is registered.
sourcepub fn set_stack_id(self, input: Option<String>) -> Self
pub fn set_stack_id(self, input: Option<String>) -> Self
The ID of the stack with which the instance is registered.
sourcepub fn missing_on_rds(self, input: bool) -> Self
pub fn missing_on_rds(self, input: bool) -> Self
Set to true
if AWS OpsWorks Stacks is unable to discover the Amazon RDS instance. AWS OpsWorks Stacks attempts to discover the instance only once. If this value is set to true
, you must deregister the instance, and then register it again.
sourcepub fn set_missing_on_rds(self, input: Option<bool>) -> Self
pub fn set_missing_on_rds(self, input: Option<bool>) -> Self
Set to true
if AWS OpsWorks Stacks is unable to discover the Amazon RDS instance. AWS OpsWorks Stacks attempts to discover the instance only once. If this value is set to true
, you must deregister the instance, and then register it again.
sourcepub fn build(self) -> RdsDbInstance
pub fn build(self) -> RdsDbInstance
Consumes the builder and constructs a RdsDbInstance
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more