@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. Returned in a call to the DescribeDataSource
operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DataSourceSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DataSourceSummary.Builder |
builder() |
Instant |
createdAt()
The UNIX datetime that the data source was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The unique identifier for the data source.
|
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 datetime that the data source was lasted updated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the data source.
public final String id()
The unique 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 datetime that the data source was created.
public final Instant updatedAt()
The UNIX datetime that the data source was lasted 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 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 © 2021. All rights reserved.