pub struct Builder { /* private fields */ }
Expand description
A builder for BackupSelectionsListMember
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn selection_id(self, input: impl Into<String>) -> Self
pub fn selection_id(self, input: impl Into<String>) -> Self
Uniquely identifies 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 a request to assign a set of resources to a backup plan.
sourcepub fn selection_name(self, input: impl Into<String>) -> Self
pub fn selection_name(self, input: impl Into<String>) -> Self
The display name of a resource selection document.
sourcepub fn set_selection_name(self, input: Option<String>) -> Self
pub fn set_selection_name(self, input: Option<String>) -> Self
The display name of a resource selection document.
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 plan 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 plan 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. 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
A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. This parameter is optional.
If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
sourcepub fn iam_role_arn(self, input: impl Into<String>) -> Self
pub fn iam_role_arn(self, input: impl Into<String>) -> Self
Specifies the IAM role Amazon Resource Name (ARN) to create the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access
.
sourcepub fn set_iam_role_arn(self, input: Option<String>) -> Self
pub fn set_iam_role_arn(self, input: Option<String>) -> Self
Specifies the IAM role Amazon Resource Name (ARN) to create the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access
.
sourcepub fn build(self) -> BackupSelectionsListMember
pub fn build(self) -> BackupSelectionsListMember
Consumes the builder and constructs a BackupSelectionsListMember
.