Class RetrievalResultLocation
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagentruntime.model.RetrievalResultLocation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RetrievalResultLocation.Builder,RetrievalResultLocation>
@Generated("software.amazon.awssdk:codegen") public final class RetrievalResultLocation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RetrievalResultLocation.Builder,RetrievalResultLocation>
Contains information about the location of the data source.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRetrievalResultLocation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RetrievalResultLocation.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()RetrievalResultS3Locations3Location()Contains the S3 location of the data source.List<SdkField<?>>sdkFields()static Class<? extends RetrievalResultLocation.Builder>serializableBuilderClass()RetrievalResultLocation.BuildertoBuilder()StringtoString()Returns a string representation of this object.RetrievalResultLocationTypetype()The type of the location of the data source.StringtypeAsString()The type of the location of 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
-
s3Location
public final RetrievalResultS3Location s3Location()
Contains the S3 location of the data source.
- Returns:
- Contains the S3 location of the data source.
-
type
public final RetrievalResultLocationType type()
The type of the location of the data source.
If the service returns an enum value that is not available in the current SDK version,
typewill returnRetrievalResultLocationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the location of the data source.
- See Also:
RetrievalResultLocationType
-
typeAsString
public final String typeAsString()
The type of the location of the data source.
If the service returns an enum value that is not available in the current SDK version,
typewill returnRetrievalResultLocationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the location of the data source.
- See Also:
RetrievalResultLocationType
-
toBuilder
public RetrievalResultLocation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RetrievalResultLocation.Builder,RetrievalResultLocation>
-
builder
public static RetrievalResultLocation.Builder builder()
-
serializableBuilderClass
public static Class<? extends RetrievalResultLocation.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.
-
-