Interface EnvironmentUpdateBackendRequest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EnvironmentUpdateBackendRequest.Builder,,EnvironmentUpdateBackendRequest> SdkBuilder<EnvironmentUpdateBackendRequest.Builder,,EnvironmentUpdateBackendRequest> SdkPojo
- Enclosing class:
EnvironmentUpdateBackendRequest
-
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.databaseLogConfig(Consumer<DatabaseLogConfigRequest.Builder> databaseLogConfig) The delivery settings for the environment's database logs.databaseLogConfig(DatabaseLogConfigRequest databaseLogConfig) The delivery settings for the environment's database logs.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. If you omit this, the stored settings are unchanged. Specify an empty JSON object ({}) to reset the settings to the defaults.
- Parameters:
auth- The authentication settings for the environment's backend, as a JSON document. If you omit this, the stored settings are unchanged. Specify an empty JSON object ({}) to reset the settings to the defaults.- 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 stored settings are unchanged. If you specify this, it replaces the stored settings, so a member that you omit uses the plan's default. 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 stored settings are unchanged. If you specify this, it replaces the stored settings, so a member that you omit uses the plan's default. 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 EnvironmentUpdateBackendRequest.Builder database(Consumer<DatabaseConfigRequest.Builder> database) The database settings for the environment. If you omit this, the stored settings are unchanged. If you specify this, it replaces the stored settings, so a member that you omit uses the plan's default. 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:
-
databaseLogConfig
EnvironmentUpdateBackendRequest.Builder databaseLogConfig(DatabaseLogConfigRequest databaseLogConfig) The delivery settings for the environment's database logs. If you omit this, the stored settings are unchanged. You can specify this only when the app has a backend, unless the request only turns off delivery destinations.
- Parameters:
databaseLogConfig- The delivery settings for the environment's database logs. If you omit this, the stored settings are unchanged. You can specify this only when the app has a backend, unless the request only turns off delivery destinations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseLogConfig
default EnvironmentUpdateBackendRequest.Builder databaseLogConfig(Consumer<DatabaseLogConfigRequest.Builder> databaseLogConfig) The delivery settings for the environment's database logs. If you omit this, the stored settings are unchanged. You can specify this only when the app has a backend, unless the request only turns off delivery destinations.
This is a convenience method that creates an instance of theDatabaseLogConfigRequest.Builderavoiding the need to create one manually viaDatabaseLogConfigRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todatabaseLogConfig(DatabaseLogConfigRequest).- Parameters:
databaseLogConfig- a consumer that will call methods onDatabaseLogConfigRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-