Interface RefreshSchemasResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<RefreshSchemasResponse.Builder,,RefreshSchemasResponse> DatabaseMigrationResponse.Builder,SdkBuilder<RefreshSchemasResponse.Builder,,RefreshSchemasResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
RefreshSchemasResponse
public static interface RefreshSchemasResponse.Builder
extends DatabaseMigrationResponse.Builder, SdkPojo, CopyableBuilder<RefreshSchemasResponse.Builder,RefreshSchemasResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RefreshSchemasResponse.BuilderrefreshSchemasStatus(Consumer<RefreshSchemasStatus.Builder> refreshSchemasStatus) The status of the refreshed schema.refreshSchemasStatus(RefreshSchemasStatus refreshSchemasStatus) The status of the refreshed schema.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
-
refreshSchemasStatus
The status of the refreshed schema.
- Parameters:
refreshSchemasStatus- The status of the refreshed schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
refreshSchemasStatus
default RefreshSchemasResponse.Builder refreshSchemasStatus(Consumer<RefreshSchemasStatus.Builder> refreshSchemasStatus) The status of the refreshed schema.
This is a convenience method that creates an instance of theRefreshSchemasStatus.Builderavoiding the need to create one manually viaRefreshSchemasStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torefreshSchemasStatus(RefreshSchemasStatus).- Parameters:
refreshSchemasStatus- a consumer that will call methods onRefreshSchemasStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-