@Generated(value="software.amazon.awssdk:codegen") public final class CreateDataSourceRequest extends AppSyncRequest implements ToCopyableBuilder<CreateDataSourceRequest.Builder,CreateDataSourceRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateDataSourceRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
apiId()
The API ID for the GraphQL API for the
DataSource. |
static CreateDataSourceRequest.Builder |
builder() |
String |
description()
A description of the
DataSource. |
DynamodbDataSourceConfig |
dynamodbConfig()
Amazon DynamoDB settings.
|
ElasticsearchDataSourceConfig |
elasticsearchConfig()
Amazon OpenSearch Service settings.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
HttpDataSourceConfig |
httpConfig()
HTTP endpoint settings.
|
LambdaDataSourceConfig |
lambdaConfig()
Lambda settings.
|
String |
name()
A user-supplied name for the
DataSource. |
OpenSearchServiceDataSourceConfig |
openSearchServiceConfig()
Amazon OpenSearch Service settings.
|
RelationalDatabaseDataSourceConfig |
relationalDatabaseConfig()
Relational database settings.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateDataSourceRequest.Builder> |
serializableBuilderClass() |
String |
serviceRoleArn()
The Identity and Access Management (IAM) service role Amazon Resource Name (ARN) for the data source.
|
CreateDataSourceRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
DataSourceType |
type()
The type of the
DataSource. |
String |
typeAsString()
The type of the
DataSource. |
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String apiId()
The API ID for the GraphQL API for the DataSource.
DataSource.public final String name()
A user-supplied name for the DataSource.
DataSource.public final String description()
A description of the DataSource.
DataSource.public final DataSourceType type()
The type of the DataSource.
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().
DataSource.DataSourceTypepublic final String typeAsString()
The type of the DataSource.
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().
DataSource.DataSourceTypepublic final String serviceRoleArn()
The Identity and Access Management (IAM) service role Amazon Resource Name (ARN) for the data source. The system assumes this role when accessing the data source.
public final DynamodbDataSourceConfig dynamodbConfig()
Amazon DynamoDB settings.
public final LambdaDataSourceConfig lambdaConfig()
Lambda settings.
public final ElasticsearchDataSourceConfig elasticsearchConfig()
Amazon OpenSearch Service settings.
As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. For new data sources, use CreateDataSourceRequest$openSearchServiceConfig to create an OpenSearch data source.
As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. For new data sources, use CreateDataSourceRequest$openSearchServiceConfig to create an OpenSearch data source.
public final OpenSearchServiceDataSourceConfig openSearchServiceConfig()
Amazon OpenSearch Service settings.
public final HttpDataSourceConfig httpConfig()
HTTP endpoint settings.
public final RelationalDatabaseDataSourceConfig relationalDatabaseConfig()
Relational database settings.
public CreateDataSourceRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateDataSourceRequest.Builder,CreateDataSourceRequest>toBuilder in class AppSyncRequestpublic static CreateDataSourceRequest.Builder builder()
public static Class<? extends CreateDataSourceRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.