Struct aws_sdk_backup::output::get_backup_selection_output::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for GetBackupSelectionOutput
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn backup_selection(self, input: BackupSelection) -> Self
pub fn backup_selection(self, input: BackupSelection) -> Self
Specifies the body of a request to assign a set of resources to a backup plan.
sourcepub fn set_backup_selection(self, input: Option<BackupSelection>) -> Self
pub fn set_backup_selection(self, input: Option<BackupSelection>) -> Self
Specifies the body of a request to assign a set of resources to a backup plan.
sourcepub fn selection_id(self, input: impl Into<String>) -> Self
pub fn selection_id(self, input: impl Into<String>) -> Self
Uniquely identifies the body of a request to assign a set of resources to a backup plan.
sourcepub fn set_selection_id(self, input: Option<String>) -> Self
pub fn set_selection_id(self, input: Option<String>) -> Self
Uniquely identifies the body of a request to assign a set of resources to a backup plan.
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 creation_date(self, input: DateTime) -> Self
pub fn creation_date(self, input: DateTime) -> Self
The date and time a backup selection is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
sourcepub fn set_creation_date(self, input: Option<DateTime>) -> Self
pub fn set_creation_date(self, input: Option<DateTime>) -> Self
The date and time a backup selection is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
sourcepub fn creator_request_id(self, input: impl Into<String>) -> Self
pub fn creator_request_id(self, input: impl Into<String>) -> Self
A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice.
sourcepub fn set_creator_request_id(self, input: Option<String>) -> Self
pub fn set_creator_request_id(self, input: Option<String>) -> Self
A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice.
sourcepub fn build(self) -> GetBackupSelectionOutput
pub fn build(self) -> GetBackupSelectionOutput
Consumes the builder and constructs a GetBackupSelectionOutput
.