@Generated(value="software.amazon.awssdk:codegen") public final class DescribeDataSourceResponse extends KendraResponse implements ToCopyableBuilder<DescribeDataSourceResponse.Builder,DescribeDataSourceResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeDataSourceResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeDataSourceResponse.Builder |
builder() |
DataSourceConfiguration |
configuration()
Configuration details for the data source connector.
|
Instant |
createdAt()
The Unix timestamp when the data source connector was created.
|
CustomDocumentEnrichmentConfiguration |
customDocumentEnrichmentConfiguration()
Configuration information for altering document metadata and content during the document ingestion process when
you describe a data source.
|
String |
description()
The description for the data source connector.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
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. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The identifier of the data source connector.
|
String |
indexId()
The identifier of the index used with the data source connector.
|
String |
languageCode()
The code for a language.
|
String |
name()
The name for the data source connector.
|
String |
roleArn()
The Amazon Resource Name (ARN) of the role with permission to access the data source and required resources.
|
String |
schedule()
The schedule for Amazon Kendra to update the index.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeDataSourceResponse.Builder> |
serializableBuilderClass() |
DataSourceStatus |
status()
The current status of the data source connector.
|
String |
statusAsString()
The current status of the data source connector.
|
DescribeDataSourceResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
DataSourceType |
type()
The type of the data source.
|
String |
typeAsString()
The type of the data source.
|
Instant |
updatedAt()
The Unix timestamp when the data source connector was last updated.
|
DataSourceVpcConfiguration |
vpcConfiguration()
Configuration information for an Amazon Virtual Private Cloud to connect to your data source.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The identifier of the data source connector.
public final String indexId()
The identifier of the index used with the data source connector.
public final String name()
The name for the data source connector.
public final DataSourceType type()
The type of the data source. For example, SHAREPOINT.
If the service returns an enum value that is not available in the current SDK version, type will return
DataSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
SHAREPOINT.DataSourceTypepublic final String typeAsString()
The type of the data source. For example, SHAREPOINT.
If the service returns an enum value that is not available in the current SDK version, type will return
DataSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
SHAREPOINT.DataSourceTypepublic final 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.
public final DataSourceVpcConfiguration vpcConfiguration()
Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more information, see Configuring a VPC.
public final Instant createdAt()
The Unix timestamp when the data source connector was created.
public final Instant updatedAt()
The Unix timestamp when the data source connector was last updated.
public final String description()
The description for the data source connector.
public final 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.
If the service returns an enum value that is not available in the current SDK version, status will
return DataSourceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ACTIVE the data source
is ready to use. When the status is FAILED, the ErrorMessage field contains the
reason that the data source failed.DataSourceStatuspublic final String statusAsString()
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.
If the service returns an enum value that is not available in the current SDK version, status will
return DataSourceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ACTIVE the data source
is ready to use. When the status is FAILED, the ErrorMessage field contains the
reason that the data source failed.DataSourceStatuspublic final String schedule()
The schedule for Amazon Kendra to update the index.
public final String roleArn()
The Amazon Resource Name (ARN) of the role with permission to access the data source and required resources.
public final 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.
Status field value is FAILED, the ErrorMessage field
contains a description of the error that caused the data source to fail.public final 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.
public final 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.
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 DescribeDataSourceResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeDataSourceResponse.Builder,DescribeDataSourceResponse>toBuilder in class AwsResponsepublic static DescribeDataSourceResponse.Builder builder()
public static Class<? extends DescribeDataSourceResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.