@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()
DynamoDB settings.
|
ElasticsearchDataSourceConfig |
getElasticsearchConfig()
Amazon Elasticsearch settings.
|
LambdaDataSourceConfig |
getLambdaConfig()
AWS Lambda settings.
|
String |
getName()
A user-supplied name for the
DataSource . |
String |
getServiceRoleArn()
The 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)
DynamoDB settings.
|
void |
setElasticsearchConfig(ElasticsearchDataSourceConfig elasticsearchConfig)
Amazon Elasticsearch settings.
|
void |
setLambdaConfig(LambdaDataSourceConfig lambdaConfig)
AWS Lambda settings.
|
void |
setName(String name)
A user-supplied name for the
DataSource . |
void |
setServiceRoleArn(String serviceRoleArn)
The 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; useful for testing and debugging.
|
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)
DynamoDB settings.
|
CreateDataSourceRequest |
withElasticsearchConfig(ElasticsearchDataSourceConfig elasticsearchConfig)
Amazon Elasticsearch settings.
|
CreateDataSourceRequest |
withLambdaConfig(LambdaDataSourceConfig lambdaConfig)
AWS Lambda settings.
|
CreateDataSourceRequest |
withName(String name)
A user-supplied name for the
DataSource . |
CreateDataSourceRequest |
withServiceRoleArn(String serviceRoleArn)
The 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 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 CreateDataSourceRequest 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 CreateDataSourceRequest withDynamodbConfig(DynamodbDataSourceConfig dynamodbConfig)
DynamoDB settings.
dynamodbConfig
- 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 settings.
elasticsearchConfig
- Amazon Elasticsearch settings.public ElasticsearchDataSourceConfig getElasticsearchConfig()
Amazon Elasticsearch settings.
public CreateDataSourceRequest withElasticsearchConfig(ElasticsearchDataSourceConfig elasticsearchConfig)
Amazon Elasticsearch settings.
elasticsearchConfig
- Amazon Elasticsearch 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.