Struct aws_sdk_backup::input::create_backup_plan_input::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for CreateBackupPlanInput
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn backup_plan(self, input: BackupPlanInput) -> Self
pub fn backup_plan(self, input: BackupPlanInput) -> Self
Specifies the body of a backup plan. Includes a BackupPlanName
and one or more sets of Rules
.
sourcepub fn set_backup_plan(self, input: Option<BackupPlanInput>) -> Self
pub fn set_backup_plan(self, input: Option<BackupPlanInput>) -> Self
Specifies the body of a backup plan. Includes a BackupPlanName
and one or more sets of Rules
.
Adds a key-value pair to backup_plan_tags
.
To override the contents of this collection use set_backup_plan_tags
.
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.
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, input: impl Into<String>) -> Self
pub fn creator_request_id(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_creator_request_id(self, input: Option<String>) -> Self
pub fn set_creator_request_id(self, input: Option<String>) -> Self
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.
sourcepub fn build(self) -> Result<CreateBackupPlanInput, BuildError>
pub fn build(self) -> Result<CreateBackupPlanInput, BuildError>
Consumes the builder and constructs a CreateBackupPlanInput
.