@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataSource extends Object implements Serializable, Cloneable, StructuredPojo
Describes a data source.
Constructor and Description |
---|
DataSource() |
Modifier and Type | Method and Description |
---|---|
DataSource |
clone() |
boolean |
equals(Object obj) |
String |
getDataSourceArn()
The data source ARN.
|
String |
getDescription()
The description of the data source.
|
DynamodbDataSourceConfig |
getDynamodbConfig()
DynamoDB settings.
|
ElasticsearchDataSourceConfig |
getElasticsearchConfig()
Amazon Elasticsearch settings.
|
LambdaDataSourceConfig |
getLambdaConfig()
Lambda settings.
|
String |
getName()
The name of the data source.
|
String |
getServiceRoleArn()
The IAM service role ARN for the data source.
|
String |
getType()
The type of the data source.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDataSourceArn(String dataSourceArn)
The data source ARN.
|
void |
setDescription(String description)
The description of the data source.
|
void |
setDynamodbConfig(DynamodbDataSourceConfig dynamodbConfig)
DynamoDB settings.
|
void |
setElasticsearchConfig(ElasticsearchDataSourceConfig elasticsearchConfig)
Amazon Elasticsearch settings.
|
void |
setLambdaConfig(LambdaDataSourceConfig lambdaConfig)
Lambda settings.
|
void |
setName(String name)
The name of the data source.
|
void |
setServiceRoleArn(String serviceRoleArn)
The IAM service role ARN for the data source.
|
void |
setType(String type)
The type of the data source.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DataSource |
withDataSourceArn(String dataSourceArn)
The data source ARN.
|
DataSource |
withDescription(String description)
The description of the data source.
|
DataSource |
withDynamodbConfig(DynamodbDataSourceConfig dynamodbConfig)
DynamoDB settings.
|
DataSource |
withElasticsearchConfig(ElasticsearchDataSourceConfig elasticsearchConfig)
Amazon Elasticsearch settings.
|
DataSource |
withLambdaConfig(LambdaDataSourceConfig lambdaConfig)
Lambda settings.
|
DataSource |
withName(String name)
The name of the data source.
|
DataSource |
withServiceRoleArn(String serviceRoleArn)
The IAM service role ARN for the data source.
|
DataSource |
withType(DataSourceType type)
The type of the data source.
|
DataSource |
withType(String type)
The type of the data source.
|
public void setDataSourceArn(String dataSourceArn)
The data source ARN.
dataSourceArn
- The data source ARN.public String getDataSourceArn()
The data source ARN.
public DataSource withDataSourceArn(String dataSourceArn)
The data source ARN.
dataSourceArn
- The data source ARN.public void setName(String name)
The name of the data source.
name
- The name of the data source.public String getName()
The name of the data source.
public DataSource withName(String name)
The name of the data source.
name
- The name of the data source.public void setDescription(String description)
The description of the data source.
description
- The description of the data source.public String getDescription()
The description of the data source.
public DataSource withDescription(String description)
The description of the data source.
description
- The description of the data source.public void setType(String type)
The type of the data source.
type
- The type of the data source.DataSourceType
public String getType()
The type of the data source.
DataSourceType
public DataSource withType(String type)
The type of the data source.
type
- The type of the data source.DataSourceType
public DataSource withType(DataSourceType type)
The type of the data source.
type
- The type of the data source.DataSourceType
public void setServiceRoleArn(String serviceRoleArn)
The IAM service role ARN for the data source. The system assumes this role when accessing the data source.
serviceRoleArn
- The IAM service role ARN for the data source. The system assumes this role when accessing the data source.public String getServiceRoleArn()
The IAM service role ARN for the data source. The system assumes this role when accessing the data source.
public DataSource withServiceRoleArn(String serviceRoleArn)
The IAM service role ARN for the data source. The system assumes this role when accessing the data source.
serviceRoleArn
- The IAM service role ARN for the data source. The system assumes this role when accessing the data source.public void setDynamodbConfig(DynamodbDataSourceConfig dynamodbConfig)
DynamoDB settings.
dynamodbConfig
- DynamoDB settings.public DynamodbDataSourceConfig getDynamodbConfig()
DynamoDB settings.
public DataSource withDynamodbConfig(DynamodbDataSourceConfig dynamodbConfig)
DynamoDB settings.
dynamodbConfig
- DynamoDB settings.public void setLambdaConfig(LambdaDataSourceConfig lambdaConfig)
Lambda settings.
lambdaConfig
- Lambda settings.public LambdaDataSourceConfig getLambdaConfig()
Lambda settings.
public DataSource withLambdaConfig(LambdaDataSourceConfig lambdaConfig)
Lambda settings.
lambdaConfig
- Lambda settings.public void setElasticsearchConfig(ElasticsearchDataSourceConfig elasticsearchConfig)
Amazon Elasticsearch settings.
elasticsearchConfig
- Amazon Elasticsearch settings.public ElasticsearchDataSourceConfig getElasticsearchConfig()
Amazon Elasticsearch settings.
public DataSource withElasticsearchConfig(ElasticsearchDataSourceConfig elasticsearchConfig)
Amazon Elasticsearch settings.
elasticsearchConfig
- Amazon Elasticsearch settings.public String toString()
toString
in class Object
Object.toString()
public DataSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.