Interface AthenaSourceConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AthenaSourceConfig.Builder,
,AthenaSourceConfig> SdkBuilder<AthenaSourceConfig.Builder,
,AthenaSourceConfig> SdkPojo
- Enclosing class:
AthenaSourceConfig
@Mutable
@NotThreadSafe
public static interface AthenaSourceConfig.Builder
extends SdkPojo, CopyableBuilder<AthenaSourceConfig.Builder,AthenaSourceConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AthenaSourceConfig.Builder
backTestConfiguration
(Consumer<BackTestConfiguration.Builder> backTestConfiguration) Settings for backtest mode.backTestConfiguration
(BackTestConfiguration backTestConfiguration) Settings for backtest mode.databaseName
(String databaseName) The database's name.dataCatalog
(String dataCatalog) The database's data catalog.An IAM role that gives Amazon Lookout for Metrics permission to access the data.s3ResultsPath
(String s3ResultsPath) The database's results path.The database's table name.workGroupName
(String workGroupName) The database's work group name.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, sdkFieldNameToField, sdkFields
-
Method Details
-
roleArn
An IAM role that gives Amazon Lookout for Metrics permission to access the data.
- Parameters:
roleArn
- An IAM role that gives Amazon Lookout for Metrics permission to access the data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseName
The database's name.
- Parameters:
databaseName
- The database's name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataCatalog
The database's data catalog.
- Parameters:
dataCatalog
- The database's data catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableName
The database's table name.
- Parameters:
tableName
- The database's table name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workGroupName
The database's work group name.
- Parameters:
workGroupName
- The database's work group name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3ResultsPath
The database's results path.
- Parameters:
s3ResultsPath
- The database's results path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backTestConfiguration
Settings for backtest mode.
- Parameters:
backTestConfiguration
- Settings for backtest mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backTestConfiguration
default AthenaSourceConfig.Builder backTestConfiguration(Consumer<BackTestConfiguration.Builder> backTestConfiguration) Settings for backtest mode.
This is a convenience method that creates an instance of theBackTestConfiguration.Builder
avoiding the need to create one manually viaBackTestConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobackTestConfiguration(BackTestConfiguration)
.- Parameters:
backTestConfiguration
- a consumer that will call methods onBackTestConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-