#[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§
source§impl 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.
source§impl CreateBackupPlanInput
impl CreateBackupPlanInput
sourcepub fn builder() -> CreateBackupPlanInputBuilder
pub fn builder() -> CreateBackupPlanInputBuilder
Creates a new builder-style object to manufacture CreateBackupPlanInput
.
Trait Implementations§
source§impl Clone for CreateBackupPlanInput
impl Clone for CreateBackupPlanInput
source§fn clone(&self) -> CreateBackupPlanInput
fn clone(&self) -> CreateBackupPlanInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateBackupPlanInput
impl Debug for CreateBackupPlanInput
source§impl PartialEq for CreateBackupPlanInput
impl PartialEq for CreateBackupPlanInput
source§fn eq(&self, other: &CreateBackupPlanInput) -> bool
fn eq(&self, other: &CreateBackupPlanInput) -> bool
self
and other
values to be equal, and is used
by ==
.