@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AthenaSourceConfig extends Object implements Serializable, Cloneable, StructuredPojo
Details about an Amazon Athena datasource.
Constructor and Description |
---|
AthenaSourceConfig() |
Modifier and Type | Method and Description |
---|---|
AthenaSourceConfig |
clone() |
boolean |
equals(Object obj) |
BackTestConfiguration |
getBackTestConfiguration()
Settings for backtest mode.
|
String |
getDatabaseName()
The database's name.
|
String |
getDataCatalog()
The database's data catalog.
|
String |
getRoleArn()
An IAM role that gives Amazon Lookout for Metrics permission to access the data.
|
String |
getS3ResultsPath()
The database's results path.
|
String |
getTableName()
The database's table name.
|
String |
getWorkGroupName()
The database's work group name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBackTestConfiguration(BackTestConfiguration backTestConfiguration)
Settings for backtest mode.
|
void |
setDatabaseName(String databaseName)
The database's name.
|
void |
setDataCatalog(String dataCatalog)
The database's data catalog.
|
void |
setRoleArn(String roleArn)
An IAM role that gives Amazon Lookout for Metrics permission to access the data.
|
void |
setS3ResultsPath(String s3ResultsPath)
The database's results path.
|
void |
setTableName(String tableName)
The database's table name.
|
void |
setWorkGroupName(String workGroupName)
The database's work group name.
|
String |
toString()
Returns a string representation of this object.
|
AthenaSourceConfig |
withBackTestConfiguration(BackTestConfiguration backTestConfiguration)
Settings for backtest mode.
|
AthenaSourceConfig |
withDatabaseName(String databaseName)
The database's name.
|
AthenaSourceConfig |
withDataCatalog(String dataCatalog)
The database's data catalog.
|
AthenaSourceConfig |
withRoleArn(String roleArn)
An IAM role that gives Amazon Lookout for Metrics permission to access the data.
|
AthenaSourceConfig |
withS3ResultsPath(String s3ResultsPath)
The database's results path.
|
AthenaSourceConfig |
withTableName(String tableName)
The database's table name.
|
AthenaSourceConfig |
withWorkGroupName(String workGroupName)
The database's work group name.
|
public void setRoleArn(String roleArn)
An IAM role that gives Amazon Lookout for Metrics permission to access the data.
roleArn
- An IAM role that gives Amazon Lookout for Metrics permission to access the data.public String getRoleArn()
An IAM role that gives Amazon Lookout for Metrics permission to access the data.
public AthenaSourceConfig withRoleArn(String roleArn)
An IAM role that gives Amazon Lookout for Metrics permission to access the data.
roleArn
- An IAM role that gives Amazon Lookout for Metrics permission to access the data.public void setDatabaseName(String databaseName)
The database's name.
databaseName
- The database's name.public String getDatabaseName()
The database's name.
public AthenaSourceConfig withDatabaseName(String databaseName)
The database's name.
databaseName
- The database's name.public void setDataCatalog(String dataCatalog)
The database's data catalog.
dataCatalog
- The database's data catalog.public String getDataCatalog()
The database's data catalog.
public AthenaSourceConfig withDataCatalog(String dataCatalog)
The database's data catalog.
dataCatalog
- The database's data catalog.public void setTableName(String tableName)
The database's table name.
tableName
- The database's table name.public String getTableName()
The database's table name.
public AthenaSourceConfig withTableName(String tableName)
The database's table name.
tableName
- The database's table name.public void setWorkGroupName(String workGroupName)
The database's work group name.
workGroupName
- The database's work group name.public String getWorkGroupName()
The database's work group name.
public AthenaSourceConfig withWorkGroupName(String workGroupName)
The database's work group name.
workGroupName
- The database's work group name.public void setS3ResultsPath(String s3ResultsPath)
The database's results path.
s3ResultsPath
- The database's results path.public String getS3ResultsPath()
The database's results path.
public AthenaSourceConfig withS3ResultsPath(String s3ResultsPath)
The database's results path.
s3ResultsPath
- The database's results path.public void setBackTestConfiguration(BackTestConfiguration backTestConfiguration)
Settings for backtest mode.
backTestConfiguration
- Settings for backtest mode.public BackTestConfiguration getBackTestConfiguration()
Settings for backtest mode.
public AthenaSourceConfig withBackTestConfiguration(BackTestConfiguration backTestConfiguration)
Settings for backtest mode.
backTestConfiguration
- Settings for backtest mode.public String toString()
toString
in class Object
Object.toString()
public AthenaSourceConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.