@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 Elasticsearch 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()
AWS Lambda settings.
|
String |
name()
A user-supplied name for the
DataSource. |
RelationalDatabaseDataSourceConfig |
relationalDatabaseConfig()
Relational database settings.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateDataSourceRequest.Builder> |
serializableBuilderClass() |
String |
serviceRoleArn()
The AWS IAM service role 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 String apiId()
The API ID for the GraphQL API for the DataSource.
DataSource.public String name()
A user-supplied name for the DataSource.
DataSource.public String description()
A description of the DataSource.
DataSource.public 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 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 String serviceRoleArn()
The AWS IAM service role ARN for the data source. The system assumes this role when accessing the data source.
public DynamodbDataSourceConfig dynamodbConfig()
Amazon DynamoDB settings.
public LambdaDataSourceConfig lambdaConfig()
AWS Lambda settings.
public ElasticsearchDataSourceConfig elasticsearchConfig()
Amazon Elasticsearch Service settings.
public HttpDataSourceConfig httpConfig()
HTTP endpoint settings.
public 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 int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.