Class DataSource
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagent.model.DataSource
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DataSource.Builder,DataSource>
@Generated("software.amazon.awssdk:codegen") public final class DataSource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataSource.Builder,DataSource>
Contains the information of a data source.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDataSource.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataSource.Builderbuilder()InstantcreatedAt()Returns the value of the CreatedAt property for this object.DataSourceConfigurationdataSourceConfiguration()Returns the value of the DataSourceConfiguration property for this object.StringdataSourceId()Returns the value of the DataSourceId property for this object.Stringdescription()Returns the value of the Description property for this object.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringknowledgeBaseId()Returns the value of the KnowledgeBaseId property for this object.Stringname()Returns the value of the Name property for this object.List<SdkField<?>>sdkFields()static Class<? extends DataSource.Builder>serializableBuilderClass()ServerSideEncryptionConfigurationserverSideEncryptionConfiguration()Returns the value of the ServerSideEncryptionConfiguration property for this object.DataSourceStatusstatus()Returns the value of the Status property for this object.StringstatusAsString()Returns the value of the Status property for this object.DataSource.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedAt()Returns the value of the UpdatedAt property for this object.VectorIngestionConfigurationvectorIngestionConfiguration()Returns the value of the VectorIngestionConfiguration property for this object.-
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
-
knowledgeBaseId
public final String knowledgeBaseId()
Returns the value of the KnowledgeBaseId property for this object.- Returns:
- The value of the KnowledgeBaseId property for this object.
-
dataSourceId
public final String dataSourceId()
Returns the value of the DataSourceId property for this object.- Returns:
- The value of the DataSourceId property for this object.
-
name
public final String name()
Returns the value of the Name property for this object.- Returns:
- The value of the Name property for this object.
-
status
public final DataSourceStatus status()
Returns the value of the Status property for this object.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 value of the Status property for this object.
- See Also:
DataSourceStatus
-
statusAsString
public final String statusAsString()
Returns the value of the Status property for this object.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 value of the Status property for this object.
- See Also:
DataSourceStatus
-
description
public final String description()
Returns the value of the Description property for this object.- Returns:
- The value of the Description property for this object.
-
dataSourceConfiguration
public final DataSourceConfiguration dataSourceConfiguration()
Returns the value of the DataSourceConfiguration property for this object.- Returns:
- The value of the DataSourceConfiguration property for this object.
-
serverSideEncryptionConfiguration
public final ServerSideEncryptionConfiguration serverSideEncryptionConfiguration()
Returns the value of the ServerSideEncryptionConfiguration property for this object.- Returns:
- The value of the ServerSideEncryptionConfiguration property for this object.
-
vectorIngestionConfiguration
public final VectorIngestionConfiguration vectorIngestionConfiguration()
Returns the value of the VectorIngestionConfiguration property for this object.- Returns:
- The value of the VectorIngestionConfiguration property for this object.
-
createdAt
public final Instant createdAt()
Returns the value of the CreatedAt property for this object.- Returns:
- The value of the CreatedAt property for this object.
-
updatedAt
public final Instant updatedAt()
Returns the value of the UpdatedAt property for this object.- Returns:
- The value of the UpdatedAt property for this object.
-
toBuilder
public DataSource.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DataSource.Builder,DataSource>
-
builder
public static DataSource.Builder builder()
-
serializableBuilderClass
public static Class<? extends DataSource.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.
-
-