Struct aws_sdk_backup::input::update_backup_plan_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateBackupPlanInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn backup_plan_id(self, input: impl Into<String>) -> Self
pub fn backup_plan_id(self, input: impl Into<String>) -> Self
Uniquely identifies a backup plan.
sourcepub fn set_backup_plan_id(self, input: Option<String>) -> Self
pub fn set_backup_plan_id(self, input: Option<String>) -> Self
Uniquely identifies a backup plan.
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
.
sourcepub fn build(self) -> Result<UpdateBackupPlanInput, BuildError>
pub fn build(self) -> Result<UpdateBackupPlanInput, BuildError>
Consumes the builder and constructs a UpdateBackupPlanInput
.