Interface GetAssessmentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetAssessmentResponse.Builder,,GetAssessmentResponse> MigrationHubStrategyResponse.Builder,SdkBuilder<GetAssessmentResponse.Builder,,GetAssessmentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetAssessmentResponse
@Mutable
@NotThreadSafe
public static interface GetAssessmentResponse.Builder
extends MigrationHubStrategyResponse.Builder, SdkPojo, CopyableBuilder<GetAssessmentResponse.Builder,GetAssessmentResponse>
-
Method Summary
Modifier and TypeMethodDescriptionassessmentTargets(Collection<AssessmentTarget> assessmentTargets) List of criteria for assessment.assessmentTargets(Consumer<AssessmentTarget.Builder>... assessmentTargets) List of criteria for assessment.assessmentTargets(AssessmentTarget... assessmentTargets) List of criteria for assessment.default GetAssessmentResponse.BuilderdataCollectionDetails(Consumer<DataCollectionDetails.Builder> dataCollectionDetails) Detailed information about the assessment.dataCollectionDetails(DataCollectionDetails dataCollectionDetails) Detailed information about the assessment.The ID for the specific assessment task.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.migrationhubstrategy.model.MigrationHubStrategyResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
assessmentTargets
List of criteria for assessment.
- Parameters:
assessmentTargets- List of criteria for assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assessmentTargets
List of criteria for assessment.
- Parameters:
assessmentTargets- List of criteria for assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assessmentTargets
GetAssessmentResponse.Builder assessmentTargets(Consumer<AssessmentTarget.Builder>... assessmentTargets) List of criteria for assessment.
This is a convenience method that creates an instance of theAssessmentTarget.Builderavoiding the need to create one manually viaAssessmentTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassessmentTargets(List<AssessmentTarget>).- Parameters:
assessmentTargets- a consumer that will call methods onAssessmentTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataCollectionDetails
Detailed information about the assessment.
- Parameters:
dataCollectionDetails- Detailed information about the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataCollectionDetails
default GetAssessmentResponse.Builder dataCollectionDetails(Consumer<DataCollectionDetails.Builder> dataCollectionDetails) Detailed information about the assessment.
This is a convenience method that creates an instance of theDataCollectionDetails.Builderavoiding the need to create one manually viaDataCollectionDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataCollectionDetails(DataCollectionDetails).- Parameters:
dataCollectionDetails- a consumer that will call methods onDataCollectionDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
id
The ID for the specific assessment task.
- Parameters:
id- The ID for the specific assessment task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-