@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDataSourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateDataSourceRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDataSourceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApiId()
The API ID for the GraphQL API for the
DataSource . |
String |
getDescription()
A description of the
DataSource . |
DynamodbDataSourceConfig |
getDynamodbConfig()
Amazon DynamoDB settings.
|
ElasticsearchDataSourceConfig |
getElasticsearchConfig()
Amazon Elasticsearch Service settings.
|
HttpDataSourceConfig |
getHttpConfig()
HTTP endpoint settings.
|
LambdaDataSourceConfig |
getLambdaConfig()
AWS Lambda settings.
|
String |
getName()
A user-supplied name for the
DataSource . |
RelationalDatabaseDataSourceConfig |
getRelationalDatabaseConfig()
Relational database settings.
|
String |
getServiceRoleArn()
The AWS IAM service role ARN for the data source.
|
String |
getType()
The type of the
DataSource . |
int |
hashCode() |
void |
setApiId(String apiId)
The API ID for the GraphQL API for the
DataSource . |
void |
setDescription(String description)
A description of the
DataSource . |
void |
setDynamodbConfig(DynamodbDataSourceConfig dynamodbConfig)
Amazon DynamoDB settings.
|
void |
setElasticsearchConfig(ElasticsearchDataSourceConfig elasticsearchConfig)
Amazon Elasticsearch Service settings.
|
void |
setHttpConfig(HttpDataSourceConfig httpConfig)
HTTP endpoint settings.
|
void |
setLambdaConfig(LambdaDataSourceConfig lambdaConfig)
AWS Lambda settings.
|
void |
setName(String name)
A user-supplied name for the
DataSource . |
void |
setRelationalDatabaseConfig(RelationalDatabaseDataSourceConfig relationalDatabaseConfig)
Relational database settings.
|
void |
setServiceRoleArn(String serviceRoleArn)
The AWS IAM service role ARN for the data source.
|
void |
setType(String type)
The type of the
DataSource . |
String |
toString()
Returns a string representation of this object.
|
CreateDataSourceRequest |
withApiId(String apiId)
The API ID for the GraphQL API for the
DataSource . |
CreateDataSourceRequest |
withDescription(String description)
A description of the
DataSource . |
CreateDataSourceRequest |
withDynamodbConfig(DynamodbDataSourceConfig dynamodbConfig)
Amazon DynamoDB settings.
|
CreateDataSourceRequest |
withElasticsearchConfig(ElasticsearchDataSourceConfig elasticsearchConfig)
Amazon Elasticsearch Service settings.
|
CreateDataSourceRequest |
withHttpConfig(HttpDataSourceConfig httpConfig)
HTTP endpoint settings.
|
CreateDataSourceRequest |
withLambdaConfig(LambdaDataSourceConfig lambdaConfig)
AWS Lambda settings.
|
CreateDataSourceRequest |
withName(String name)
A user-supplied name for the
DataSource . |
CreateDataSourceRequest |
withRelationalDatabaseConfig(RelationalDatabaseDataSourceConfig relationalDatabaseConfig)
Relational database settings.
|
CreateDataSourceRequest |
withServiceRoleArn(String serviceRoleArn)
The AWS IAM service role ARN for the data source.
|
CreateDataSourceRequest |
withType(DataSourceType type)
The type of the
DataSource . |
CreateDataSourceRequest |
withType(String type)
The type of the
DataSource . |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setApiId(String apiId)
The API ID for the GraphQL API for the DataSource
.
apiId
- The API ID for the GraphQL API for the DataSource
.public String getApiId()
The API ID for the GraphQL API for the DataSource
.
DataSource
.public CreateDataSourceRequest withApiId(String apiId)
The API ID for the GraphQL API for the DataSource
.
apiId
- The API ID for the GraphQL API for the DataSource
.public void setName(String name)
A user-supplied name for the DataSource
.
name
- A user-supplied name for the DataSource
.public String getName()
A user-supplied name for the DataSource
.
DataSource
.public CreateDataSourceRequest withName(String name)
A user-supplied name for the DataSource
.
name
- A user-supplied name for the DataSource
.public void setDescription(String description)
A description of the DataSource
.
description
- A description of the DataSource
.public String getDescription()
A description of the DataSource
.
DataSource
.public CreateDataSourceRequest withDescription(String description)
A description of the DataSource
.
description
- A description of the DataSource
.public void setType(String type)
The type of the DataSource
.
type
- The type of the DataSource
.DataSourceType
public String getType()
The type of the DataSource
.
DataSource
.DataSourceType
public CreateDataSourceRequest withType(String type)
The type of the DataSource
.
type
- The type of the DataSource
.DataSourceType
public CreateDataSourceRequest withType(DataSourceType type)
The type of the DataSource
.
type
- The type of the DataSource
.DataSourceType
public void setServiceRoleArn(String serviceRoleArn)
The AWS IAM service role ARN for the data source. The system assumes this role when accessing the data source.
serviceRoleArn
- The AWS IAM service role ARN for the data source. The system assumes this role when accessing the data
source.public String getServiceRoleArn()
The AWS IAM service role ARN for the data source. The system assumes this role when accessing the data source.
public CreateDataSourceRequest withServiceRoleArn(String serviceRoleArn)
The AWS IAM service role ARN for the data source. The system assumes this role when accessing the data source.
serviceRoleArn
- The AWS IAM service role ARN for the data source. The system assumes this role when accessing the data
source.public void setDynamodbConfig(DynamodbDataSourceConfig dynamodbConfig)
Amazon DynamoDB settings.
dynamodbConfig
- Amazon DynamoDB settings.public DynamodbDataSourceConfig getDynamodbConfig()
Amazon DynamoDB settings.
public CreateDataSourceRequest withDynamodbConfig(DynamodbDataSourceConfig dynamodbConfig)
Amazon DynamoDB settings.
dynamodbConfig
- Amazon DynamoDB settings.public void setLambdaConfig(LambdaDataSourceConfig lambdaConfig)
AWS Lambda settings.
lambdaConfig
- AWS Lambda settings.public LambdaDataSourceConfig getLambdaConfig()
AWS Lambda settings.
public CreateDataSourceRequest withLambdaConfig(LambdaDataSourceConfig lambdaConfig)
AWS Lambda settings.
lambdaConfig
- AWS Lambda settings.public void setElasticsearchConfig(ElasticsearchDataSourceConfig elasticsearchConfig)
Amazon Elasticsearch Service settings.
elasticsearchConfig
- Amazon Elasticsearch Service settings.public ElasticsearchDataSourceConfig getElasticsearchConfig()
Amazon Elasticsearch Service settings.
public CreateDataSourceRequest withElasticsearchConfig(ElasticsearchDataSourceConfig elasticsearchConfig)
Amazon Elasticsearch Service settings.
elasticsearchConfig
- Amazon Elasticsearch Service settings.public void setHttpConfig(HttpDataSourceConfig httpConfig)
HTTP endpoint settings.
httpConfig
- HTTP endpoint settings.public HttpDataSourceConfig getHttpConfig()
HTTP endpoint settings.
public CreateDataSourceRequest withHttpConfig(HttpDataSourceConfig httpConfig)
HTTP endpoint settings.
httpConfig
- HTTP endpoint settings.public void setRelationalDatabaseConfig(RelationalDatabaseDataSourceConfig relationalDatabaseConfig)
Relational database settings.
relationalDatabaseConfig
- Relational database settings.public RelationalDatabaseDataSourceConfig getRelationalDatabaseConfig()
Relational database settings.
public CreateDataSourceRequest withRelationalDatabaseConfig(RelationalDatabaseDataSourceConfig relationalDatabaseConfig)
Relational database settings.
relationalDatabaseConfig
- Relational database settings.public String toString()
toString
in class Object
Object.toString()
public CreateDataSourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.