Interface EnvironmentBackendConfigRequest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EnvironmentBackendConfigRequest.Builder,,EnvironmentBackendConfigRequest> SdkBuilder<EnvironmentBackendConfigRequest.Builder,,EnvironmentBackendConfigRequest> SdkPojo
- Enclosing class:
EnvironmentBackendConfigRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe authentication settings for the environment's backend, as a JSON document.database(Consumer<DatabaseConfigRequest.Builder> database) The database settings for the environment.database(DatabaseConfigRequest database) The database settings for the environment.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
-
auth
The authentication settings for the environment's backend, as a JSON document. A secret value must be a reference to a BACKEND-scoped environment variable, in the form ${env:NAME}. If you omit this, the default settings are used.
- Parameters:
auth- The authentication settings for the environment's backend, as a JSON document. A secret value must be a reference to a BACKEND-scoped environment variable, in the form ${env:NAME}. If you omit this, the default settings are used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
database
The database settings for the environment. If you omit this, the plan's defaults are used. A value above the limit of the account's plan causes the next deployment to fail, not this request, because the plan can change between the two.
- Parameters:
database- The database settings for the environment. If you omit this, the plan's defaults are used. A value above the limit of the account's plan causes the next deployment to fail, not this request, because the plan can change between the two.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
database
default EnvironmentBackendConfigRequest.Builder database(Consumer<DatabaseConfigRequest.Builder> database) The database settings for the environment. If you omit this, the plan's defaults are used. A value above the limit of the account's plan causes the next deployment to fail, not this request, because the plan can change between the two.
This is a convenience method that creates an instance of theDatabaseConfigRequest.Builderavoiding the need to create one manually viaDatabaseConfigRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todatabase(DatabaseConfigRequest).- Parameters:
database- a consumer that will call methods onDatabaseConfigRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-