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 ==
.