#[non_exhaustive]pub struct AssessmentFrameworkMetadataBuilder { /* private fields */ }
Expand description
A builder for AssessmentFrameworkMetadata
.
Implementations§
source§impl AssessmentFrameworkMetadataBuilder
impl AssessmentFrameworkMetadataBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the framework.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the framework.
sourcepub fn type(self, input: FrameworkType) -> Self
pub fn type(self, input: FrameworkType) -> Self
The framework type, such as a standard framework or a custom framework.
sourcepub fn set_type(self, input: Option<FrameworkType>) -> Self
pub fn set_type(self, input: Option<FrameworkType>) -> Self
The framework type, such as a standard framework or a custom framework.
sourcepub fn get_type(&self) -> &Option<FrameworkType>
pub fn get_type(&self) -> &Option<FrameworkType>
The framework type, such as a standard framework or a custom framework.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the framework.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the framework.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the framework.
sourcepub fn logo(self, input: impl Into<String>) -> Self
pub fn logo(self, input: impl Into<String>) -> Self
The logo that's associated with the framework.
sourcepub fn set_logo(self, input: Option<String>) -> Self
pub fn set_logo(self, input: Option<String>) -> Self
The logo that's associated with the framework.
sourcepub fn compliance_type(self, input: impl Into<String>) -> Self
pub fn compliance_type(self, input: impl Into<String>) -> Self
The compliance type that the new custom framework supports, such as CIS or HIPAA.
sourcepub fn set_compliance_type(self, input: Option<String>) -> Self
pub fn set_compliance_type(self, input: Option<String>) -> Self
The compliance type that the new custom framework supports, such as CIS or HIPAA.
sourcepub fn get_compliance_type(&self) -> &Option<String>
pub fn get_compliance_type(&self) -> &Option<String>
The compliance type that the new custom framework supports, such as CIS or HIPAA.
sourcepub fn controls_count(self, input: i32) -> Self
pub fn controls_count(self, input: i32) -> Self
The number of controls that are associated with the framework.
sourcepub fn set_controls_count(self, input: Option<i32>) -> Self
pub fn set_controls_count(self, input: Option<i32>) -> Self
The number of controls that are associated with the framework.
sourcepub fn get_controls_count(&self) -> &Option<i32>
pub fn get_controls_count(&self) -> &Option<i32>
The number of controls that are associated with the framework.
sourcepub fn control_sets_count(self, input: i32) -> Self
pub fn control_sets_count(self, input: i32) -> Self
The number of control sets that are associated with the framework.
sourcepub fn set_control_sets_count(self, input: Option<i32>) -> Self
pub fn set_control_sets_count(self, input: Option<i32>) -> Self
The number of control sets that are associated with the framework.
sourcepub fn get_control_sets_count(&self) -> &Option<i32>
pub fn get_control_sets_count(&self) -> &Option<i32>
The number of control sets that are associated with the framework.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The time when the framework was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The time when the framework was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The time when the framework was created.
sourcepub fn last_updated_at(self, input: DateTime) -> Self
pub fn last_updated_at(self, input: DateTime) -> Self
The time when the framework was most recently updated.
sourcepub fn set_last_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_at(self, input: Option<DateTime>) -> Self
The time when the framework was most recently updated.
sourcepub fn get_last_updated_at(&self) -> &Option<DateTime>
pub fn get_last_updated_at(&self) -> &Option<DateTime>
The time when the framework was most recently updated.
sourcepub fn build(self) -> AssessmentFrameworkMetadata
pub fn build(self) -> AssessmentFrameworkMetadata
Consumes the builder and constructs a AssessmentFrameworkMetadata
.
Trait Implementations§
source§impl Clone for AssessmentFrameworkMetadataBuilder
impl Clone for AssessmentFrameworkMetadataBuilder
source§fn clone(&self) -> AssessmentFrameworkMetadataBuilder
fn clone(&self) -> AssessmentFrameworkMetadataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AssessmentFrameworkMetadataBuilder
impl Default for AssessmentFrameworkMetadataBuilder
source§fn default() -> AssessmentFrameworkMetadataBuilder
fn default() -> AssessmentFrameworkMetadataBuilder
source§impl PartialEq for AssessmentFrameworkMetadataBuilder
impl PartialEq for AssessmentFrameworkMetadataBuilder
source§fn eq(&self, other: &AssessmentFrameworkMetadataBuilder) -> bool
fn eq(&self, other: &AssessmentFrameworkMetadataBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssessmentFrameworkMetadataBuilder
Auto Trait Implementations§
impl Freeze for AssessmentFrameworkMetadataBuilder
impl RefUnwindSafe for AssessmentFrameworkMetadataBuilder
impl Send for AssessmentFrameworkMetadataBuilder
impl Sync for AssessmentFrameworkMetadataBuilder
impl Unpin for AssessmentFrameworkMetadataBuilder
impl UnwindSafe for AssessmentFrameworkMetadataBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more