Struct aws_sdk_migrationhubstrategy::operation::start_assessment::builders::StartAssessmentInputBuilder
source · #[non_exhaustive]pub struct StartAssessmentInputBuilder { /* private fields */ }Expand description
A builder for StartAssessmentInput.
Implementations§
source§impl StartAssessmentInputBuilder
impl StartAssessmentInputBuilder
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 assessment_targets.
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.
sourcepub fn build(self) -> Result<StartAssessmentInput, BuildError>
pub fn build(self) -> Result<StartAssessmentInput, BuildError>
Consumes the builder and constructs a StartAssessmentInput.
source§impl StartAssessmentInputBuilder
impl StartAssessmentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartAssessmentOutput, SdkError<StartAssessmentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartAssessmentOutput, SdkError<StartAssessmentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartAssessmentInputBuilder
impl Clone for StartAssessmentInputBuilder
source§fn clone(&self) -> StartAssessmentInputBuilder
fn clone(&self) -> StartAssessmentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StartAssessmentInputBuilder
impl Debug for StartAssessmentInputBuilder
source§impl Default for StartAssessmentInputBuilder
impl Default for StartAssessmentInputBuilder
source§fn default() -> StartAssessmentInputBuilder
fn default() -> StartAssessmentInputBuilder
source§impl PartialEq for StartAssessmentInputBuilder
impl PartialEq for StartAssessmentInputBuilder
source§fn eq(&self, other: &StartAssessmentInputBuilder) -> bool
fn eq(&self, other: &StartAssessmentInputBuilder) -> bool
self and other values to be equal, and is used
by ==.