Interface ModifyDataProviderRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ModifyDataProviderRequest.Builder,
,ModifyDataProviderRequest> DatabaseMigrationRequest.Builder
,SdkBuilder<ModifyDataProviderRequest.Builder,
,ModifyDataProviderRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ModifyDataProviderRequest
-
Method Summary
Modifier and TypeMethodDescriptiondataProviderIdentifier
(String dataProviderIdentifier) The identifier of the data provider.dataProviderName
(String dataProviderName) The name of the data provider.description
(String description) A user-friendly description of the data provider.The type of database engine for the data provider.exactSettings
(Boolean exactSettings) If this attribute is Y, the current call toModifyDataProvider
replaces all existing data provider settings with the exact settings that you specify in this call.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.settings
(Consumer<DataProviderSettings.Builder> settings) The settings in JSON format for a data provider.settings
(DataProviderSettings settings) The settings in JSON format for a data provider.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.databasemigration.model.DatabaseMigrationRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
dataProviderIdentifier
The identifier of the data provider. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.
- Parameters:
dataProviderIdentifier
- The identifier of the data provider. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataProviderName
The name of the data provider.
- Parameters:
dataProviderName
- The name of the data provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A user-friendly description of the data provider.
- Parameters:
description
- A user-friendly description of the data provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engine
The type of database engine for the data provider. Valid values include
"aurora"
,"aurora_postgresql"
,"mysql"
,"oracle"
,"postgres"
, and"sqlserver"
. A value of"aurora"
represents Amazon Aurora MySQL-Compatible Edition.- Parameters:
engine
- The type of database engine for the data provider. Valid values include"aurora"
,"aurora_postgresql"
,"mysql"
,"oracle"
,"postgres"
, and"sqlserver"
. A value of"aurora"
represents Amazon Aurora MySQL-Compatible Edition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exactSettings
If this attribute is Y, the current call to
ModifyDataProvider
replaces all existing data provider settings with the exact settings that you specify in this call. If this attribute is N, the current call toModifyDataProvider
does two things:-
It replaces any data provider settings that already exist with new values, for settings with the same names.
-
It creates new data provider settings that you specify in the call, for settings with different names.
- Parameters:
exactSettings
- If this attribute is Y, the current call toModifyDataProvider
replaces all existing data provider settings with the exact settings that you specify in this call. If this attribute is N, the current call toModifyDataProvider
does two things:-
It replaces any data provider settings that already exist with new values, for settings with the same names.
-
It creates new data provider settings that you specify in the call, for settings with different names.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
settings
The settings in JSON format for a data provider.
- Parameters:
settings
- The settings in JSON format for a data provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
settings
The settings in JSON format for a data provider.
This is a convenience method that creates an instance of theDataProviderSettings.Builder
avoiding the need to create one manually viaDataProviderSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosettings(DataProviderSettings)
.- Parameters:
settings
- a consumer that will call methods onDataProviderSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ModifyDataProviderRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ModifyDataProviderRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-