Struct aws_sdk_backup::input::CreateBackupPlanInput
source · [−]#[non_exhaustive]pub struct CreateBackupPlanInput {
pub backup_plan: Option<BackupPlanInput>,
pub backup_plan_tags: Option<HashMap<String, String>>,
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: Option<BackupPlanInput>
Specifies the body of a backup plan. Includes a BackupPlanName
and one or more sets of Rules
.
To help organize your resources, you can assign your own metadata to the resources that you create. Each tag is a key-value pair. The specified tags are assigned to all backups created with this plan.
creator_request_id: Option<String>
Identifies the request and allows failed requests to be retried without the risk of running the operation twice. If the request includes a CreatorRequestId
that matches an existing backup plan, that plan is returned. This parameter is optional.
If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
Implementations
sourceimpl CreateBackupPlanInput
impl CreateBackupPlanInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateBackupPlan, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateBackupPlan, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateBackupPlan
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateBackupPlanInput
sourceimpl CreateBackupPlanInput
impl CreateBackupPlanInput
sourcepub fn backup_plan(&self) -> Option<&BackupPlanInput>
pub fn backup_plan(&self) -> Option<&BackupPlanInput>
Specifies the body of a backup plan. Includes a BackupPlanName
and one or more sets of Rules
.
To help organize your resources, you can assign your own metadata to the resources that you create. Each tag is a key-value pair. The specified tags are assigned to all backups created with this plan.
sourcepub fn creator_request_id(&self) -> Option<&str>
pub fn creator_request_id(&self) -> Option<&str>
Identifies the request and allows failed requests to be retried without the risk of running the operation twice. If the request includes a CreatorRequestId
that matches an existing backup plan, that plan is returned. This parameter is optional.
If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
Trait Implementations
sourceimpl Clone for CreateBackupPlanInput
impl Clone for CreateBackupPlanInput
sourcefn clone(&self) -> CreateBackupPlanInput
fn clone(&self) -> CreateBackupPlanInput
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 CreateBackupPlanInput
impl Debug for CreateBackupPlanInput
sourceimpl PartialEq<CreateBackupPlanInput> for CreateBackupPlanInput
impl PartialEq<CreateBackupPlanInput> for CreateBackupPlanInput
sourcefn eq(&self, other: &CreateBackupPlanInput) -> bool
fn eq(&self, other: &CreateBackupPlanInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateBackupPlanInput) -> bool
fn ne(&self, other: &CreateBackupPlanInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateBackupPlanInput
Auto Trait Implementations
impl RefUnwindSafe for CreateBackupPlanInput
impl Send for CreateBackupPlanInput
impl Sync for CreateBackupPlanInput
impl Unpin for CreateBackupPlanInput
impl UnwindSafe for CreateBackupPlanInput
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