Interface DeploymentSteps.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DeploymentSteps.Builder,,DeploymentSteps> SdkBuilder<DeploymentSteps.Builder,,DeploymentSteps> SdkPojo
- Enclosing class:
DeploymentSteps
@Mutable
@NotThreadSafe
public static interface DeploymentSteps.Builder
extends SdkPojo, CopyableBuilder<DeploymentSteps.Builder,DeploymentSteps>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DeploymentSteps.Builderbuild(Consumer<BuildStep.Builder> build) The build step.The build step.default DeploymentSteps.Builderdeploy(Consumer<DeployStep.Builder> deploy) The deploy step.deploy(DeployStep deploy) The deploy step.default DeploymentSteps.Buildermigration(Consumer<MigrationStep.Builder> migration) The database migration step.migration(MigrationStep migration) The database migration step.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
-
build
The build step.
- Parameters:
build- The build step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
build
The build step.
This is a convenience method that creates an instance of theBuildStep.Builderavoiding the need to create one manually viaBuildStep.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobuild(BuildStep).- Parameters:
build- a consumer that will call methods onBuildStep.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
migration
The database migration step.
- Parameters:
migration- The database migration step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
migration
The database migration step.
This is a convenience method that creates an instance of theMigrationStep.Builderavoiding the need to create one manually viaMigrationStep.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomigration(MigrationStep).- Parameters:
migration- a consumer that will call methods onMigrationStep.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deploy
The deploy step.
- Parameters:
deploy- The deploy step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploy
The deploy step.
This is a convenience method that creates an instance of theDeployStep.Builderavoiding the need to create one manually viaDeployStep.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeploy(DeployStep).- Parameters:
deploy- a consumer that will call methods onDeployStep.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-