Struct aws_sdk_securityhub::types::builders::FilePathsBuilder
source · #[non_exhaustive]pub struct FilePathsBuilder { /* private fields */ }
Expand description
A builder for FilePaths
.
Implementations§
source§impl FilePathsBuilder
impl FilePathsBuilder
sourcepub fn file_path(self, input: impl Into<String>) -> Self
pub fn file_path(self, input: impl Into<String>) -> Self
Path to the infected or suspicious file on the resource it was detected on.
sourcepub fn set_file_path(self, input: Option<String>) -> Self
pub fn set_file_path(self, input: Option<String>) -> Self
Path to the infected or suspicious file on the resource it was detected on.
sourcepub fn get_file_path(&self) -> &Option<String>
pub fn get_file_path(&self) -> &Option<String>
Path to the infected or suspicious file on the resource it was detected on.
sourcepub fn file_name(self, input: impl Into<String>) -> Self
pub fn file_name(self, input: impl Into<String>) -> Self
The name of the infected or suspicious file corresponding to the hash.
sourcepub fn set_file_name(self, input: Option<String>) -> Self
pub fn set_file_name(self, input: Option<String>) -> Self
The name of the infected or suspicious file corresponding to the hash.
sourcepub fn get_file_name(&self) -> &Option<String>
pub fn get_file_name(&self) -> &Option<String>
The name of the infected or suspicious file corresponding to the hash.
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the resource on which the threat was detected.
sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the resource on which the threat was detected.
sourcepub fn get_resource_id(&self) -> &Option<String>
pub fn get_resource_id(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the resource on which the threat was detected.
sourcepub fn hash(self, input: impl Into<String>) -> Self
pub fn hash(self, input: impl Into<String>) -> Self
The hash value for the infected or suspicious file.
Trait Implementations§
source§impl Clone for FilePathsBuilder
impl Clone for FilePathsBuilder
source§fn clone(&self) -> FilePathsBuilder
fn clone(&self) -> FilePathsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FilePathsBuilder
impl Debug for FilePathsBuilder
source§impl Default for FilePathsBuilder
impl Default for FilePathsBuilder
source§fn default() -> FilePathsBuilder
fn default() -> FilePathsBuilder
source§impl PartialEq for FilePathsBuilder
impl PartialEq for FilePathsBuilder
source§fn eq(&self, other: &FilePathsBuilder) -> bool
fn eq(&self, other: &FilePathsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FilePathsBuilder
Auto Trait Implementations§
impl Freeze for FilePathsBuilder
impl RefUnwindSafe for FilePathsBuilder
impl Send for FilePathsBuilder
impl Sync for FilePathsBuilder
impl Unpin for FilePathsBuilder
impl UnwindSafe for FilePathsBuilder
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