Interface MigrationSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MigrationSummary.Builder,,MigrationSummary> SdkBuilder<MigrationSummary.Builder,,MigrationSummary> SdkPojo
- Enclosing class:
MigrationSummary
@Mutable
@NotThreadSafe
public static interface MigrationSummary.Builder
extends SdkPojo, CopyableBuilder<MigrationSummary.Builder,MigrationSummary>
-
Method Summary
Modifier and TypeMethodDescriptioncutoverMode(String cutoverMode) The cutover configuration for the migration.default MigrationSummary.BuildermigrationEndpoint(Consumer<Endpoint.Builder> migrationEndpoint) The migration endpoint, which is the standard endpoint of the serverless cache.migrationEndpoint(Endpoint migrationEndpoint) The migration endpoint, which is the standard endpoint of the serverless cache.The current status of the migration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
status
The current status of the migration.
- Parameters:
status- The current status of the migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
migrationEndpoint
The migration endpoint, which is the standard endpoint of the serverless cache. Point your application at this endpoint during the migration. Until cutover, ElastiCache routes requests on this endpoint to your source.
- Parameters:
migrationEndpoint- The migration endpoint, which is the standard endpoint of the serverless cache. Point your application at this endpoint during the migration. Until cutover, ElastiCache routes requests on this endpoint to your source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
migrationEndpoint
The migration endpoint, which is the standard endpoint of the serverless cache. Point your application at this endpoint during the migration. Until cutover, ElastiCache routes requests on this endpoint to your source.
This is a convenience method that creates an instance of theEndpoint.Builderavoiding the need to create one manually viaEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomigrationEndpoint(Endpoint).- Parameters:
migrationEndpoint- a consumer that will call methods onEndpoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cutoverMode
The cutover configuration for the migration.
- Parameters:
cutoverMode- The cutover configuration for the migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-