#[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 ==
.impl StructuralPartialEq for UnprocessedSecurityControlBuilder
Auto Trait Implementations§
impl Freeze for UnprocessedSecurityControlBuilder
impl RefUnwindSafe for UnprocessedSecurityControlBuilder
impl Send for UnprocessedSecurityControlBuilder
impl Sync for UnprocessedSecurityControlBuilder
impl Unpin for UnprocessedSecurityControlBuilder
impl UnwindSafe for UnprocessedSecurityControlBuilder
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