Interface AppBackend.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AppBackend.Builder,,AppBackend> SdkBuilder<AppBackend.Builder,,AppBackend> SdkPojo
- Enclosing class:
AppBackend
-
Method Summary
Modifier and TypeMethodDescriptiondefault AppBackend.BuilderdatabaseUsage(Consumer<BackendDatabaseUsage.Builder> databaseUsage) The usage of the backend's databases.databaseUsage(BackendDatabaseUsage databaseUsage) The usage of the backend's databases.migrationsDirectory(String migrationsDirectory) The directory that contains the migration files, relative to the root of the source.The status of the app's backend.status(BackendStatus status) The status of the app's backend.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.
-
status
The status of the app's backend. The backend is created asynchronously, so wait until the status is READY before you deploy. Absent when the status can't be read. An absent status doesn't indicate a failure.
- Parameters:
status- The status of the app's backend. The backend is created asynchronously, so wait until the status is READY before you deploy. Absent when the status can't be read. An absent status doesn't indicate a failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the app's backend. The backend is created asynchronously, so wait until the status is READY before you deploy. Absent when the status can't be read. An absent status doesn't indicate a failure.
- Parameters:
status- The status of the app's backend. The backend is created asynchronously, so wait until the status is READY before you deploy. Absent when the status can't be read. An absent status doesn't indicate a failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
databaseUsage
The usage of the backend's databases. Absent when the usage can't be read.
- Parameters:
databaseUsage- The usage of the backend's databases. Absent when the usage can't be read.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseUsage
The usage of the backend's databases. Absent when the usage can't be read.
This is a convenience method that creates an instance of theBackendDatabaseUsage.Builderavoiding the need to create one manually viaBackendDatabaseUsage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todatabaseUsage(BackendDatabaseUsage).- Parameters:
databaseUsage- a consumer that will call methods onBackendDatabaseUsage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-