#[non_exhaustive]pub struct AwsSecurityFindingIdentifierBuilder { /* private fields */ }
Expand description
A builder for AwsSecurityFindingIdentifier
.
Implementations§
source§impl AwsSecurityFindingIdentifierBuilder
impl AwsSecurityFindingIdentifierBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier of the finding that was specified by the finding provider.
This field is required.sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The identifier of the finding that was specified by the finding provider.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The identifier of the finding that was specified by the finding provider.
sourcepub fn product_arn(self, input: impl Into<String>) -> Self
pub fn product_arn(self, input: impl Into<String>) -> Self
The ARN generated by Security Hub that uniquely identifies a product that generates findings. This can be the ARN for a third-party product that is integrated with Security Hub, or the ARN for a custom integration.
This field is required.sourcepub fn set_product_arn(self, input: Option<String>) -> Self
pub fn set_product_arn(self, input: Option<String>) -> Self
The ARN generated by Security Hub that uniquely identifies a product that generates findings. This can be the ARN for a third-party product that is integrated with Security Hub, or the ARN for a custom integration.
sourcepub fn get_product_arn(&self) -> &Option<String>
pub fn get_product_arn(&self) -> &Option<String>
The ARN generated by Security Hub that uniquely identifies a product that generates findings. This can be the ARN for a third-party product that is integrated with Security Hub, or the ARN for a custom integration.
sourcepub fn build(self) -> AwsSecurityFindingIdentifier
pub fn build(self) -> AwsSecurityFindingIdentifier
Consumes the builder and constructs a AwsSecurityFindingIdentifier
.
Trait Implementations§
source§impl Clone for AwsSecurityFindingIdentifierBuilder
impl Clone for AwsSecurityFindingIdentifierBuilder
source§fn clone(&self) -> AwsSecurityFindingIdentifierBuilder
fn clone(&self) -> AwsSecurityFindingIdentifierBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsSecurityFindingIdentifierBuilder
impl Default for AwsSecurityFindingIdentifierBuilder
source§fn default() -> AwsSecurityFindingIdentifierBuilder
fn default() -> AwsSecurityFindingIdentifierBuilder
source§impl PartialEq for AwsSecurityFindingIdentifierBuilder
impl PartialEq for AwsSecurityFindingIdentifierBuilder
source§fn eq(&self, other: &AwsSecurityFindingIdentifierBuilder) -> bool
fn eq(&self, other: &AwsSecurityFindingIdentifierBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsSecurityFindingIdentifierBuilder
Auto Trait Implementations§
impl Freeze for AwsSecurityFindingIdentifierBuilder
impl RefUnwindSafe for AwsSecurityFindingIdentifierBuilder
impl Send for AwsSecurityFindingIdentifierBuilder
impl Sync for AwsSecurityFindingIdentifierBuilder
impl Unpin for AwsSecurityFindingIdentifierBuilder
impl UnwindSafe for AwsSecurityFindingIdentifierBuilder
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