Interface DeploymentBackend.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DeploymentBackend.Builder,,DeploymentBackend> SdkBuilder<DeploymentBackend.Builder,,DeploymentBackend> SdkPojo
- Enclosing class:
DeploymentBackend
@Mutable
@NotThreadSafe
public static interface DeploymentBackend.Builder
extends SdkPojo, CopyableBuilder<DeploymentBackend.Builder,DeploymentBackend>
-
Method Summary
Modifier and TypeMethodDescriptionThe authentication settings that the deployment sent to its branch, as a JSON document, whether or not the deployment succeeded.default DeploymentBackend.Builderdatabase(Consumer<DatabaseConfig.Builder> database) The database settings that the deployment sent to its branch, whether or not the deployment succeeded.database(DatabaseConfig database) The database settings that the deployment sent to its branch, whether or not the deployment succeeded.migrationsDirectory(String migrationsDirectory) The directory that contains the migration files, relative to the root of the source.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
-
migrationsDirectory
The directory that contains the migration files, relative to the root of the source.
- Parameters:
migrationsDirectory- The directory that contains the migration files, relative to the root of the source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
auth
The authentication settings that the deployment sent to its branch, as a JSON document, whether or not the deployment succeeded.
- Parameters:
auth- The authentication settings that the deployment sent to its branch, as a JSON document, whether or not the deployment succeeded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
database
The database settings that the deployment sent to its branch, whether or not the deployment succeeded.
- Parameters:
database- The database settings that the deployment sent to its branch, whether or not the deployment succeeded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
database
The database settings that the deployment sent to its branch, whether or not the deployment succeeded.
This is a convenience method that creates an instance of theDatabaseConfig.Builderavoiding the need to create one manually viaDatabaseConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todatabase(DatabaseConfig).- Parameters:
database- a consumer that will call methods onDatabaseConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-