@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 .
| 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 String name()
The name of the data source.
public String id()
The unique identifier for the data source.
public 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 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 Instant createdAt()
The UNIX datetime that the data source was created.
public Instant updatedAt()
The UNIX datetime that the data source was lasted updated.
public DataSourceStatus status()
The status of the data source. When the status is ATIVE 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().
ATIVE the data source is ready to use.DataSourceStatuspublic String statusAsString()
The status of the data source. When the status is ATIVE 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().
ATIVE 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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.