@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartIngestionJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartIngestionJobRequest() |
Modifier and Type | Method and Description |
---|---|
StartIngestionJobRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique, case-sensitive identifier to ensure that the API request completes no more than one time.
|
String |
getDataSourceId()
The unique identifier of the data source to ingest.
|
String |
getDescription()
A description of the ingestion job.
|
String |
getKnowledgeBaseId()
The unique identifier of the knowledge base to which to add the data source.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time.
|
void |
setDataSourceId(String dataSourceId)
The unique identifier of the data source to ingest.
|
void |
setDescription(String description)
A description of the ingestion job.
|
void |
setKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base to which to add the data source.
|
String |
toString()
Returns a string representation of this object.
|
StartIngestionJobRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time.
|
StartIngestionJobRequest |
withDataSourceId(String dataSourceId)
The unique identifier of the data source to ingest.
|
StartIngestionJobRequest |
withDescription(String description)
A description of the ingestion job.
|
StartIngestionJobRequest |
withKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base to which to add the data source.
|
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 setClientToken(String clientToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
clientToken
- A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If
this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.
For more information, see Ensuring
idempotency.public String getClientToken()
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
public StartIngestionJobRequest withClientToken(String clientToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
clientToken
- A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If
this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.
For more information, see Ensuring
idempotency.public void setDataSourceId(String dataSourceId)
The unique identifier of the data source to ingest.
dataSourceId
- The unique identifier of the data source to ingest.public String getDataSourceId()
The unique identifier of the data source to ingest.
public StartIngestionJobRequest withDataSourceId(String dataSourceId)
The unique identifier of the data source to ingest.
dataSourceId
- The unique identifier of the data source to ingest.public void setDescription(String description)
A description of the ingestion job.
description
- A description of the ingestion job.public String getDescription()
A description of the ingestion job.
public StartIngestionJobRequest withDescription(String description)
A description of the ingestion job.
description
- A description of the ingestion job.public void setKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base to which to add the data source.
knowledgeBaseId
- The unique identifier of the knowledge base to which to add the data source.public String getKnowledgeBaseId()
The unique identifier of the knowledge base to which to add the data source.
public StartIngestionJobRequest withKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base to which to add the data source.
knowledgeBaseId
- The unique identifier of the knowledge base to which to add the data source.public String toString()
toString
in class Object
Object.toString()
public StartIngestionJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()