/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.kendra.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CreateDataSourceRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* A name for the data source connector. *
*/ private String name; /** ** The identifier of the index you want to use with the data source connector. *
*/ private String indexId; /** *
* The type of data source repository. For example, SHAREPOINT
.
*
* Configuration information to connect to your data source repository. *
*
* You can't specify the Configuration
parameter when the Type
parameter is set to
* CUSTOM
. If you do, you receive a ValidationException
exception.
*
* The Configuration
parameter is required for all other data sources.
*
* Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more * information, see Configuring a * VPC. *
*/ private DataSourceVpcConfiguration vpcConfiguration; /** ** A description for the data source connector. *
*/ private String description; /** *
* Sets the frequency for Amazon Kendra to check the documents in your data source repository and update the index.
* If you don't set a schedule Amazon Kendra will not periodically update the index. You can call the
* StartDataSourceSyncJob
API to update the index.
*
* Specify a cron-
format schedule string or an empty string to indicate that the index is updated on
* demand.
*
* You can't specify the Schedule
parameter when the Type
parameter is set to
* CUSTOM
. If you do, you receive a ValidationException
exception.
*
* The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and required resources. * For more information, see IAM access roles * for Amazon Kendra.. *
*
* You can't specify the RoleArn
parameter when the Type
parameter is set to
* CUSTOM
. If you do, you receive a ValidationException
exception.
*
* The RoleArn
parameter is required for all other data sources.
*
* A list of key-value pairs that identify or categorize the data source connector. You can also use tags to help * control access to the data source connector. Tag keys and values can consist of Unicode letters, digits, white * space, and any of the following symbols: _ . : / = + - @. *
*/ private java.util.List
* A token that you provide to identify the request to create a data source connector. Multiple calls to the
* CreateDataSource
API with the same client token will create only one data source connector.
*
* The code for a language. This allows you to support a language for all documents when creating the data source * connector. English is supported by default. For more information on supported languages, including their codes, * see Adding documents in languages * other than English. *
*/ private String languageCode; /** ** Configuration information for altering document metadata and content during the document ingestion process. *
** For more information on how to create, modify and delete document metadata, or make other content alterations * when you ingest documents into Amazon Kendra, see Customizing document metadata * during the ingestion process. *
*/ private CustomDocumentEnrichmentConfiguration customDocumentEnrichmentConfiguration; /** ** A name for the data source connector. *
* * @param name * A name for the data source connector. */ public void setName(String name) { this.name = name; } /** ** A name for the data source connector. *
* * @return A name for the data source connector. */ public String getName() { return this.name; } /** ** A name for the data source connector. *
* * @param name * A name for the data source connector. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDataSourceRequest withName(String name) { setName(name); return this; } /** ** The identifier of the index you want to use with the data source connector. *
* * @param indexId * The identifier of the index you want to use with the data source connector. */ public void setIndexId(String indexId) { this.indexId = indexId; } /** ** The identifier of the index you want to use with the data source connector. *
* * @return The identifier of the index you want to use with the data source connector. */ public String getIndexId() { return this.indexId; } /** ** The identifier of the index you want to use with the data source connector. *
* * @param indexId * The identifier of the index you want to use with the data source connector. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDataSourceRequest withIndexId(String indexId) { setIndexId(indexId); return this; } /** *
* The type of data source repository. For example, SHAREPOINT
.
*
SHAREPOINT
.
* @see DataSourceType
*/
public void setType(String type) {
this.type = type;
}
/**
*
* The type of data source repository. For example, SHAREPOINT
.
*
SHAREPOINT
.
* @see DataSourceType
*/
public String getType() {
return this.type;
}
/**
*
* The type of data source repository. For example, SHAREPOINT
.
*
SHAREPOINT
.
* @return Returns a reference to this object so that method calls can be chained together.
* @see DataSourceType
*/
public CreateDataSourceRequest withType(String type) {
setType(type);
return this;
}
/**
*
* The type of data source repository. For example, SHAREPOINT
.
*
SHAREPOINT
.
* @return Returns a reference to this object so that method calls can be chained together.
* @see DataSourceType
*/
public CreateDataSourceRequest withType(DataSourceType type) {
this.type = type.toString();
return this;
}
/**
* * Configuration information to connect to your data source repository. *
*
* You can't specify the Configuration
parameter when the Type
parameter is set to
* CUSTOM
. If you do, you receive a ValidationException
exception.
*
* The Configuration
parameter is required for all other data sources.
*
* You can't specify the Configuration
parameter when the Type
parameter is set to
* CUSTOM
. If you do, you receive a ValidationException
exception.
*
* The Configuration
parameter is required for all other data sources.
*/
public void setConfiguration(DataSourceConfiguration configuration) {
this.configuration = configuration;
}
/**
*
* Configuration information to connect to your data source repository. *
*
* You can't specify the Configuration
parameter when the Type
parameter is set to
* CUSTOM
. If you do, you receive a ValidationException
exception.
*
* The Configuration
parameter is required for all other data sources.
*
* You can't specify the Configuration
parameter when the Type
parameter is set to
* CUSTOM
. If you do, you receive a ValidationException
exception.
*
* The Configuration
parameter is required for all other data sources.
*/
public DataSourceConfiguration getConfiguration() {
return this.configuration;
}
/**
*
* Configuration information to connect to your data source repository. *
*
* You can't specify the Configuration
parameter when the Type
parameter is set to
* CUSTOM
. If you do, you receive a ValidationException
exception.
*
* The Configuration
parameter is required for all other data sources.
*
* You can't specify the Configuration
parameter when the Type
parameter is set to
* CUSTOM
. If you do, you receive a ValidationException
exception.
*
* The Configuration
parameter is required for all other data sources.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDataSourceRequest withConfiguration(DataSourceConfiguration configuration) {
setConfiguration(configuration);
return this;
}
/**
*
* Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more * information, see Configuring a * VPC. *
* * @param vpcConfiguration * Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more * information, see Configuring * a VPC. */ public void setVpcConfiguration(DataSourceVpcConfiguration vpcConfiguration) { this.vpcConfiguration = vpcConfiguration; } /** ** Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more * information, see Configuring a * VPC. *
* * @return Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more * information, see Configuring a VPC. */ public DataSourceVpcConfiguration getVpcConfiguration() { return this.vpcConfiguration; } /** ** Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more * information, see Configuring a * VPC. *
* * @param vpcConfiguration * Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more * information, see Configuring * a VPC. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDataSourceRequest withVpcConfiguration(DataSourceVpcConfiguration vpcConfiguration) { setVpcConfiguration(vpcConfiguration); return this; } /** ** A description for the data source connector. *
* * @param description * A description for the data source connector. */ public void setDescription(String description) { this.description = description; } /** ** A description for the data source connector. *
* * @return A description for the data source connector. */ public String getDescription() { return this.description; } /** ** A description for the data source connector. *
* * @param description * A description for the data source connector. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDataSourceRequest withDescription(String description) { setDescription(description); return this; } /** *
* Sets the frequency for Amazon Kendra to check the documents in your data source repository and update the index.
* If you don't set a schedule Amazon Kendra will not periodically update the index. You can call the
* StartDataSourceSyncJob
API to update the index.
*
* Specify a cron-
format schedule string or an empty string to indicate that the index is updated on
* demand.
*
* You can't specify the Schedule
parameter when the Type
parameter is set to
* CUSTOM
. If you do, you receive a ValidationException
exception.
*
StartDataSourceSyncJob
API to update the index.
*
* Specify a cron-
format schedule string or an empty string to indicate that the index is
* updated on demand.
*
* You can't specify the Schedule
parameter when the Type
parameter is set to
* CUSTOM
. If you do, you receive a ValidationException
exception.
*/
public void setSchedule(String schedule) {
this.schedule = schedule;
}
/**
*
* Sets the frequency for Amazon Kendra to check the documents in your data source repository and update the index.
* If you don't set a schedule Amazon Kendra will not periodically update the index. You can call the
* StartDataSourceSyncJob
API to update the index.
*
* Specify a cron-
format schedule string or an empty string to indicate that the index is updated on
* demand.
*
* You can't specify the Schedule
parameter when the Type
parameter is set to
* CUSTOM
. If you do, you receive a ValidationException
exception.
*
StartDataSourceSyncJob
API to update the index.
*
* Specify a cron-
format schedule string or an empty string to indicate that the index is
* updated on demand.
*
* You can't specify the Schedule
parameter when the Type
parameter is set to
* CUSTOM
. If you do, you receive a ValidationException
exception.
*/
public String getSchedule() {
return this.schedule;
}
/**
*
* Sets the frequency for Amazon Kendra to check the documents in your data source repository and update the index.
* If you don't set a schedule Amazon Kendra will not periodically update the index. You can call the
* StartDataSourceSyncJob
API to update the index.
*
* Specify a cron-
format schedule string or an empty string to indicate that the index is updated on
* demand.
*
* You can't specify the Schedule
parameter when the Type
parameter is set to
* CUSTOM
. If you do, you receive a ValidationException
exception.
*
StartDataSourceSyncJob
API to update the index.
*
* Specify a cron-
format schedule string or an empty string to indicate that the index is
* updated on demand.
*
* You can't specify the Schedule
parameter when the Type
parameter is set to
* CUSTOM
. If you do, you receive a ValidationException
exception.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDataSourceRequest withSchedule(String schedule) {
setSchedule(schedule);
return this;
}
/**
*
* The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and required resources. * For more information, see IAM access roles * for Amazon Kendra.. *
*
* You can't specify the RoleArn
parameter when the Type
parameter is set to
* CUSTOM
. If you do, you receive a ValidationException
exception.
*
* The RoleArn
parameter is required for all other data sources.
*
* You can't specify the RoleArn
parameter when the Type
parameter is set to
* CUSTOM
. If you do, you receive a ValidationException
exception.
*
* The RoleArn
parameter is required for all other data sources.
*/
public void setRoleArn(String roleArn) {
this.roleArn = roleArn;
}
/**
*
* The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and required resources. * For more information, see IAM access roles * for Amazon Kendra.. *
*
* You can't specify the RoleArn
parameter when the Type
parameter is set to
* CUSTOM
. If you do, you receive a ValidationException
exception.
*
* The RoleArn
parameter is required for all other data sources.
*
* You can't specify the RoleArn
parameter when the Type
parameter is set to
* CUSTOM
. If you do, you receive a ValidationException
exception.
*
* The RoleArn
parameter is required for all other data sources.
*/
public String getRoleArn() {
return this.roleArn;
}
/**
*
* The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and required resources. * For more information, see IAM access roles * for Amazon Kendra.. *
*
* You can't specify the RoleArn
parameter when the Type
parameter is set to
* CUSTOM
. If you do, you receive a ValidationException
exception.
*
* The RoleArn
parameter is required for all other data sources.
*
* You can't specify the RoleArn
parameter when the Type
parameter is set to
* CUSTOM
. If you do, you receive a ValidationException
exception.
*
* The RoleArn
parameter is required for all other data sources.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDataSourceRequest withRoleArn(String roleArn) {
setRoleArn(roleArn);
return this;
}
/**
*
* A list of key-value pairs that identify or categorize the data source connector. You can also use tags to help * control access to the data source connector. Tag keys and values can consist of Unicode letters, digits, white * space, and any of the following symbols: _ . : / = + - @. *
* * @return A list of key-value pairs that identify or categorize the data source connector. You can also use tags to * help control access to the data source connector. Tag keys and values can consist of Unicode letters, * digits, white space, and any of the following symbols: _ . : / = + - @. */ public java.util.List* A list of key-value pairs that identify or categorize the data source connector. You can also use tags to help * control access to the data source connector. Tag keys and values can consist of Unicode letters, digits, white * space, and any of the following symbols: _ . : / = + - @. *
* * @param tags * A list of key-value pairs that identify or categorize the data source connector. You can also use tags to * help control access to the data source connector. Tag keys and values can consist of Unicode letters, * digits, white space, and any of the following symbols: _ . : / = + - @. */ public void setTags(java.util.Collection* A list of key-value pairs that identify or categorize the data source connector. You can also use tags to help * control access to the data source connector. Tag keys and values can consist of Unicode letters, digits, white * space, and any of the following symbols: _ . : / = + - @. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setTags(java.util.Collection)} or {@link #withTags(java.util.Collection)} if you want to override the * existing values. *
* * @param tags * A list of key-value pairs that identify or categorize the data source connector. You can also use tags to * help control access to the data source connector. Tag keys and values can consist of Unicode letters, * digits, white space, and any of the following symbols: _ . : / = + - @. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDataSourceRequest withTags(Tag... tags) { if (this.tags == null) { setTags(new java.util.ArrayList* A list of key-value pairs that identify or categorize the data source connector. You can also use tags to help * control access to the data source connector. Tag keys and values can consist of Unicode letters, digits, white * space, and any of the following symbols: _ . : / = + - @. *
* * @param tags * A list of key-value pairs that identify or categorize the data source connector. You can also use tags to * help control access to the data source connector. Tag keys and values can consist of Unicode letters, * digits, white space, and any of the following symbols: _ . : / = + - @. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDataSourceRequest withTags(java.util.Collection
* A token that you provide to identify the request to create a data source connector. Multiple calls to the
* CreateDataSource
API with the same client token will create only one data source connector.
*
CreateDataSource
API with the same client token will create only one data source connector.
*/
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
}
/**
*
* A token that you provide to identify the request to create a data source connector. Multiple calls to the
* CreateDataSource
API with the same client token will create only one data source connector.
*
CreateDataSource
API with the same client token will create only one data source connector.
*/
public String getClientToken() {
return this.clientToken;
}
/**
*
* A token that you provide to identify the request to create a data source connector. Multiple calls to the
* CreateDataSource
API with the same client token will create only one data source connector.
*
CreateDataSource
API with the same client token will create only one data source connector.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDataSourceRequest withClientToken(String clientToken) {
setClientToken(clientToken);
return this;
}
/**
* * The code for a language. This allows you to support a language for all documents when creating the data source * connector. English is supported by default. For more information on supported languages, including their codes, * see Adding documents in languages * other than English. *
* * @param languageCode * The code for a language. This allows you to support a language for all documents when creating the data * source connector. English is supported by default. For more information on supported languages, including * their codes, see Adding * documents in languages other than English. */ public void setLanguageCode(String languageCode) { this.languageCode = languageCode; } /** ** The code for a language. This allows you to support a language for all documents when creating the data source * connector. English is supported by default. For more information on supported languages, including their codes, * see Adding documents in languages * other than English. *
* * @return The code for a language. This allows you to support a language for all documents when creating the data * source connector. English is supported by default. For more information on supported languages, including * their codes, see Adding * documents in languages other than English. */ public String getLanguageCode() { return this.languageCode; } /** ** The code for a language. This allows you to support a language for all documents when creating the data source * connector. English is supported by default. For more information on supported languages, including their codes, * see Adding documents in languages * other than English. *
* * @param languageCode * The code for a language. This allows you to support a language for all documents when creating the data * source connector. English is supported by default. For more information on supported languages, including * their codes, see Adding * documents in languages other than English. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDataSourceRequest withLanguageCode(String languageCode) { setLanguageCode(languageCode); return this; } /** ** Configuration information for altering document metadata and content during the document ingestion process. *
** For more information on how to create, modify and delete document metadata, or make other content alterations * when you ingest documents into Amazon Kendra, see Customizing document metadata * during the ingestion process. *
* * @param customDocumentEnrichmentConfiguration * Configuration information for altering document metadata and content during the document ingestion * process. ** For more information on how to create, modify and delete document metadata, or make other content * alterations when you ingest documents into Amazon Kendra, see Customizing document * metadata during the ingestion process. */ public void setCustomDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration customDocumentEnrichmentConfiguration) { this.customDocumentEnrichmentConfiguration = customDocumentEnrichmentConfiguration; } /** *
* Configuration information for altering document metadata and content during the document ingestion process. *
** For more information on how to create, modify and delete document metadata, or make other content alterations * when you ingest documents into Amazon Kendra, see Customizing document metadata * during the ingestion process. *
* * @return Configuration information for altering document metadata and content during the document ingestion * process. ** For more information on how to create, modify and delete document metadata, or make other content * alterations when you ingest documents into Amazon Kendra, see Customizing document * metadata during the ingestion process. */ public CustomDocumentEnrichmentConfiguration getCustomDocumentEnrichmentConfiguration() { return this.customDocumentEnrichmentConfiguration; } /** *
* Configuration information for altering document metadata and content during the document ingestion process. *
** For more information on how to create, modify and delete document metadata, or make other content alterations * when you ingest documents into Amazon Kendra, see Customizing document metadata * during the ingestion process. *
* * @param customDocumentEnrichmentConfiguration * Configuration information for altering document metadata and content during the document ingestion * process. ** For more information on how to create, modify and delete document metadata, or make other content * alterations when you ingest documents into Amazon Kendra, see Customizing document * metadata during the ingestion process. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDataSourceRequest withCustomDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration customDocumentEnrichmentConfiguration) { setCustomDocumentEnrichmentConfiguration(customDocumentEnrichmentConfiguration); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getName() != null) sb.append("Name: ").append(getName()).append(","); if (getIndexId() != null) sb.append("IndexId: ").append(getIndexId()).append(","); if (getType() != null) sb.append("Type: ").append(getType()).append(","); if (getConfiguration() != null) sb.append("Configuration: ").append(getConfiguration()).append(","); if (getVpcConfiguration() != null) sb.append("VpcConfiguration: ").append(getVpcConfiguration()).append(","); if (getDescription() != null) sb.append("Description: ").append(getDescription()).append(","); if (getSchedule() != null) sb.append("Schedule: ").append(getSchedule()).append(","); if (getRoleArn() != null) sb.append("RoleArn: ").append(getRoleArn()).append(","); if (getTags() != null) sb.append("Tags: ").append(getTags()).append(","); if (getClientToken() != null) sb.append("ClientToken: ").append(getClientToken()).append(","); if (getLanguageCode() != null) sb.append("LanguageCode: ").append(getLanguageCode()).append(","); if (getCustomDocumentEnrichmentConfiguration() != null) sb.append("CustomDocumentEnrichmentConfiguration: ").append(getCustomDocumentEnrichmentConfiguration()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof CreateDataSourceRequest == false) return false; CreateDataSourceRequest other = (CreateDataSourceRequest) obj; if (other.getName() == null ^ this.getName() == null) return false; if (other.getName() != null && other.getName().equals(this.getName()) == false) return false; if (other.getIndexId() == null ^ this.getIndexId() == null) return false; if (other.getIndexId() != null && other.getIndexId().equals(this.getIndexId()) == false) return false; if (other.getType() == null ^ this.getType() == null) return false; if (other.getType() != null && other.getType().equals(this.getType()) == false) return false; if (other.getConfiguration() == null ^ this.getConfiguration() == null) return false; if (other.getConfiguration() != null && other.getConfiguration().equals(this.getConfiguration()) == false) return false; if (other.getVpcConfiguration() == null ^ this.getVpcConfiguration() == null) return false; if (other.getVpcConfiguration() != null && other.getVpcConfiguration().equals(this.getVpcConfiguration()) == false) return false; if (other.getDescription() == null ^ this.getDescription() == null) return false; if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false) return false; if (other.getSchedule() == null ^ this.getSchedule() == null) return false; if (other.getSchedule() != null && other.getSchedule().equals(this.getSchedule()) == false) return false; if (other.getRoleArn() == null ^ this.getRoleArn() == null) return false; if (other.getRoleArn() != null && other.getRoleArn().equals(this.getRoleArn()) == false) return false; if (other.getTags() == null ^ this.getTags() == null) return false; if (other.getTags() != null && other.getTags().equals(this.getTags()) == false) return false; if (other.getClientToken() == null ^ this.getClientToken() == null) return false; if (other.getClientToken() != null && other.getClientToken().equals(this.getClientToken()) == false) return false; if (other.getLanguageCode() == null ^ this.getLanguageCode() == null) return false; if (other.getLanguageCode() != null && other.getLanguageCode().equals(this.getLanguageCode()) == false) return false; if (other.getCustomDocumentEnrichmentConfiguration() == null ^ this.getCustomDocumentEnrichmentConfiguration() == null) return false; if (other.getCustomDocumentEnrichmentConfiguration() != null && other.getCustomDocumentEnrichmentConfiguration().equals(this.getCustomDocumentEnrichmentConfiguration()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); hashCode = prime * hashCode + ((getIndexId() == null) ? 0 : getIndexId().hashCode()); hashCode = prime * hashCode + ((getType() == null) ? 0 : getType().hashCode()); hashCode = prime * hashCode + ((getConfiguration() == null) ? 0 : getConfiguration().hashCode()); hashCode = prime * hashCode + ((getVpcConfiguration() == null) ? 0 : getVpcConfiguration().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getSchedule() == null) ? 0 : getSchedule().hashCode()); hashCode = prime * hashCode + ((getRoleArn() == null) ? 0 : getRoleArn().hashCode()); hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode()); hashCode = prime * hashCode + ((getClientToken() == null) ? 0 : getClientToken().hashCode()); hashCode = prime * hashCode + ((getLanguageCode() == null) ? 0 : getLanguageCode().hashCode()); hashCode = prime * hashCode + ((getCustomDocumentEnrichmentConfiguration() == null) ? 0 : getCustomDocumentEnrichmentConfiguration().hashCode()); return hashCode; } @Override public CreateDataSourceRequest clone() { return (CreateDataSourceRequest) super.clone(); } }