Struct aws_sdk_auditmanager::operation::create_assessment_report::builders::CreateAssessmentReportInputBuilder
source · #[non_exhaustive]pub struct CreateAssessmentReportInputBuilder { /* private fields */ }Expand description
A builder for CreateAssessmentReportInput.
Implementations§
source§impl CreateAssessmentReportInputBuilder
impl CreateAssessmentReportInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the new assessment report.
This field is required.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.
This field is required.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.
sourcepub fn build(self) -> Result<CreateAssessmentReportInput, BuildError>
pub fn build(self) -> Result<CreateAssessmentReportInput, BuildError>
Consumes the builder and constructs a CreateAssessmentReportInput.
source§impl CreateAssessmentReportInputBuilder
impl CreateAssessmentReportInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateAssessmentReportOutput, SdkError<CreateAssessmentReportError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateAssessmentReportOutput, SdkError<CreateAssessmentReportError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateAssessmentReportInputBuilder
impl Clone for CreateAssessmentReportInputBuilder
source§fn clone(&self) -> CreateAssessmentReportInputBuilder
fn clone(&self) -> CreateAssessmentReportInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateAssessmentReportInputBuilder
impl Default for CreateAssessmentReportInputBuilder
source§fn default() -> CreateAssessmentReportInputBuilder
fn default() -> CreateAssessmentReportInputBuilder
source§impl PartialEq for CreateAssessmentReportInputBuilder
impl PartialEq for CreateAssessmentReportInputBuilder
source§fn eq(&self, other: &CreateAssessmentReportInputBuilder) -> bool
fn eq(&self, other: &CreateAssessmentReportInputBuilder) -> bool
self and other values to be equal, and is used
by ==.