Struct aws_sdk_backup::operation::update_backup_plan::builders::UpdateBackupPlanInputBuilder
source · #[non_exhaustive]pub struct UpdateBackupPlanInputBuilder { /* private fields */ }
Expand description
A builder for UpdateBackupPlanInput
.
Implementations§
source§impl UpdateBackupPlanInputBuilder
impl UpdateBackupPlanInputBuilder
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
.
Trait Implementations§
source§impl Clone for UpdateBackupPlanInputBuilder
impl Clone for UpdateBackupPlanInputBuilder
source§fn clone(&self) -> UpdateBackupPlanInputBuilder
fn clone(&self) -> UpdateBackupPlanInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UpdateBackupPlanInputBuilder
impl Debug for UpdateBackupPlanInputBuilder
source§impl Default for UpdateBackupPlanInputBuilder
impl Default for UpdateBackupPlanInputBuilder
source§fn default() -> UpdateBackupPlanInputBuilder
fn default() -> UpdateBackupPlanInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<UpdateBackupPlanInputBuilder> for UpdateBackupPlanInputBuilder
impl PartialEq<UpdateBackupPlanInputBuilder> for UpdateBackupPlanInputBuilder
source§fn eq(&self, other: &UpdateBackupPlanInputBuilder) -> bool
fn eq(&self, other: &UpdateBackupPlanInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.