Struct aws_sdk_securityhub::types::builders::OccurrencesBuilder
source · #[non_exhaustive]pub struct OccurrencesBuilder { /* private fields */ }
Expand description
A builder for Occurrences
.
Implementations§
source§impl OccurrencesBuilder
impl OccurrencesBuilder
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 get_line_ranges(&self) -> &Option<Vec<Range>>
pub fn get_line_ranges(&self) -> &Option<Vec<Range>>
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 get_offset_ranges(&self) -> &Option<Vec<Range>>
pub fn get_offset_ranges(&self) -> &Option<Vec<Range>>
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 get_pages(&self) -> &Option<Vec<Page>>
pub fn get_pages(&self) -> &Option<Vec<Page>>
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 get_records(&self) -> &Option<Vec<Record>>
pub fn get_records(&self) -> &Option<Vec<Record>>
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 get_cells(&self) -> &Option<Vec<Cell>>
pub fn get_cells(&self) -> &Option<Vec<Cell>>
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§
source§impl Clone for OccurrencesBuilder
impl Clone for OccurrencesBuilder
source§fn clone(&self) -> OccurrencesBuilder
fn clone(&self) -> OccurrencesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OccurrencesBuilder
impl Debug for OccurrencesBuilder
source§impl Default for OccurrencesBuilder
impl Default for OccurrencesBuilder
source§fn default() -> OccurrencesBuilder
fn default() -> OccurrencesBuilder
source§impl PartialEq for OccurrencesBuilder
impl PartialEq for OccurrencesBuilder
source§fn eq(&self, other: &OccurrencesBuilder) -> bool
fn eq(&self, other: &OccurrencesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OccurrencesBuilder
Auto Trait Implementations§
impl Freeze for OccurrencesBuilder
impl RefUnwindSafe for OccurrencesBuilder
impl Send for OccurrencesBuilder
impl Sync for OccurrencesBuilder
impl Unpin for OccurrencesBuilder
impl UnwindSafe for OccurrencesBuilder
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