Struct aws_sdk_lightsail::operation::create_relational_database_snapshot::CreateRelationalDatabaseSnapshotInput
source · #[non_exhaustive]pub struct CreateRelationalDatabaseSnapshotInput {
pub relational_database_name: Option<String>,
pub relational_database_snapshot_name: Option<String>,
pub tags: Option<Vec<Tag>>,
}
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.relational_database_name: Option<String>
The name of the database on which to base your new snapshot.
relational_database_snapshot_name: Option<String>
The name for your new database snapshot.
Constraints:
-
Must contain from 2 to 255 alphanumeric characters, or hyphens.
-
The first and last character must be a letter or number.
The tag keys and optional values to add to the resource during create.
Use the TagResource
action to tag a resource after it's created.
Implementations§
source§impl CreateRelationalDatabaseSnapshotInput
impl CreateRelationalDatabaseSnapshotInput
sourcepub fn relational_database_name(&self) -> Option<&str>
pub fn relational_database_name(&self) -> Option<&str>
The name of the database on which to base your new snapshot.
sourcepub fn relational_database_snapshot_name(&self) -> Option<&str>
pub fn relational_database_snapshot_name(&self) -> Option<&str>
The name for your new database snapshot.
Constraints:
-
Must contain from 2 to 255 alphanumeric characters, or hyphens.
-
The first and last character must be a letter or number.
The tag keys and optional values to add to the resource during create.
Use the TagResource
action to tag a resource after it's created.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CreateRelationalDatabaseSnapshotInput
impl CreateRelationalDatabaseSnapshotInput
sourcepub fn builder() -> CreateRelationalDatabaseSnapshotInputBuilder
pub fn builder() -> CreateRelationalDatabaseSnapshotInputBuilder
Creates a new builder-style object to manufacture CreateRelationalDatabaseSnapshotInput
.
Trait Implementations§
source§impl Clone for CreateRelationalDatabaseSnapshotInput
impl Clone for CreateRelationalDatabaseSnapshotInput
source§fn clone(&self) -> CreateRelationalDatabaseSnapshotInput
fn clone(&self) -> CreateRelationalDatabaseSnapshotInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateRelationalDatabaseSnapshotInput
impl PartialEq for CreateRelationalDatabaseSnapshotInput
source§fn eq(&self, other: &CreateRelationalDatabaseSnapshotInput) -> bool
fn eq(&self, other: &CreateRelationalDatabaseSnapshotInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateRelationalDatabaseSnapshotInput
Auto Trait Implementations§
impl Freeze for CreateRelationalDatabaseSnapshotInput
impl RefUnwindSafe for CreateRelationalDatabaseSnapshotInput
impl Send for CreateRelationalDatabaseSnapshotInput
impl Sync for CreateRelationalDatabaseSnapshotInput
impl Unpin for CreateRelationalDatabaseSnapshotInput
impl UnwindSafe for CreateRelationalDatabaseSnapshotInput
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