@Generated(value="software.amazon.awssdk:codegen") public class DataSource extends Object implements StructuredPojo, ToCopyableBuilder<DataSource.Builder,DataSource>
Describes a data source.
Modifier and Type | Class and Description |
---|---|
static interface |
DataSource.Builder |
Modifier and Type | Method and Description |
---|---|
static DataSource.Builder |
builder() |
String |
dataSourceArn()
The data source ARN.
|
String |
description()
The description of the data source.
|
DynamodbDataSourceConfig |
dynamodbConfig()
DynamoDB settings.
|
ElasticsearchDataSourceConfig |
elasticsearchConfig()
Amazon Elasticsearch settings.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LambdaDataSourceConfig |
lambdaConfig()
Lambda settings.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
The name of the data source.
|
static Class<? extends DataSource.Builder> |
serializableBuilderClass() |
String |
serviceRoleArn()
The IAM service role ARN for the data source.
|
DataSource.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
DataSourceType |
type()
The type of the data source.
|
String |
typeAsString()
The type of the data source.
|
copy
public String dataSourceArn()
The data source ARN.
public String name()
The name of the data source.
public String description()
The description of the data source.
public DataSourceType type()
The type of the data source.
If the service returns an enum value that is not available in the current SDK version, type
will return
DataSourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
DataSourceType
public String typeAsString()
The type of the data source.
If the service returns an enum value that is not available in the current SDK version, type
will return
DataSourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
DataSourceType
public String serviceRoleArn()
The IAM service role ARN for the data source. The system assumes this role when accessing the data source.
public DynamodbDataSourceConfig dynamodbConfig()
DynamoDB settings.
public LambdaDataSourceConfig lambdaConfig()
Lambda settings.
public ElasticsearchDataSourceConfig elasticsearchConfig()
Amazon Elasticsearch settings.
public DataSource.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DataSource.Builder,DataSource>
public static DataSource.Builder builder()
public static Class<? extends DataSource.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.