Interface BranchBackend.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BranchBackend.Builder,,BranchBackend> SdkBuilder<BranchBackend.Builder,,BranchBackend> SdkPojo
- Enclosing class:
BranchBackend
-
Method Summary
Modifier and TypeMethodDescriptionThe authentication settings of the branch's live deployment, as a JSON document.default BranchBackend.BuilderdatabaseConfig(Consumer<BranchDatabaseConfiguration.Builder> databaseConfig) The database settings that are in effect on the branch's database cluster.databaseConfig(BranchDatabaseConfiguration databaseConfig) The database settings that are in effect on the branch's database cluster.default BranchBackend.BuilderdatabaseConnection(Consumer<BranchDatabaseConnection.Builder> databaseConnection) The connection details for the branch's database.databaseConnection(BranchDatabaseConnection databaseConnection) The connection details for the branch's database.default BranchBackend.BuilderdatabaseUsage(Consumer<BranchDatabaseUsage.Builder> databaseUsage) The latest usage sample of the branch's database.databaseUsage(BranchDatabaseUsage databaseUsage) The latest usage sample of the branch's database.The lifecycle status of the branch.status(BranchStatus status) The lifecycle status of the branch.The URL of the branch'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
-
url
The URL of the branch's backend.
- Parameters:
url- The URL of the branch's backend.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The lifecycle status of the branch. Absent only when the status isn't one that this API recognizes.
- Parameters:
status- The lifecycle status of the branch. Absent only when the status isn't one that this API recognizes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The lifecycle status of the branch. Absent only when the status isn't one that this API recognizes.
- Parameters:
status- The lifecycle status of the branch. Absent only when the status isn't one that this API recognizes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
databaseConfig
The database settings that are in effect on the branch's database cluster. These are the settings that the most recent deployment applied, or the cluster's defaults if no deployment has set any. A deployment that changes them completes only after they are applied. They can differ from the environment's Backend.Database settings, which take effect at the next deployment. Absent before the branch has its own database cluster.
- Parameters:
databaseConfig- The database settings that are in effect on the branch's database cluster. These are the settings that the most recent deployment applied, or the cluster's defaults if no deployment has set any. A deployment that changes them completes only after they are applied. They can differ from the environment's Backend.Database settings, which take effect at the next deployment. Absent before the branch has its own database cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseConfig
default BranchBackend.Builder databaseConfig(Consumer<BranchDatabaseConfiguration.Builder> databaseConfig) The database settings that are in effect on the branch's database cluster. These are the settings that the most recent deployment applied, or the cluster's defaults if no deployment has set any. A deployment that changes them completes only after they are applied. They can differ from the environment's Backend.Database settings, which take effect at the next deployment. Absent before the branch has its own database cluster.
This is a convenience method that creates an instance of theBranchDatabaseConfiguration.Builderavoiding the need to create one manually viaBranchDatabaseConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todatabaseConfig(BranchDatabaseConfiguration).- Parameters:
databaseConfig- a consumer that will call methods onBranchDatabaseConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
auth
The authentication settings of the branch's live deployment, as a JSON document. These can differ from the environment's Backend.Auth settings, which take effect at the next deployment. Absent when the live deployment's configuration has no authentication settings, or when no deployment with backend settings has gone live.
- Parameters:
auth- The authentication settings of the branch's live deployment, as a JSON document. These can differ from the environment's Backend.Auth settings, which take effect at the next deployment. Absent when the live deployment's configuration has no authentication settings, or when no deployment with backend settings has gone live.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseUsage
The latest usage sample of the branch's database. Absent before the first sample, or for a branch that was created by RestoreBranch.
- Parameters:
databaseUsage- The latest usage sample of the branch's database. Absent before the first sample, or for a branch that was created by RestoreBranch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseUsage
The latest usage sample of the branch's database. Absent before the first sample, or for a branch that was created by RestoreBranch.
This is a convenience method that creates an instance of theBranchDatabaseUsage.Builderavoiding the need to create one manually viaBranchDatabaseUsage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todatabaseUsage(BranchDatabaseUsage).- Parameters:
databaseUsage- a consumer that will call methods onBranchDatabaseUsage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
databaseConnection
The connection details for the branch's database. Absent when connections aren't available for the branch, or before the branch has a database.
- Parameters:
databaseConnection- The connection details for the branch's database. Absent when connections aren't available for the branch, or before the branch has a database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseConnection
default BranchBackend.Builder databaseConnection(Consumer<BranchDatabaseConnection.Builder> databaseConnection) The connection details for the branch's database. Absent when connections aren't available for the branch, or before the branch has a database.
This is a convenience method that creates an instance of theBranchDatabaseConnection.Builderavoiding the need to create one manually viaBranchDatabaseConnection.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todatabaseConnection(BranchDatabaseConnection).- Parameters:
databaseConnection- a consumer that will call methods onBranchDatabaseConnection.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-