Class ListFoundationModelsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.bedrock.model.BedrockRequest
-
- software.amazon.awssdk.services.bedrock.model.ListFoundationModelsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListFoundationModelsRequest.Builder,ListFoundationModelsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListFoundationModelsRequest extends BedrockRequest implements ToCopyableBuilder<ListFoundationModelsRequest.Builder,ListFoundationModelsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListFoundationModelsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListFoundationModelsRequest.Builderbuilder()ModelCustomizationbyCustomizationType()List by customization type.StringbyCustomizationTypeAsString()List by customization type.InferenceTypebyInferenceType()List by inference type.StringbyInferenceTypeAsString()List by inference type.ModelModalitybyOutputModality()List by output modality type.StringbyOutputModalityAsString()List by output modality type.StringbyProvider()A Amazon Bedrock model provider.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ListFoundationModelsRequest.Builder>serializableBuilderClass()ListFoundationModelsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
byProvider
public final String byProvider()
A Amazon Bedrock model provider.
- Returns:
- A Amazon Bedrock model provider.
-
byCustomizationType
public final ModelCustomization byCustomizationType()
List by customization type.
If the service returns an enum value that is not available in the current SDK version,
byCustomizationTypewill returnModelCustomization.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombyCustomizationTypeAsString().- Returns:
- List by customization type.
- See Also:
ModelCustomization
-
byCustomizationTypeAsString
public final String byCustomizationTypeAsString()
List by customization type.
If the service returns an enum value that is not available in the current SDK version,
byCustomizationTypewill returnModelCustomization.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombyCustomizationTypeAsString().- Returns:
- List by customization type.
- See Also:
ModelCustomization
-
byOutputModality
public final ModelModality byOutputModality()
List by output modality type.
If the service returns an enum value that is not available in the current SDK version,
byOutputModalitywill returnModelModality.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombyOutputModalityAsString().- Returns:
- List by output modality type.
- See Also:
ModelModality
-
byOutputModalityAsString
public final String byOutputModalityAsString()
List by output modality type.
If the service returns an enum value that is not available in the current SDK version,
byOutputModalitywill returnModelModality.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombyOutputModalityAsString().- Returns:
- List by output modality type.
- See Also:
ModelModality
-
byInferenceType
public final InferenceType byInferenceType()
List by inference type.
If the service returns an enum value that is not available in the current SDK version,
byInferenceTypewill returnInferenceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombyInferenceTypeAsString().- Returns:
- List by inference type.
- See Also:
InferenceType
-
byInferenceTypeAsString
public final String byInferenceTypeAsString()
List by inference type.
If the service returns an enum value that is not available in the current SDK version,
byInferenceTypewill returnInferenceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombyInferenceTypeAsString().- Returns:
- List by inference type.
- See Also:
InferenceType
-
toBuilder
public ListFoundationModelsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListFoundationModelsRequest.Builder,ListFoundationModelsRequest>- Specified by:
toBuilderin classBedrockRequest
-
builder
public static ListFoundationModelsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListFoundationModelsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-