@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeDataSourceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeDataSourceResult() |
Modifier and Type | Method and Description |
---|---|
DescribeDataSourceResult |
clone() |
boolean |
equals(Object obj) |
DataSourceConfiguration |
getConfiguration()
Configuration details for the data source connector.
|
Date |
getCreatedAt()
The Unix timestamp when the data source connector was created.
|
CustomDocumentEnrichmentConfiguration |
getCustomDocumentEnrichmentConfiguration()
Configuration information for altering document metadata and content during the document ingestion process when
you describe a data source.
|
String |
getDescription()
The description for the data source connector.
|
String |
getErrorMessage()
When the
Status field value is FAILED , the ErrorMessage field contains a
description of the error that caused the data source to fail. |
String |
getId()
The identifier of the data source connector.
|
String |
getIndexId()
The identifier of the index used with the data source connector.
|
String |
getLanguageCode()
The code for a language.
|
String |
getName()
The name for the data source connector.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the role with permission to access the data source and required resources.
|
String |
getSchedule()
The schedule for Amazon Kendra to update the index.
|
String |
getStatus()
The current status of the data source connector.
|
String |
getType()
The type of the data source.
|
Date |
getUpdatedAt()
The Unix timestamp when the data source connector was last updated.
|
DataSourceVpcConfiguration |
getVpcConfiguration()
Configuration information for an Amazon Virtual Private Cloud to connect to your data source.
|
int |
hashCode() |
void |
setConfiguration(DataSourceConfiguration configuration)
Configuration details for the data source connector.
|
void |
setCreatedAt(Date createdAt)
The Unix timestamp when the data source connector was created.
|
void |
setCustomDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration customDocumentEnrichmentConfiguration)
Configuration information for altering document metadata and content during the document ingestion process when
you describe a data source.
|
void |
setDescription(String description)
The description for the data source connector.
|
void |
setErrorMessage(String errorMessage)
When the
Status field value is FAILED , the ErrorMessage field contains a
description of the error that caused the data source to fail. |
void |
setId(String id)
The identifier of the data source connector.
|
void |
setIndexId(String indexId)
The identifier of the index used with the data source connector.
|
void |
setLanguageCode(String languageCode)
The code for a language.
|
void |
setName(String name)
The name for the data source connector.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role with permission to access the data source and required resources.
|
void |
setSchedule(String schedule)
The schedule for Amazon Kendra to update the index.
|
void |
setStatus(String status)
The current status of the data source connector.
|
void |
setType(String type)
The type of the data source.
|
void |
setUpdatedAt(Date updatedAt)
The Unix timestamp when the data source connector was last updated.
|
void |
setVpcConfiguration(DataSourceVpcConfiguration vpcConfiguration)
Configuration information for an Amazon Virtual Private Cloud to connect to your data source.
|
String |
toString()
Returns a string representation of this object.
|
DescribeDataSourceResult |
withConfiguration(DataSourceConfiguration configuration)
Configuration details for the data source connector.
|
DescribeDataSourceResult |
withCreatedAt(Date createdAt)
The Unix timestamp when the data source connector was created.
|
DescribeDataSourceResult |
withCustomDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration customDocumentEnrichmentConfiguration)
Configuration information for altering document metadata and content during the document ingestion process when
you describe a data source.
|
DescribeDataSourceResult |
withDescription(String description)
The description for the data source connector.
|
DescribeDataSourceResult |
withErrorMessage(String errorMessage)
When the
Status field value is FAILED , the ErrorMessage field contains a
description of the error that caused the data source to fail. |
DescribeDataSourceResult |
withId(String id)
The identifier of the data source connector.
|
DescribeDataSourceResult |
withIndexId(String indexId)
The identifier of the index used with the data source connector.
|
DescribeDataSourceResult |
withLanguageCode(String languageCode)
The code for a language.
|
DescribeDataSourceResult |
withName(String name)
The name for the data source connector.
|
DescribeDataSourceResult |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role with permission to access the data source and required resources.
|
DescribeDataSourceResult |
withSchedule(String schedule)
The schedule for Amazon Kendra to update the index.
|
DescribeDataSourceResult |
withStatus(DataSourceStatus status)
The current status of the data source connector.
|
DescribeDataSourceResult |
withStatus(String status)
The current status of the data source connector.
|
DescribeDataSourceResult |
withType(DataSourceType type)
The type of the data source.
|
DescribeDataSourceResult |
withType(String type)
The type of the data source.
|
DescribeDataSourceResult |
withUpdatedAt(Date updatedAt)
The Unix timestamp when the data source connector was last updated.
|
DescribeDataSourceResult |
withVpcConfiguration(DataSourceVpcConfiguration vpcConfiguration)
Configuration information for an Amazon Virtual Private Cloud to connect to your data source.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setId(String id)
The identifier of the data source connector.
id
- The identifier of the data source connector.public String getId()
The identifier of the data source connector.
public DescribeDataSourceResult withId(String id)
The identifier of the data source connector.
id
- The identifier of the data source connector.public void setIndexId(String indexId)
The identifier of the index used with the data source connector.
indexId
- The identifier of the index used with the data source connector.public String getIndexId()
The identifier of the index used with the data source connector.
public DescribeDataSourceResult withIndexId(String indexId)
The identifier of the index used with the data source connector.
indexId
- The identifier of the index used with the data source connector.public void setName(String name)
The name for the data source connector.
name
- The name for the data source connector.public String getName()
The name for the data source connector.
public DescribeDataSourceResult withName(String name)
The name for the data source connector.
name
- The name for the data source connector.public void setType(String type)
The type of the data source. For example, SHAREPOINT
.
type
- The type of the data source. For example, SHAREPOINT
.DataSourceType
public String getType()
The type of the data source. For example, SHAREPOINT
.
SHAREPOINT
.DataSourceType
public DescribeDataSourceResult withType(String type)
The type of the data source. For example, SHAREPOINT
.
type
- The type of the data source. For example, SHAREPOINT
.DataSourceType
public DescribeDataSourceResult withType(DataSourceType type)
The type of the data source. For example, SHAREPOINT
.
type
- The type of the data source. For example, SHAREPOINT
.DataSourceType
public void setConfiguration(DataSourceConfiguration configuration)
Configuration details for the data source connector. This shows how the data source is configured. The configuration options for a data source depend on the data source provider.
configuration
- Configuration details for the data source connector. This shows how the data source is configured. The
configuration options for a data source depend on the data source provider.public DataSourceConfiguration getConfiguration()
Configuration details for the data source connector. This shows how the data source is configured. The configuration options for a data source depend on the data source provider.
public DescribeDataSourceResult withConfiguration(DataSourceConfiguration configuration)
Configuration details for the data source connector. This shows how the data source is configured. The configuration options for a data source depend on the data source provider.
configuration
- Configuration details for the data source connector. This shows how the data source is configured. The
configuration options for a data source depend on the data source provider.public void setVpcConfiguration(DataSourceVpcConfiguration vpcConfiguration)
Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more information, see Configuring a VPC.
vpcConfiguration
- Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more
information, see Configuring
a VPC.public DataSourceVpcConfiguration getVpcConfiguration()
Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more information, see Configuring a VPC.
public DescribeDataSourceResult withVpcConfiguration(DataSourceVpcConfiguration vpcConfiguration)
Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more information, see Configuring a VPC.
vpcConfiguration
- Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more
information, see Configuring
a VPC.public void setCreatedAt(Date createdAt)
The Unix timestamp when the data source connector was created.
createdAt
- The Unix timestamp when the data source connector was created.public Date getCreatedAt()
The Unix timestamp when the data source connector was created.
public DescribeDataSourceResult withCreatedAt(Date createdAt)
The Unix timestamp when the data source connector was created.
createdAt
- The Unix timestamp when the data source connector was created.public void setUpdatedAt(Date updatedAt)
The Unix timestamp when the data source connector was last updated.
updatedAt
- The Unix timestamp when the data source connector was last updated.public Date getUpdatedAt()
The Unix timestamp when the data source connector was last updated.
public DescribeDataSourceResult withUpdatedAt(Date updatedAt)
The Unix timestamp when the data source connector was last updated.
updatedAt
- The Unix timestamp when the data source connector was last updated.public void setDescription(String description)
The description for the data source connector.
description
- The description for the data source connector.public String getDescription()
The description for the data source connector.
public DescribeDataSourceResult withDescription(String description)
The description for the data source connector.
description
- The description for the data source connector.public void setStatus(String status)
The current status of the data source connector. When the status is ACTIVE
the data source is ready
to use. When the status is FAILED
, the ErrorMessage
field contains the reason that the
data source failed.
status
- The current status of the data source connector. When the status is ACTIVE
the data source is
ready to use. When the status is FAILED
, the ErrorMessage
field contains the
reason that the data source failed.DataSourceStatus
public String getStatus()
The current status of the data source connector. When the status is ACTIVE
the data source is ready
to use. When the status is FAILED
, the ErrorMessage
field contains the reason that the
data source failed.
ACTIVE
the data source
is ready to use. When the status is FAILED
, the ErrorMessage
field contains the
reason that the data source failed.DataSourceStatus
public DescribeDataSourceResult withStatus(String status)
The current status of the data source connector. When the status is ACTIVE
the data source is ready
to use. When the status is FAILED
, the ErrorMessage
field contains the reason that the
data source failed.
status
- The current status of the data source connector. When the status is ACTIVE
the data source is
ready to use. When the status is FAILED
, the ErrorMessage
field contains the
reason that the data source failed.DataSourceStatus
public DescribeDataSourceResult withStatus(DataSourceStatus status)
The current status of the data source connector. When the status is ACTIVE
the data source is ready
to use. When the status is FAILED
, the ErrorMessage
field contains the reason that the
data source failed.
status
- The current status of the data source connector. When the status is ACTIVE
the data source is
ready to use. When the status is FAILED
, the ErrorMessage
field contains the
reason that the data source failed.DataSourceStatus
public void setSchedule(String schedule)
The schedule for Amazon Kendra to update the index.
schedule
- The schedule for Amazon Kendra to update the index.public String getSchedule()
The schedule for Amazon Kendra to update the index.
public DescribeDataSourceResult withSchedule(String schedule)
The schedule for Amazon Kendra to update the index.
schedule
- The schedule for Amazon Kendra to update the index.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role with permission to access the data source and required resources.
roleArn
- The Amazon Resource Name (ARN) of the role with permission to access the data source and required
resources.public String getRoleArn()
The Amazon Resource Name (ARN) of the role with permission to access the data source and required resources.
public DescribeDataSourceResult withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role with permission to access the data source and required resources.
roleArn
- The Amazon Resource Name (ARN) of the role with permission to access the data source and required
resources.public void setErrorMessage(String errorMessage)
When the Status
field value is FAILED
, the ErrorMessage
field contains a
description of the error that caused the data source to fail.
errorMessage
- When the Status
field value is FAILED
, the ErrorMessage
field
contains a description of the error that caused the data source to fail.public String getErrorMessage()
When the Status
field value is FAILED
, the ErrorMessage
field contains a
description of the error that caused the data source to fail.
Status
field value is FAILED
, the ErrorMessage
field
contains a description of the error that caused the data source to fail.public DescribeDataSourceResult withErrorMessage(String errorMessage)
When the Status
field value is FAILED
, the ErrorMessage
field contains a
description of the error that caused the data source to fail.
errorMessage
- When the Status
field value is FAILED
, the ErrorMessage
field
contains a description of the error that caused the data source to fail.public void setLanguageCode(String languageCode)
The code for a language. This shows a supported language for all documents in the data source. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.
languageCode
- The code for a language. This shows a supported language for all documents in the data source. 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()
The code for a language. This shows a supported language for all documents in the data source. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.
public DescribeDataSourceResult withLanguageCode(String languageCode)
The code for a language. This shows a supported language for all documents in the data source. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.
languageCode
- The code for a language. This shows a supported language for all documents in the data source. English is
supported by default. For more information on supported languages, including their codes, see Adding documents in languages
other than English.public void setCustomDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration customDocumentEnrichmentConfiguration)
Configuration information for altering document metadata and content during the document ingestion process when you describe a data source.
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.
customDocumentEnrichmentConfiguration
- Configuration information for altering document metadata and content during the document ingestion process
when you describe a data source.
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()
Configuration information for altering document metadata and content during the document ingestion process when you describe a data source.
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.
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 DescribeDataSourceResult withCustomDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration customDocumentEnrichmentConfiguration)
Configuration information for altering document metadata and content during the document ingestion process when you describe a data source.
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.
customDocumentEnrichmentConfiguration
- Configuration information for altering document metadata and content during the document ingestion process
when you describe a data source.
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 String toString()
toString
in class Object
Object.toString()
public DescribeDataSourceResult clone()