Class DataSourceSummary
- java.lang.Object
-
- software.amazon.awssdk.services.kendra.model.DataSourceSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DataSourceSummary.Builder,DataSourceSummary>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDataSourceSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataSourceSummary.Builderbuilder()InstantcreatedAt()The Unix timestamp when the data source connector was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The identifier for the data source.StringlanguageCode()The code for a language.Stringname()The name of the data source.List<SdkField<?>>sdkFields()static Class<? extends DataSourceSummary.Builder>serializableBuilderClass()DataSourceStatusstatus()The status of the data source.StringstatusAsString()The status of the data source.DataSourceSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.DataSourceTypetype()The type of the data source.StringtypeAsString()The type of the data source.InstantupdatedAt()The Unix timestamp when the data source connector was last updated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
The name of the data source.
- Returns:
- The name of the data source.
-
id
public final String id()
The identifier for the data source.
- Returns:
- The identifier for the data source.
-
type
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,
typewill returnDataSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the data source.
- See Also:
DataSourceType
-
typeAsString
public 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,
typewill returnDataSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the data source.
- See Also:
DataSourceType
-
createdAt
public final Instant createdAt()
The Unix timestamp when the data source connector was created.
- Returns:
- The Unix timestamp when the data source connector was created.
-
updatedAt
public final Instant updatedAt()
The Unix timestamp when the data source connector was last updated.
- Returns:
- The Unix timestamp when the data source connector was last updated.
-
status
public final DataSourceStatus status()
The status of the data source. When the status is
ACTIVEthe data source is ready to use.If the service returns an enum value that is not available in the current SDK version,
statuswill returnDataSourceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the data source. When the status is
ACTIVEthe data source is ready to use. - See Also:
DataSourceStatus
-
statusAsString
public final String statusAsString()
The status of the data source. When the status is
ACTIVEthe data source is ready to use.If the service returns an enum value that is not available in the current SDK version,
statuswill returnDataSourceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the data source. When the status is
ACTIVEthe data source is ready to use. - See Also:
DataSourceStatus
-
languageCode
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.
- Returns:
- 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.
-
toBuilder
public DataSourceSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DataSourceSummary.Builder,DataSourceSummary>
-
builder
public static DataSourceSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends DataSourceSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-