#[non_exhaustive]pub struct UnprocessedSecurityControlBuilder { /* private fields */ }
Expand description
A builder for UnprocessedSecurityControl
.
Implementations§
source§impl UnprocessedSecurityControlBuilder
impl UnprocessedSecurityControlBuilder
sourcepub fn security_control_id(self, input: impl Into<String>) -> Self
pub fn security_control_id(self, input: impl Into<String>) -> Self
The control (identified with SecurityControlId
, SecurityControlArn
, or a mix of both parameters) for which a response couldn't be returned.
sourcepub fn set_security_control_id(self, input: Option<String>) -> Self
pub fn set_security_control_id(self, input: Option<String>) -> Self
The control (identified with SecurityControlId
, SecurityControlArn
, or a mix of both parameters) for which a response couldn't be returned.
sourcepub fn get_security_control_id(&self) -> &Option<String>
pub fn get_security_control_id(&self) -> &Option<String>
The control (identified with SecurityControlId
, SecurityControlArn
, or a mix of both parameters) for which a response couldn't be returned.
sourcepub fn error_code(self, input: UnprocessedErrorCode) -> Self
pub fn error_code(self, input: UnprocessedErrorCode) -> Self
The error code for the unprocessed security control.
This field is required.sourcepub fn set_error_code(self, input: Option<UnprocessedErrorCode>) -> Self
pub fn set_error_code(self, input: Option<UnprocessedErrorCode>) -> Self
The error code for the unprocessed security control.
sourcepub fn get_error_code(&self) -> &Option<UnprocessedErrorCode>
pub fn get_error_code(&self) -> &Option<UnprocessedErrorCode>
The error code for the unprocessed security control.
sourcepub fn error_reason(self, input: impl Into<String>) -> Self
pub fn error_reason(self, input: impl Into<String>) -> Self
The reason why the security control was unprocessed.
sourcepub fn set_error_reason(self, input: Option<String>) -> Self
pub fn set_error_reason(self, input: Option<String>) -> Self
The reason why the security control was unprocessed.
sourcepub fn get_error_reason(&self) -> &Option<String>
pub fn get_error_reason(&self) -> &Option<String>
The reason why the security control was unprocessed.
sourcepub fn build(self) -> UnprocessedSecurityControl
pub fn build(self) -> UnprocessedSecurityControl
Consumes the builder and constructs a UnprocessedSecurityControl
.
Trait Implementations§
source§impl Clone for UnprocessedSecurityControlBuilder
impl Clone for UnprocessedSecurityControlBuilder
source§fn clone(&self) -> UnprocessedSecurityControlBuilder
fn clone(&self) -> UnprocessedSecurityControlBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UnprocessedSecurityControlBuilder
impl Default for UnprocessedSecurityControlBuilder
source§fn default() -> UnprocessedSecurityControlBuilder
fn default() -> UnprocessedSecurityControlBuilder
source§impl PartialEq for UnprocessedSecurityControlBuilder
impl PartialEq for UnprocessedSecurityControlBuilder
source§fn eq(&self, other: &UnprocessedSecurityControlBuilder) -> bool
fn eq(&self, other: &UnprocessedSecurityControlBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.