Class DataSourceConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagent.model.DataSourceConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DataSourceConfiguration.Builder,DataSourceConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class DataSourceConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataSourceConfiguration.Builder,DataSourceConfiguration>
Contains details about how a data source is stored.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDataSourceConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataSourceConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()S3DataSourceConfigurations3Configuration()Contains details about the configuration of the S3 object containing the data source.List<SdkField<?>>sdkFields()static Class<? extends DataSourceConfiguration.Builder>serializableBuilderClass()DataSourceConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.DataSourceTypetype()The type of storage for the data source.StringtypeAsString()The type of storage for the data source.-
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
-
s3Configuration
public final S3DataSourceConfiguration s3Configuration()
Contains details about the configuration of the S3 object containing the data source.
- Returns:
- Contains details about the configuration of the S3 object containing the data source.
-
type
public final DataSourceType type()
The type of storage for 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 storage for the data source.
- See Also:
DataSourceType
-
typeAsString
public final String typeAsString()
The type of storage for 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 storage for the data source.
- See Also:
DataSourceType
-
toBuilder
public DataSourceConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DataSourceConfiguration.Builder,DataSourceConfiguration>
-
builder
public static DataSourceConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends DataSourceConfiguration.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.
-
-