@Generated(value="software.amazon.awssdk:codegen") public final class DataSourceSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataSourceSummary.Builder,DataSourceSummary>
Summary information for a Amazon Kendra data source.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DataSourceSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DataSourceSummary.Builder |
builder() |
Instant |
createdAt()
The Unix timestamp when the data source connector was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The identifier for the data source.
|
String |
languageCode()
The code for a language.
|
String |
name()
The name of the data source.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DataSourceSummary.Builder> |
serializableBuilderClass() |
DataSourceStatus |
status()
The status of the data source.
|
String |
statusAsString()
The status of the data source.
|
DataSourceSummary.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.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the data source.
public final String id()
The identifier for the data source.
public final DataSourceType type()
The type of the data source.
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().
DataSourceTypepublic final String typeAsString()
The type of the data source.
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().
DataSourceTypepublic 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 DataSourceStatus status()
The status of the data source. When the status is ACTIVE the data source is ready to use.
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.DataSourceStatuspublic final String statusAsString()
The status of the data source. When the status is ACTIVE the data source is ready to use.
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.DataSourceStatuspublic 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 DataSourceSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DataSourceSummary.Builder,DataSourceSummary>public static DataSourceSummary.Builder builder()
public static Class<? extends DataSourceSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.