Interface GetMigrationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetMigrationResponse.Builder,,GetMigrationResponse> OpenSearchResponse.Builder,SdkBuilder<GetMigrationResponse.Builder,,GetMigrationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetMigrationResponse
-
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 GetMigrationResponse.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 GetMigrationResponse.Buildersource(Consumer<MigrationSource.Builder> source) The source configuration for the migration, including the data source ARN.source(MigrationSource source) The source configuration for the migration, including the data source ARN.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.services.opensearch.model.OpenSearchResponse.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
-
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. Valid values are
PENDING,IN_PROGRESS,SUCCEEDED, andFAILED.- Parameters:
status- The current status of the migration job. Valid values arePENDING,IN_PROGRESS,SUCCEEDED, andFAILED.- 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, including the data source ARN.
- Parameters:
source- The source configuration for the migration, including the data source ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The source configuration for the migration, including the data source ARN.
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.
-