@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateDataSourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateDataSourceRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateDataSourceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApiId()
The API ID.
|
String |
getDescription()
The new description for the data source.
|
DynamodbDataSourceConfig |
getDynamodbConfig()
The new DynamoDB configuration.
|
ElasticsearchDataSourceConfig |
getElasticsearchConfig()
The new Elasticsearch configuration.
|
LambdaDataSourceConfig |
getLambdaConfig()
The new Lambda configuration.
|
String |
getName()
The new name for the data source.
|
String |
getServiceRoleArn()
The new service role ARN for the data source.
|
String |
getType()
The new data source type.
|
int |
hashCode() |
void |
setApiId(String apiId)
The API ID.
|
void |
setDescription(String description)
The new description for the data source.
|
void |
setDynamodbConfig(DynamodbDataSourceConfig dynamodbConfig)
The new DynamoDB configuration.
|
void |
setElasticsearchConfig(ElasticsearchDataSourceConfig elasticsearchConfig)
The new Elasticsearch configuration.
|
void |
setLambdaConfig(LambdaDataSourceConfig lambdaConfig)
The new Lambda configuration.
|
void |
setName(String name)
The new name for the data source.
|
void |
setServiceRoleArn(String serviceRoleArn)
The new service role ARN for the data source.
|
void |
setType(String type)
The new data source type.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateDataSourceRequest |
withApiId(String apiId)
The API ID.
|
UpdateDataSourceRequest |
withDescription(String description)
The new description for the data source.
|
UpdateDataSourceRequest |
withDynamodbConfig(DynamodbDataSourceConfig dynamodbConfig)
The new DynamoDB configuration.
|
UpdateDataSourceRequest |
withElasticsearchConfig(ElasticsearchDataSourceConfig elasticsearchConfig)
The new Elasticsearch configuration.
|
UpdateDataSourceRequest |
withLambdaConfig(LambdaDataSourceConfig lambdaConfig)
The new Lambda configuration.
|
UpdateDataSourceRequest |
withName(String name)
The new name for the data source.
|
UpdateDataSourceRequest |
withServiceRoleArn(String serviceRoleArn)
The new service role ARN for the data source.
|
UpdateDataSourceRequest |
withType(DataSourceType type)
The new data source type.
|
UpdateDataSourceRequest |
withType(String type)
The new data source type.
|
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.
apiId
- The API ID.public String getApiId()
The API ID.
public UpdateDataSourceRequest withApiId(String apiId)
The API ID.
apiId
- The API ID.public void setName(String name)
The new name for the data source.
name
- The new name for the data source.public String getName()
The new name for the data source.
public UpdateDataSourceRequest withName(String name)
The new name for the data source.
name
- The new name for the data source.public void setDescription(String description)
The new description for the data source.
description
- The new description for the data source.public String getDescription()
The new description for the data source.
public UpdateDataSourceRequest withDescription(String description)
The new description for the data source.
description
- The new description for the data source.public void setType(String type)
The new data source type.
type
- The new data source type.DataSourceType
public String getType()
The new data source type.
DataSourceType
public UpdateDataSourceRequest withType(String type)
The new data source type.
type
- The new data source type.DataSourceType
public UpdateDataSourceRequest withType(DataSourceType type)
The new data source type.
type
- The new data source type.DataSourceType
public void setServiceRoleArn(String serviceRoleArn)
The new service role ARN for the data source.
serviceRoleArn
- The new service role ARN for the data source.public String getServiceRoleArn()
The new service role ARN for the data source.
public UpdateDataSourceRequest withServiceRoleArn(String serviceRoleArn)
The new service role ARN for the data source.
serviceRoleArn
- The new service role ARN for the data source.public void setDynamodbConfig(DynamodbDataSourceConfig dynamodbConfig)
The new DynamoDB configuration.
dynamodbConfig
- The new DynamoDB configuration.public DynamodbDataSourceConfig getDynamodbConfig()
The new DynamoDB configuration.
public UpdateDataSourceRequest withDynamodbConfig(DynamodbDataSourceConfig dynamodbConfig)
The new DynamoDB configuration.
dynamodbConfig
- The new DynamoDB configuration.public void setLambdaConfig(LambdaDataSourceConfig lambdaConfig)
The new Lambda configuration.
lambdaConfig
- The new Lambda configuration.public LambdaDataSourceConfig getLambdaConfig()
The new Lambda configuration.
public UpdateDataSourceRequest withLambdaConfig(LambdaDataSourceConfig lambdaConfig)
The new Lambda configuration.
lambdaConfig
- The new Lambda configuration.public void setElasticsearchConfig(ElasticsearchDataSourceConfig elasticsearchConfig)
The new Elasticsearch configuration.
elasticsearchConfig
- The new Elasticsearch configuration.public ElasticsearchDataSourceConfig getElasticsearchConfig()
The new Elasticsearch configuration.
public UpdateDataSourceRequest withElasticsearchConfig(ElasticsearchDataSourceConfig elasticsearchConfig)
The new Elasticsearch configuration.
elasticsearchConfig
- The new Elasticsearch configuration.public String toString()
toString
in class Object
Object.toString()
public UpdateDataSourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.