Struct aws_sdk_backup::input::get_backup_plan_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GetBackupPlanInput
.
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 version_id(self, input: impl Into<String>) -> Self
pub fn version_id(self, input: impl Into<String>) -> Self
Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version IDs cannot be edited.
sourcepub fn set_version_id(self, input: Option<String>) -> Self
pub fn set_version_id(self, input: Option<String>) -> Self
Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version IDs cannot be edited.
sourcepub fn build(self) -> Result<GetBackupPlanInput, BuildError>
pub fn build(self) -> Result<GetBackupPlanInput, BuildError>
Consumes the builder and constructs a GetBackupPlanInput
.