Struct aws_sdk_backup::input::CreateBackupSelectionInput
source · [−]#[non_exhaustive]pub struct CreateBackupSelectionInput {
pub backup_plan_id: Option<String>,
pub backup_selection: Option<BackupSelection>,
pub creator_request_id: Option<String>,
}
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.backup_plan_id: Option<String>
Uniquely identifies the backup plan to be associated with the selection of resources.
backup_selection: Option<BackupSelection>
Specifies the body of a request to assign a set of resources to a backup plan.
creator_request_id: Option<String>
A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. This parameter is optional.
If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
Implementations
sourceimpl CreateBackupSelectionInput
impl CreateBackupSelectionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateBackupSelection, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateBackupSelection, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateBackupSelection
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateBackupSelectionInput
sourceimpl CreateBackupSelectionInput
impl CreateBackupSelectionInput
sourcepub fn backup_plan_id(&self) -> Option<&str>
pub fn backup_plan_id(&self) -> Option<&str>
Uniquely identifies the backup plan to be associated with the selection of resources.
sourcepub fn backup_selection(&self) -> Option<&BackupSelection>
pub fn backup_selection(&self) -> Option<&BackupSelection>
Specifies the body of a request to assign a set of resources to a backup plan.
sourcepub fn creator_request_id(&self) -> Option<&str>
pub fn creator_request_id(&self) -> Option<&str>
A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. This parameter is optional.
If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
Trait Implementations
sourceimpl Clone for CreateBackupSelectionInput
impl Clone for CreateBackupSelectionInput
sourcefn clone(&self) -> CreateBackupSelectionInput
fn clone(&self) -> CreateBackupSelectionInput
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 CreateBackupSelectionInput
impl Debug for CreateBackupSelectionInput
sourceimpl PartialEq<CreateBackupSelectionInput> for CreateBackupSelectionInput
impl PartialEq<CreateBackupSelectionInput> for CreateBackupSelectionInput
sourcefn eq(&self, other: &CreateBackupSelectionInput) -> bool
fn eq(&self, other: &CreateBackupSelectionInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateBackupSelectionInput) -> bool
fn ne(&self, other: &CreateBackupSelectionInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateBackupSelectionInput
Auto Trait Implementations
impl RefUnwindSafe for CreateBackupSelectionInput
impl Send for CreateBackupSelectionInput
impl Sync for CreateBackupSelectionInput
impl Unpin for CreateBackupSelectionInput
impl UnwindSafe for CreateBackupSelectionInput
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> 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