@Generated(value="software.amazon.awssdk:codegen") public final class ListFoundationModelsRequest extends BedrockRequest implements ToCopyableBuilder<ListFoundationModelsRequest.Builder,ListFoundationModelsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListFoundationModelsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListFoundationModelsRequest.Builder |
builder() |
ModelCustomization |
byCustomizationType()
List by customization type.
|
String |
byCustomizationTypeAsString()
List by customization type.
|
InferenceType |
byInferenceType()
List by inference type.
|
String |
byInferenceTypeAsString()
List by inference type.
|
ModelModality |
byOutputModality()
List by output modality type.
|
String |
byOutputModalityAsString()
List by output modality type.
|
String |
byProvider()
A Bedrock model provider.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListFoundationModelsRequest.Builder> |
serializableBuilderClass() |
ListFoundationModelsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String byProvider()
A Bedrock model provider.
public final ModelCustomization byCustomizationType()
List by customization type.
If the service returns an enum value that is not available in the current SDK version,
byCustomizationType will return ModelCustomization.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from byCustomizationTypeAsString().
ModelCustomizationpublic final String byCustomizationTypeAsString()
List by customization type.
If the service returns an enum value that is not available in the current SDK version,
byCustomizationType will return ModelCustomization.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from byCustomizationTypeAsString().
ModelCustomizationpublic final ModelModality byOutputModality()
List by output modality type.
If the service returns an enum value that is not available in the current SDK version, byOutputModality
will return ModelModality.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
byOutputModalityAsString().
ModelModalitypublic final String byOutputModalityAsString()
List by output modality type.
If the service returns an enum value that is not available in the current SDK version, byOutputModality
will return ModelModality.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
byOutputModalityAsString().
ModelModalitypublic final InferenceType byInferenceType()
List by inference type.
If the service returns an enum value that is not available in the current SDK version, byInferenceType
will return InferenceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
byInferenceTypeAsString().
InferenceTypepublic final String byInferenceTypeAsString()
List by inference type.
If the service returns an enum value that is not available in the current SDK version, byInferenceType
will return InferenceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
byInferenceTypeAsString().
InferenceTypepublic ListFoundationModelsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListFoundationModelsRequest.Builder,ListFoundationModelsRequest>toBuilder in class BedrockRequestpublic static ListFoundationModelsRequest.Builder builder()
public static Class<? extends ListFoundationModelsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.