Interface BatchStartRecommendationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchStartRecommendationsResponse.Builder,,BatchStartRecommendationsResponse> DatabaseMigrationResponse.Builder,SdkBuilder<BatchStartRecommendationsResponse.Builder,,BatchStartRecommendationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchStartRecommendationsResponse
@Mutable
@NotThreadSafe
public static interface BatchStartRecommendationsResponse.Builder
extends DatabaseMigrationResponse.Builder, SdkPojo, CopyableBuilder<BatchStartRecommendationsResponse.Builder,BatchStartRecommendationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionerrorEntries(Collection<BatchStartRecommendationsErrorEntry> errorEntries) A list with error details about the analysis of each source database.errorEntries(Consumer<BatchStartRecommendationsErrorEntry.Builder>... errorEntries) A list with error details about the analysis of each source database.errorEntries(BatchStartRecommendationsErrorEntry... errorEntries) A list with error details about the analysis of each source database.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.databasemigration.model.DatabaseMigrationResponse.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
-
errorEntries
BatchStartRecommendationsResponse.Builder errorEntries(Collection<BatchStartRecommendationsErrorEntry> errorEntries) A list with error details about the analysis of each source database.
- Parameters:
errorEntries- A list with error details about the analysis of each source database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorEntries
BatchStartRecommendationsResponse.Builder errorEntries(BatchStartRecommendationsErrorEntry... errorEntries) A list with error details about the analysis of each source database.
- Parameters:
errorEntries- A list with error details about the analysis of each source database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorEntries
BatchStartRecommendationsResponse.Builder errorEntries(Consumer<BatchStartRecommendationsErrorEntry.Builder>... errorEntries) A list with error details about the analysis of each source database.
This is a convenience method that creates an instance of theBatchStartRecommendationsErrorEntry.Builderavoiding the need to create one manually viaBatchStartRecommendationsErrorEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrorEntries(List<BatchStartRecommendationsErrorEntry>).- Parameters:
errorEntries- a consumer that will call methods onBatchStartRecommendationsErrorEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-