Struct aws_sdk_securityhub::model::occurrences::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for Occurrences.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn line_ranges(self, input: Range) -> Self
pub fn line_ranges(self, input: Range) -> Self
Appends an item to line_ranges.
To override the contents of this collection use set_line_ranges.
Occurrences of sensitive data detected in a non-binary text file or a Microsoft Word file. Non-binary text files include files such as HTML, XML, JSON, and TXT files.
sourcepub fn set_line_ranges(self, input: Option<Vec<Range>>) -> Self
pub fn set_line_ranges(self, input: Option<Vec<Range>>) -> Self
Occurrences of sensitive data detected in a non-binary text file or a Microsoft Word file. Non-binary text files include files such as HTML, XML, JSON, and TXT files.
sourcepub fn offset_ranges(self, input: Range) -> Self
pub fn offset_ranges(self, input: Range) -> Self
Appends an item to offset_ranges.
To override the contents of this collection use set_offset_ranges.
Occurrences of sensitive data detected in a binary text file.
sourcepub fn set_offset_ranges(self, input: Option<Vec<Range>>) -> Self
pub fn set_offset_ranges(self, input: Option<Vec<Range>>) -> Self
Occurrences of sensitive data detected in a binary text file.
sourcepub fn pages(self, input: Page) -> Self
pub fn pages(self, input: Page) -> Self
Appends an item to pages.
To override the contents of this collection use set_pages.
Occurrences of sensitive data in an Adobe Portable Document Format (PDF) file.
sourcepub fn set_pages(self, input: Option<Vec<Page>>) -> Self
pub fn set_pages(self, input: Option<Vec<Page>>) -> Self
Occurrences of sensitive data in an Adobe Portable Document Format (PDF) file.
sourcepub fn records(self, input: Record) -> Self
pub fn records(self, input: Record) -> Self
Appends an item to records.
To override the contents of this collection use set_records.
Occurrences of sensitive data in an Apache Avro object container or an Apache Parquet file.
sourcepub fn set_records(self, input: Option<Vec<Record>>) -> Self
pub fn set_records(self, input: Option<Vec<Record>>) -> Self
Occurrences of sensitive data in an Apache Avro object container or an Apache Parquet file.
sourcepub fn cells(self, input: Cell) -> Self
pub fn cells(self, input: Cell) -> Self
Appends an item to cells.
To override the contents of this collection use set_cells.
Occurrences of sensitive data detected in Microsoft Excel workbooks, comma-separated value (CSV) files, or tab-separated value (TSV) files.
sourcepub fn set_cells(self, input: Option<Vec<Cell>>) -> Self
pub fn set_cells(self, input: Option<Vec<Cell>>) -> Self
Occurrences of sensitive data detected in Microsoft Excel workbooks, comma-separated value (CSV) files, or tab-separated value (TSV) files.
sourcepub fn build(self) -> Occurrences
pub fn build(self) -> Occurrences
Consumes the builder and constructs a Occurrences.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more