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>
The source location of a retrieval result.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
RetrievalResultLocation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RetrievalResultLocation.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
RetrievalResultS3Location
s3Location()
Returns the value of the S3Location property for this object.List<SdkField<?>>
sdkFields()
static Class<? extends RetrievalResultLocation.Builder>
serializableBuilderClass()
RetrievalResultLocation.Builder
toBuilder()
String
toString()
Returns a string representation of this object.RetrievalResultLocationType
type()
Returns the value of the Type property for this object.String
typeAsString()
Returns the value of the Type 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
-
type
public final RetrievalResultLocationType type()
Returns the value of the Type property for this object.If the service returns an enum value that is not available in the current SDK version,
type
will returnRetrievalResultLocationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtypeAsString()
.- Returns:
- The value of the Type property for this object.
- See Also:
RetrievalResultLocationType
-
typeAsString
public final String typeAsString()
Returns the value of the Type property for this object.If the service returns an enum value that is not available in the current SDK version,
type
will returnRetrievalResultLocationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtypeAsString()
.- Returns:
- The value of the Type property for this object.
- See Also:
RetrievalResultLocationType
-
s3Location
public final RetrievalResultS3Location s3Location()
Returns the value of the S3Location property for this object.- Returns:
- The value of the S3Location property for this object.
-
toBuilder
public RetrievalResultLocation.Builder toBuilder()
- Specified by:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-