Struct aws_sdk_backup::model::framework::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Framework
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn framework_name(self, input: impl Into<String>) -> Self
pub fn framework_name(self, input: impl Into<String>) -> Self
The unique name of a framework. This name is between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
sourcepub fn set_framework_name(self, input: Option<String>) -> Self
pub fn set_framework_name(self, input: Option<String>) -> Self
The unique name of a framework. This name is between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
sourcepub fn framework_arn(self, input: impl Into<String>) -> Self
pub fn framework_arn(self, input: impl Into<String>) -> Self
An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
sourcepub fn set_framework_arn(self, input: Option<String>) -> Self
pub fn set_framework_arn(self, input: Option<String>) -> Self
An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
sourcepub fn framework_description(self, input: impl Into<String>) -> Self
pub fn framework_description(self, input: impl Into<String>) -> Self
An optional description of the framework with a maximum 1,024 characters.
sourcepub fn set_framework_description(self, input: Option<String>) -> Self
pub fn set_framework_description(self, input: Option<String>) -> Self
An optional description of the framework with a maximum 1,024 characters.
sourcepub fn number_of_controls(self, input: i32) -> Self
pub fn number_of_controls(self, input: i32) -> Self
The number of controls contained by the framework.
sourcepub fn set_number_of_controls(self, input: Option<i32>) -> Self
pub fn set_number_of_controls(self, input: Option<i32>) -> Self
The number of controls contained by the framework.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The date and time that a framework is created, in ISO 8601 representation. The value of CreationTime
is accurate to milliseconds. For example, 2020-07-10T15:00:00.000-08:00 represents the 10th of July 2020 at 3:00 PM 8 hours behind UTC.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The date and time that a framework is created, in ISO 8601 representation. The value of CreationTime
is accurate to milliseconds. For example, 2020-07-10T15:00:00.000-08:00 represents the 10th of July 2020 at 3:00 PM 8 hours behind UTC.
sourcepub fn deployment_status(self, input: impl Into<String>) -> Self
pub fn deployment_status(self, input: impl Into<String>) -> Self
The deployment status of a framework. The statuses are:
CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | FAILED
sourcepub fn set_deployment_status(self, input: Option<String>) -> Self
pub fn set_deployment_status(self, input: Option<String>) -> Self
The deployment status of a framework. The statuses are:
CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | FAILED