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()Return models that support the customization type that you specify.StringbyCustomizationTypeAsString()Return models that support the customization type that you specify.InferenceTypebyInferenceType()Return models that support the inference type that you specify.StringbyInferenceTypeAsString()Return models that support the inference type that you specify.ModelModalitybyOutputModality()Return models that support the output modality that you specify.StringbyOutputModalityAsString()Return models that support the output modality that you specify.StringbyProvider()Return models belonging to the model provider that you specify.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()
Return models belonging to the model provider that you specify.
- Returns:
- Return models belonging to the model provider that you specify.
-
byCustomizationType
public final ModelCustomization byCustomizationType()
Return models that support the customization type that you specify. For more information, see Custom models in the Amazon Bedrock User Guide.
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:
- Return models that support the customization type that you specify. For more information, see Custom models in the Amazon Bedrock User Guide.
- See Also:
ModelCustomization
-
byCustomizationTypeAsString
public final String byCustomizationTypeAsString()
Return models that support the customization type that you specify. For more information, see Custom models in the Amazon Bedrock User Guide.
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:
- Return models that support the customization type that you specify. For more information, see Custom models in the Amazon Bedrock User Guide.
- See Also:
ModelCustomization
-
byOutputModality
public final ModelModality byOutputModality()
Return models that support the output modality that you specify.
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:
- Return models that support the output modality that you specify.
- See Also:
ModelModality
-
byOutputModalityAsString
public final String byOutputModalityAsString()
Return models that support the output modality that you specify.
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:
- Return models that support the output modality that you specify.
- See Also:
ModelModality
-
byInferenceType
public final InferenceType byInferenceType()
Return models that support the inference type that you specify. For more information, see Provisioned Throughput in the Amazon Bedrock User Guide.
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:
- Return models that support the inference type that you specify. For more information, see Provisioned Throughput in the Amazon Bedrock User Guide.
- See Also:
InferenceType
-
byInferenceTypeAsString
public final String byInferenceTypeAsString()
Return models that support the inference type that you specify. For more information, see Provisioned Throughput in the Amazon Bedrock User Guide.
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:
- Return models that support the inference type that you specify. For more information, see Provisioned Throughput in the Amazon Bedrock User Guide.
- 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
-
-