Struct aws_sdk_securityhub::operation::update_standards_control::builders::UpdateStandardsControlInputBuilder
source · #[non_exhaustive]pub struct UpdateStandardsControlInputBuilder { /* private fields */ }
Expand description
A builder for UpdateStandardsControlInput
.
Implementations§
source§impl UpdateStandardsControlInputBuilder
impl UpdateStandardsControlInputBuilder
sourcepub fn standards_control_arn(self, input: impl Into<String>) -> Self
pub fn standards_control_arn(self, input: impl Into<String>) -> Self
The ARN of the security standard control to enable or disable.
This field is required.sourcepub fn set_standards_control_arn(self, input: Option<String>) -> Self
pub fn set_standards_control_arn(self, input: Option<String>) -> Self
The ARN of the security standard control to enable or disable.
sourcepub fn get_standards_control_arn(&self) -> &Option<String>
pub fn get_standards_control_arn(&self) -> &Option<String>
The ARN of the security standard control to enable or disable.
sourcepub fn control_status(self, input: ControlStatus) -> Self
pub fn control_status(self, input: ControlStatus) -> Self
The updated status of the security standard control.
sourcepub fn set_control_status(self, input: Option<ControlStatus>) -> Self
pub fn set_control_status(self, input: Option<ControlStatus>) -> Self
The updated status of the security standard control.
sourcepub fn get_control_status(&self) -> &Option<ControlStatus>
pub fn get_control_status(&self) -> &Option<ControlStatus>
The updated status of the security standard control.
sourcepub fn disabled_reason(self, input: impl Into<String>) -> Self
pub fn disabled_reason(self, input: impl Into<String>) -> Self
A description of the reason why you are disabling a security standard control. If you are disabling a control, then this is required.
sourcepub fn set_disabled_reason(self, input: Option<String>) -> Self
pub fn set_disabled_reason(self, input: Option<String>) -> Self
A description of the reason why you are disabling a security standard control. If you are disabling a control, then this is required.
sourcepub fn get_disabled_reason(&self) -> &Option<String>
pub fn get_disabled_reason(&self) -> &Option<String>
A description of the reason why you are disabling a security standard control. If you are disabling a control, then this is required.
sourcepub fn build(self) -> Result<UpdateStandardsControlInput, BuildError>
pub fn build(self) -> Result<UpdateStandardsControlInput, BuildError>
Consumes the builder and constructs a UpdateStandardsControlInput
.
source§impl UpdateStandardsControlInputBuilder
impl UpdateStandardsControlInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateStandardsControlOutput, SdkError<UpdateStandardsControlError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateStandardsControlOutput, SdkError<UpdateStandardsControlError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateStandardsControlInputBuilder
impl Clone for UpdateStandardsControlInputBuilder
source§fn clone(&self) -> UpdateStandardsControlInputBuilder
fn clone(&self) -> UpdateStandardsControlInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateStandardsControlInputBuilder
impl Default for UpdateStandardsControlInputBuilder
source§fn default() -> UpdateStandardsControlInputBuilder
fn default() -> UpdateStandardsControlInputBuilder
source§impl PartialEq for UpdateStandardsControlInputBuilder
impl PartialEq for UpdateStandardsControlInputBuilder
source§fn eq(&self, other: &UpdateStandardsControlInputBuilder) -> bool
fn eq(&self, other: &UpdateStandardsControlInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateStandardsControlInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateStandardsControlInputBuilder
impl RefUnwindSafe for UpdateStandardsControlInputBuilder
impl Send for UpdateStandardsControlInputBuilder
impl Sync for UpdateStandardsControlInputBuilder
impl Unpin for UpdateStandardsControlInputBuilder
impl UnwindSafe for UpdateStandardsControlInputBuilder
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