Struct aws_sdk_migrationhubstrategy::operation::start_assessment::builders::StartAssessmentFluentBuilder
source · pub struct StartAssessmentFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to StartAssessment.
Starts the assessment of an on-premises environment.
Implementations§
source§impl StartAssessmentFluentBuilder
impl StartAssessmentFluentBuilder
sourcepub fn as_input(&self) -> &StartAssessmentInputBuilder
pub fn as_input(&self) -> &StartAssessmentInputBuilder
Access the StartAssessment as a reference.
sourcepub async fn send(
self
) -> Result<StartAssessmentOutput, SdkError<StartAssessmentError, HttpResponse>>
pub async fn send( self ) -> Result<StartAssessmentOutput, SdkError<StartAssessmentError, 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<StartAssessmentOutput, StartAssessmentError, Self>
pub fn customize( self ) -> CustomizableOperation<StartAssessmentOutput, StartAssessmentError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn s3bucket_for_analysis_data(self, input: impl Into<String>) -> Self
pub fn s3bucket_for_analysis_data(self, input: impl Into<String>) -> Self
The S3 bucket used by the collectors to send analysis data to the service. The bucket name must begin with migrationhub-strategy-.
sourcepub fn set_s3bucket_for_analysis_data(self, input: Option<String>) -> Self
pub fn set_s3bucket_for_analysis_data(self, input: Option<String>) -> Self
The S3 bucket used by the collectors to send analysis data to the service. The bucket name must begin with migrationhub-strategy-.
sourcepub fn get_s3bucket_for_analysis_data(&self) -> &Option<String>
pub fn get_s3bucket_for_analysis_data(&self) -> &Option<String>
The S3 bucket used by the collectors to send analysis data to the service. The bucket name must begin with migrationhub-strategy-.
sourcepub fn s3bucket_for_report_data(self, input: impl Into<String>) -> Self
pub fn s3bucket_for_report_data(self, input: impl Into<String>) -> Self
The S3 bucket where all the reports generated by the service are stored. The bucket name must begin with migrationhub-strategy-.
sourcepub fn set_s3bucket_for_report_data(self, input: Option<String>) -> Self
pub fn set_s3bucket_for_report_data(self, input: Option<String>) -> Self
The S3 bucket where all the reports generated by the service are stored. The bucket name must begin with migrationhub-strategy-.
sourcepub fn get_s3bucket_for_report_data(&self) -> &Option<String>
pub fn get_s3bucket_for_report_data(&self) -> &Option<String>
The S3 bucket where all the reports generated by the service are stored. The bucket name must begin with migrationhub-strategy-.
sourcepub fn assessment_targets(self, input: AssessmentTarget) -> Self
pub fn assessment_targets(self, input: AssessmentTarget) -> Self
Appends an item to assessmentTargets.
To override the contents of this collection use set_assessment_targets.
List of criteria for assessment.
sourcepub fn set_assessment_targets(
self,
input: Option<Vec<AssessmentTarget>>
) -> Self
pub fn set_assessment_targets( self, input: Option<Vec<AssessmentTarget>> ) -> Self
List of criteria for assessment.
sourcepub fn get_assessment_targets(&self) -> &Option<Vec<AssessmentTarget>>
pub fn get_assessment_targets(&self) -> &Option<Vec<AssessmentTarget>>
List of criteria for assessment.
sourcepub fn assessment_data_source_type(
self,
input: AssessmentDataSourceType
) -> Self
pub fn assessment_data_source_type( self, input: AssessmentDataSourceType ) -> Self
The data source type of an assessment to be started.
sourcepub fn set_assessment_data_source_type(
self,
input: Option<AssessmentDataSourceType>
) -> Self
pub fn set_assessment_data_source_type( self, input: Option<AssessmentDataSourceType> ) -> Self
The data source type of an assessment to be started.
sourcepub fn get_assessment_data_source_type(
&self
) -> &Option<AssessmentDataSourceType>
pub fn get_assessment_data_source_type( &self ) -> &Option<AssessmentDataSourceType>
The data source type of an assessment to be started.
Trait Implementations§
source§impl Clone for StartAssessmentFluentBuilder
impl Clone for StartAssessmentFluentBuilder
source§fn clone(&self) -> StartAssessmentFluentBuilder
fn clone(&self) -> StartAssessmentFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more