Class DataSourceSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DataSourceSummary.Builder,DataSourceSummary>
Contains details about a data source.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic DataSourceSummary.Builderbuilder()final StringThe unique identifier of the data source.final StringThe description of the data source.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe unique identifier of the knowledge base to which the data source belongs.final Stringname()The name of the data source.static Class<? extends DataSourceSummary.Builder>final DataSourceStatusstatus()The status of the data source.final StringThe status of the data source.final StringtoString()Returns a string representation of this object.final InstantThe time at which the data source was last updated.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
knowledgeBaseId
The unique identifier of the knowledge base to which the data source belongs.
- Returns:
- The unique identifier of the knowledge base to which the data source belongs.
-
dataSourceId
The unique identifier of the data source.
- Returns:
- The unique identifier of the data source.
-
name
The name of the data source.
- Returns:
- The name of the data source.
-
status
The status of the data source.
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.
- See Also:
-
statusAsString
The status of the data source.
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.
- See Also:
-
description
The description of the data source.
- Returns:
- The description of the data source.
-
updatedAt
The time at which the data source was last updated.
- Returns:
- The time at which the data source was last updated.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<DataSourceSummary.Builder,DataSourceSummary>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-