Interface DataProvider.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DataProvider.Builder,
,DataProvider> SdkBuilder<DataProvider.Builder,
,DataProvider> SdkPojo
- Enclosing class:
DataProvider
-
Method Summary
Modifier and TypeMethodDescriptiondataProviderArn
(String dataProviderArn) The Amazon Resource Name (ARN) string that uniquely identifies the data provider.dataProviderCreationTime
(Instant dataProviderCreationTime) The time the data provider was created.dataProviderName
(String dataProviderName) The name of the data provider.description
(String description) A description of the data provider.The type of database engine for the data provider.default DataProvider.Builder
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.utils.builder.CopyableBuilder
copy
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
-
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.
-
dataProviderArn
The Amazon Resource Name (ARN) string that uniquely identifies the data provider.
- Parameters:
dataProviderArn
- The Amazon Resource Name (ARN) string that uniquely identifies the data provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataProviderCreationTime
The time the data provider was created.
- Parameters:
dataProviderCreationTime
- The time the data provider was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the data provider. Descriptions can have up to 31 characters. A description can contain only ASCII letters, digits, and hyphens ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter.
- Parameters:
description
- A description of the data provider. Descriptions can have up to 31 characters. A description can contain only ASCII letters, digits, and hyphens ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter.- 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"
,"sqlserver"
,redshift
,mariadb
,mongodb
, anddocdb
. 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"
,"sqlserver"
,redshift
,mariadb
,mongodb
, anddocdb
. 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.
-
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:
-