Struct aws_sdk_auditmanager::operation::create_assessment_report::builders::CreateAssessmentReportFluentBuilder
source · pub struct CreateAssessmentReportFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateAssessmentReport
.
Creates an assessment report for the specified assessment.
Implementations§
source§impl CreateAssessmentReportFluentBuilder
impl CreateAssessmentReportFluentBuilder
sourcepub fn as_input(&self) -> &CreateAssessmentReportInputBuilder
pub fn as_input(&self) -> &CreateAssessmentReportInputBuilder
Access the CreateAssessmentReport as a reference.
sourcepub async fn send(
self
) -> Result<CreateAssessmentReportOutput, SdkError<CreateAssessmentReportError, HttpResponse>>
pub async fn send( self ) -> Result<CreateAssessmentReportOutput, SdkError<CreateAssessmentReportError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateAssessmentReportOutput, CreateAssessmentReportError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateAssessmentReportOutput, CreateAssessmentReportError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the assessment report.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the assessment report.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the assessment report.
sourcepub fn assessment_id(self, input: impl Into<String>) -> Self
pub fn assessment_id(self, input: impl Into<String>) -> Self
The identifier for the assessment.
sourcepub fn set_assessment_id(self, input: Option<String>) -> Self
pub fn set_assessment_id(self, input: Option<String>) -> Self
The identifier for the assessment.
sourcepub fn get_assessment_id(&self) -> &Option<String>
pub fn get_assessment_id(&self) -> &Option<String>
The identifier for the assessment.
sourcepub fn query_statement(self, input: impl Into<String>) -> Self
pub fn query_statement(self, input: impl Into<String>) -> Self
A SQL statement that represents an evidence finder query.
Provide this parameter when you want to generate an assessment report from the results of an evidence finder search query. When you use this parameter, Audit Manager generates a one-time report using only the evidence from the query output. This report does not include any assessment evidence that was manually added to a report using the console, or associated with a report using the API.
To use this parameter, the enablementStatus of evidence finder must be ENABLED
.
For examples and help resolving queryStatement
validation exceptions, see Troubleshooting evidence finder issues in the Audit Manager User Guide.
sourcepub fn set_query_statement(self, input: Option<String>) -> Self
pub fn set_query_statement(self, input: Option<String>) -> Self
A SQL statement that represents an evidence finder query.
Provide this parameter when you want to generate an assessment report from the results of an evidence finder search query. When you use this parameter, Audit Manager generates a one-time report using only the evidence from the query output. This report does not include any assessment evidence that was manually added to a report using the console, or associated with a report using the API.
To use this parameter, the enablementStatus of evidence finder must be ENABLED
.
For examples and help resolving queryStatement
validation exceptions, see Troubleshooting evidence finder issues in the Audit Manager User Guide.
sourcepub fn get_query_statement(&self) -> &Option<String>
pub fn get_query_statement(&self) -> &Option<String>
A SQL statement that represents an evidence finder query.
Provide this parameter when you want to generate an assessment report from the results of an evidence finder search query. When you use this parameter, Audit Manager generates a one-time report using only the evidence from the query output. This report does not include any assessment evidence that was manually added to a report using the console, or associated with a report using the API.
To use this parameter, the enablementStatus of evidence finder must be ENABLED
.
For examples and help resolving queryStatement
validation exceptions, see Troubleshooting evidence finder issues in the Audit Manager User Guide.
Trait Implementations§
source§impl Clone for CreateAssessmentReportFluentBuilder
impl Clone for CreateAssessmentReportFluentBuilder
source§fn clone(&self) -> CreateAssessmentReportFluentBuilder
fn clone(&self) -> CreateAssessmentReportFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for CreateAssessmentReportFluentBuilder
impl !RefUnwindSafe for CreateAssessmentReportFluentBuilder
impl Send for CreateAssessmentReportFluentBuilder
impl Sync for CreateAssessmentReportFluentBuilder
impl Unpin for CreateAssessmentReportFluentBuilder
impl !UnwindSafe for CreateAssessmentReportFluentBuilder
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