Class WebLocation
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockruntime.model.WebLocation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WebLocation.Builder,WebLocation>
@Generated("software.amazon.awssdk:codegen") public final class WebLocation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WebLocation.Builder,WebLocation>
Provides the URL and domain information for the website that was cited when performing a web search.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWebLocation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WebLocation.Builderbuilder()Stringdomain()The domain that was cited when performing a web search.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends WebLocation.Builder>serializableBuilderClass()WebLocation.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringurl()The URL that was cited when performing a web search.-
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
-
url
public final String url()
The URL that was cited when performing a web search.
- Returns:
- The URL that was cited when performing a web search.
-
domain
public final String domain()
The domain that was cited when performing a web search.
- Returns:
- The domain that was cited when performing a web search.
-
toBuilder
public WebLocation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<WebLocation.Builder,WebLocation>
-
builder
public static WebLocation.Builder builder()
-
serializableBuilderClass
public static Class<? extends WebLocation.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-