Struct aws_sdk_opsworks::model::RdsDbInstance
source · [−]#[non_exhaustive]pub struct RdsDbInstance {
pub rds_db_instance_arn: Option<String>,
pub db_instance_identifier: Option<String>,
pub db_user: Option<String>,
pub db_password: Option<String>,
pub region: Option<String>,
pub address: Option<String>,
pub engine: Option<String>,
pub stack_id: Option<String>,
pub missing_on_rds: Option<bool>,
}
Expand description
Describes an Amazon RDS instance.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.rds_db_instance_arn: Option<String>
The instance's ARN.
db_instance_identifier: Option<String>
The DB instance identifier.
db_user: Option<String>
The master user name.
db_password: Option<String>
AWS OpsWorks Stacks returns *****FILTERED*****
instead of the actual value.
region: Option<String>
The instance's AWS region.
address: Option<String>
The instance's address.
engine: Option<String>
The instance's database engine.
stack_id: Option<String>
The ID of the stack with which the instance is registered.
missing_on_rds: Option<bool>
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.
Implementations
sourceimpl RdsDbInstance
impl RdsDbInstance
sourcepub fn rds_db_instance_arn(&self) -> Option<&str>
pub fn rds_db_instance_arn(&self) -> Option<&str>
The instance's ARN.
sourcepub fn db_instance_identifier(&self) -> Option<&str>
pub fn db_instance_identifier(&self) -> Option<&str>
The DB instance identifier.
sourcepub fn db_password(&self) -> Option<&str>
pub fn db_password(&self) -> Option<&str>
AWS OpsWorks Stacks returns *****FILTERED*****
instead of the actual value.
sourcepub fn stack_id(&self) -> Option<&str>
pub fn stack_id(&self) -> Option<&str>
The ID of the stack with which the instance is registered.
sourcepub fn missing_on_rds(&self) -> Option<bool>
pub fn missing_on_rds(&self) -> Option<bool>
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.
sourceimpl RdsDbInstance
impl RdsDbInstance
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RdsDbInstance
Trait Implementations
sourceimpl Clone for RdsDbInstance
impl Clone for RdsDbInstance
sourcefn clone(&self) -> RdsDbInstance
fn clone(&self) -> RdsDbInstance
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RdsDbInstance
impl Debug for RdsDbInstance
sourceimpl PartialEq<RdsDbInstance> for RdsDbInstance
impl PartialEq<RdsDbInstance> for RdsDbInstance
sourcefn eq(&self, other: &RdsDbInstance) -> bool
fn eq(&self, other: &RdsDbInstance) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RdsDbInstance) -> bool
fn ne(&self, other: &RdsDbInstance) -> bool
This method tests for !=
.
impl StructuralPartialEq for RdsDbInstance
Auto Trait Implementations
impl RefUnwindSafe for RdsDbInstance
impl Send for RdsDbInstance
impl Sync for RdsDbInstance
impl Unpin for RdsDbInstance
impl UnwindSafe for RdsDbInstance
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