Interface Progress.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Progress.Builder,,Progress> SdkBuilder<Progress.Builder,,Progress> SdkPojo
- Enclosing class:
Progress
-
Method Summary
Modifier and TypeMethodDescriptiondefault Progress.BuilderprocessedObject(Consumer<ProcessedObject.Builder> processedObject) The name of the database object that the schema conversion operation currently uses.processedObject(ProcessedObject processedObject) The name of the database object that the schema conversion operation currently uses.progressPercent(Double progressPercent) The percent complete for the current step of the schema conversion operation.progressStep(String progressStep) The step of the schema conversion operation.totalObjects(Long totalObjects) The number of objects in this schema conversion operation.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
-
progressPercent
The percent complete for the current step of the schema conversion operation.
- Parameters:
progressPercent- The percent complete for the current step of the schema conversion operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalObjects
The number of objects in this schema conversion operation.
- Parameters:
totalObjects- The number of objects in this schema conversion operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
progressStep
The step of the schema conversion operation. This parameter can store one of the following values:
-
IN_PROGRESS– The operation is running. -
LOADING_METADATA– Loads metadata from the source database. -
COUNTING_OBJECTS– Determines the number of objects involved in the operation. -
ANALYZING– Analyzes the source database objects. -
CONVERTING– Converts the source database objects to a format compatible with the target database. -
APPLYING– Applies the converted code to the target database. -
FINISHED– The operation completed successfully.
- Parameters:
progressStep- The step of the schema conversion operation. This parameter can store one of the following values:-
IN_PROGRESS– The operation is running. -
LOADING_METADATA– Loads metadata from the source database. -
COUNTING_OBJECTS– Determines the number of objects involved in the operation. -
ANALYZING– Analyzes the source database objects. -
CONVERTING– Converts the source database objects to a format compatible with the target database. -
APPLYING– Applies the converted code to the target database. -
FINISHED– The operation completed successfully.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
processedObject
The name of the database object that the schema conversion operation currently uses.
- Parameters:
processedObject- The name of the database object that the schema conversion operation currently uses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
processedObject
The name of the database object that the schema conversion operation currently uses.
This is a convenience method that creates an instance of theProcessedObject.Builderavoiding the need to create one manually viaProcessedObject.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprocessedObject(ProcessedObject).- Parameters:
processedObject- a consumer that will call methods onProcessedObject.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-