Struct aws_sdk_auditmanager::types::builders::ManualEvidenceBuilder
source · #[non_exhaustive]pub struct ManualEvidenceBuilder { /* private fields */ }Expand description
A builder for ManualEvidence.
Implementations§
source§impl ManualEvidenceBuilder
impl ManualEvidenceBuilder
sourcepub fn s3_resource_path(self, input: impl Into<String>) -> Self
pub fn s3_resource_path(self, input: impl Into<String>) -> Self
The S3 URL of the object that's imported as manual evidence.
sourcepub fn set_s3_resource_path(self, input: Option<String>) -> Self
pub fn set_s3_resource_path(self, input: Option<String>) -> Self
The S3 URL of the object that's imported as manual evidence.
sourcepub fn get_s3_resource_path(&self) -> &Option<String>
pub fn get_s3_resource_path(&self) -> &Option<String>
The S3 URL of the object that's imported as manual evidence.
sourcepub fn text_response(self, input: impl Into<String>) -> Self
pub fn text_response(self, input: impl Into<String>) -> Self
The plain text response that's entered and saved as manual evidence.
sourcepub fn set_text_response(self, input: Option<String>) -> Self
pub fn set_text_response(self, input: Option<String>) -> Self
The plain text response that's entered and saved as manual evidence.
sourcepub fn get_text_response(&self) -> &Option<String>
pub fn get_text_response(&self) -> &Option<String>
The plain text response that's entered and saved as manual evidence.
sourcepub fn evidence_file_name(self, input: impl Into<String>) -> Self
pub fn evidence_file_name(self, input: impl Into<String>) -> Self
The name of the file that's uploaded as manual evidence. This name is populated using the evidenceFileName value from the GetEvidenceFileUploadUrl API response.
sourcepub fn set_evidence_file_name(self, input: Option<String>) -> Self
pub fn set_evidence_file_name(self, input: Option<String>) -> Self
The name of the file that's uploaded as manual evidence. This name is populated using the evidenceFileName value from the GetEvidenceFileUploadUrl API response.
sourcepub fn get_evidence_file_name(&self) -> &Option<String>
pub fn get_evidence_file_name(&self) -> &Option<String>
The name of the file that's uploaded as manual evidence. This name is populated using the evidenceFileName value from the GetEvidenceFileUploadUrl API response.
sourcepub fn build(self) -> ManualEvidence
pub fn build(self) -> ManualEvidence
Consumes the builder and constructs a ManualEvidence.
Trait Implementations§
source§impl Clone for ManualEvidenceBuilder
impl Clone for ManualEvidenceBuilder
source§fn clone(&self) -> ManualEvidenceBuilder
fn clone(&self) -> ManualEvidenceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ManualEvidenceBuilder
impl Debug for ManualEvidenceBuilder
source§impl Default for ManualEvidenceBuilder
impl Default for ManualEvidenceBuilder
source§fn default() -> ManualEvidenceBuilder
fn default() -> ManualEvidenceBuilder
source§impl PartialEq for ManualEvidenceBuilder
impl PartialEq for ManualEvidenceBuilder
source§fn eq(&self, other: &ManualEvidenceBuilder) -> bool
fn eq(&self, other: &ManualEvidenceBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ManualEvidenceBuilder
Auto Trait Implementations§
impl Freeze for ManualEvidenceBuilder
impl RefUnwindSafe for ManualEvidenceBuilder
impl Send for ManualEvidenceBuilder
impl Sync for ManualEvidenceBuilder
impl Unpin for ManualEvidenceBuilder
impl UnwindSafe for ManualEvidenceBuilder
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