Interface MigrationSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MigrationSummary.Builder,,MigrationSummary> SdkBuilder<MigrationSummary.Builder,,MigrationSummary> SdkPojo
- Enclosing class:
MigrationSummary
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) The unique identifier of the OpenSearch application associated with the migration.The date and time when the migration job was created.default MigrationSummary.Buildererror(Consumer<MigrationError.Builder> error) Error details if the migration failed or completed with errors.error(MigrationError error) Error details if the migration failed or completed with errors.exportedCount(Integer exportedCount) The number of saved objects exported from the source data source.importedCount(Integer importedCount) The number of saved objects successfully imported into the target workspace.migrationId(String migrationId) The unique identifier of the migration job.default MigrationSummary.Buildersource(Consumer<MigrationSource.Builder> source) The source configuration for the migration.source(MigrationSource source) The source configuration for the migration.The current status of the migration job.The date and time when the migration job was last updated.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
-
migrationId
The unique identifier of the migration job.
- Parameters:
migrationId- The unique identifier of the migration job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the migration job.
- Parameters:
status- The current status of the migration job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationId
The unique identifier of the OpenSearch application associated with the migration.
- Parameters:
applicationId- The unique identifier of the OpenSearch application associated with the migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The source configuration for the migration.
- Parameters:
source- The source configuration for the migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The source configuration for the migration.
This is a convenience method that creates an instance of theMigrationSource.Builderavoiding the need to create one manually viaMigrationSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(MigrationSource).- Parameters:
source- a consumer that will call methods onMigrationSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
exportedCount
The number of saved objects exported from the source data source.
- Parameters:
exportedCount- The number of saved objects exported from the source data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importedCount
The number of saved objects successfully imported into the target workspace.
- Parameters:
importedCount- The number of saved objects successfully imported into the target workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
Error details if the migration failed or completed with errors.
- Parameters:
error- Error details if the migration failed or completed with errors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
Error details if the migration failed or completed with errors.
This is a convenience method that creates an instance of theMigrationError.Builderavoiding the need to create one manually viaMigrationError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerror(MigrationError).- Parameters:
error- a consumer that will call methods onMigrationError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The date and time when the migration job was created.
- Parameters:
createdAt- The date and time when the migration job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The date and time when the migration job was last updated.
- Parameters:
updatedAt- The date and time when the migration job was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-