@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FoundationModelDetails extends Object implements Serializable, Cloneable, StructuredPojo
Information about a foundation model.
| Constructor and Description |
|---|
FoundationModelDetails() |
| Modifier and Type | Method and Description |
|---|---|
FoundationModelDetails |
clone() |
boolean |
equals(Object obj) |
List<String> |
getCustomizationsSupported()
The customization that the model supports.
|
List<String> |
getInferenceTypesSupported()
The inference types that the model supports.
|
List<String> |
getInputModalities()
The input modalities that the model supports.
|
String |
getModelArn()
The model ARN.
|
String |
getModelId()
The model identifier.
|
String |
getModelName()
The model name.
|
List<String> |
getOutputModalities()
The output modalities that the model supports.
|
String |
getProviderName()
he model's provider name.
|
Boolean |
getResponseStreamingSupported()
Indicates whether the model supports streaming.
|
int |
hashCode() |
Boolean |
isResponseStreamingSupported()
Indicates whether the model supports streaming.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCustomizationsSupported(Collection<String> customizationsSupported)
The customization that the model supports.
|
void |
setInferenceTypesSupported(Collection<String> inferenceTypesSupported)
The inference types that the model supports.
|
void |
setInputModalities(Collection<String> inputModalities)
The input modalities that the model supports.
|
void |
setModelArn(String modelArn)
The model ARN.
|
void |
setModelId(String modelId)
The model identifier.
|
void |
setModelName(String modelName)
The model name.
|
void |
setOutputModalities(Collection<String> outputModalities)
The output modalities that the model supports.
|
void |
setProviderName(String providerName)
he model's provider name.
|
void |
setResponseStreamingSupported(Boolean responseStreamingSupported)
Indicates whether the model supports streaming.
|
String |
toString()
Returns a string representation of this object.
|
FoundationModelDetails |
withCustomizationsSupported(Collection<String> customizationsSupported)
The customization that the model supports.
|
FoundationModelDetails |
withCustomizationsSupported(ModelCustomization... customizationsSupported)
The customization that the model supports.
|
FoundationModelDetails |
withCustomizationsSupported(String... customizationsSupported)
The customization that the model supports.
|
FoundationModelDetails |
withInferenceTypesSupported(Collection<String> inferenceTypesSupported)
The inference types that the model supports.
|
FoundationModelDetails |
withInferenceTypesSupported(InferenceType... inferenceTypesSupported)
The inference types that the model supports.
|
FoundationModelDetails |
withInferenceTypesSupported(String... inferenceTypesSupported)
The inference types that the model supports.
|
FoundationModelDetails |
withInputModalities(Collection<String> inputModalities)
The input modalities that the model supports.
|
FoundationModelDetails |
withInputModalities(ModelModality... inputModalities)
The input modalities that the model supports.
|
FoundationModelDetails |
withInputModalities(String... inputModalities)
The input modalities that the model supports.
|
FoundationModelDetails |
withModelArn(String modelArn)
The model ARN.
|
FoundationModelDetails |
withModelId(String modelId)
The model identifier.
|
FoundationModelDetails |
withModelName(String modelName)
The model name.
|
FoundationModelDetails |
withOutputModalities(Collection<String> outputModalities)
The output modalities that the model supports.
|
FoundationModelDetails |
withOutputModalities(ModelModality... outputModalities)
The output modalities that the model supports.
|
FoundationModelDetails |
withOutputModalities(String... outputModalities)
The output modalities that the model supports.
|
FoundationModelDetails |
withProviderName(String providerName)
he model's provider name.
|
FoundationModelDetails |
withResponseStreamingSupported(Boolean responseStreamingSupported)
Indicates whether the model supports streaming.
|
public List<String> getCustomizationsSupported()
The customization that the model supports.
ModelCustomizationpublic void setCustomizationsSupported(Collection<String> customizationsSupported)
The customization that the model supports.
customizationsSupported - The customization that the model supports.ModelCustomizationpublic FoundationModelDetails withCustomizationsSupported(String... customizationsSupported)
The customization that the model supports.
NOTE: This method appends the values to the existing list (if any). Use
setCustomizationsSupported(java.util.Collection) or
withCustomizationsSupported(java.util.Collection) if you want to override the existing values.
customizationsSupported - The customization that the model supports.ModelCustomizationpublic FoundationModelDetails withCustomizationsSupported(Collection<String> customizationsSupported)
The customization that the model supports.
customizationsSupported - The customization that the model supports.ModelCustomizationpublic FoundationModelDetails withCustomizationsSupported(ModelCustomization... customizationsSupported)
The customization that the model supports.
customizationsSupported - The customization that the model supports.ModelCustomizationpublic List<String> getInferenceTypesSupported()
The inference types that the model supports.
InferenceTypepublic void setInferenceTypesSupported(Collection<String> inferenceTypesSupported)
The inference types that the model supports.
inferenceTypesSupported - The inference types that the model supports.InferenceTypepublic FoundationModelDetails withInferenceTypesSupported(String... inferenceTypesSupported)
The inference types that the model supports.
NOTE: This method appends the values to the existing list (if any). Use
setInferenceTypesSupported(java.util.Collection) or
withInferenceTypesSupported(java.util.Collection) if you want to override the existing values.
inferenceTypesSupported - The inference types that the model supports.InferenceTypepublic FoundationModelDetails withInferenceTypesSupported(Collection<String> inferenceTypesSupported)
The inference types that the model supports.
inferenceTypesSupported - The inference types that the model supports.InferenceTypepublic FoundationModelDetails withInferenceTypesSupported(InferenceType... inferenceTypesSupported)
The inference types that the model supports.
inferenceTypesSupported - The inference types that the model supports.InferenceTypepublic List<String> getInputModalities()
The input modalities that the model supports.
ModelModalitypublic void setInputModalities(Collection<String> inputModalities)
The input modalities that the model supports.
inputModalities - The input modalities that the model supports.ModelModalitypublic FoundationModelDetails withInputModalities(String... inputModalities)
The input modalities that the model supports.
NOTE: This method appends the values to the existing list (if any). Use
setInputModalities(java.util.Collection) or withInputModalities(java.util.Collection) if you
want to override the existing values.
inputModalities - The input modalities that the model supports.ModelModalitypublic FoundationModelDetails withInputModalities(Collection<String> inputModalities)
The input modalities that the model supports.
inputModalities - The input modalities that the model supports.ModelModalitypublic FoundationModelDetails withInputModalities(ModelModality... inputModalities)
The input modalities that the model supports.
inputModalities - The input modalities that the model supports.ModelModalitypublic void setModelArn(String modelArn)
The model ARN.
modelArn - The model ARN.public String getModelArn()
The model ARN.
public FoundationModelDetails withModelArn(String modelArn)
The model ARN.
modelArn - The model ARN.public void setModelId(String modelId)
The model identifier.
modelId - The model identifier.public String getModelId()
The model identifier.
public FoundationModelDetails withModelId(String modelId)
The model identifier.
modelId - The model identifier.public void setModelName(String modelName)
The model name.
modelName - The model name.public String getModelName()
The model name.
public FoundationModelDetails withModelName(String modelName)
The model name.
modelName - The model name.public List<String> getOutputModalities()
The output modalities that the model supports.
ModelModalitypublic void setOutputModalities(Collection<String> outputModalities)
The output modalities that the model supports.
outputModalities - The output modalities that the model supports.ModelModalitypublic FoundationModelDetails withOutputModalities(String... outputModalities)
The output modalities that the model supports.
NOTE: This method appends the values to the existing list (if any). Use
setOutputModalities(java.util.Collection) or withOutputModalities(java.util.Collection) if you
want to override the existing values.
outputModalities - The output modalities that the model supports.ModelModalitypublic FoundationModelDetails withOutputModalities(Collection<String> outputModalities)
The output modalities that the model supports.
outputModalities - The output modalities that the model supports.ModelModalitypublic FoundationModelDetails withOutputModalities(ModelModality... outputModalities)
The output modalities that the model supports.
outputModalities - The output modalities that the model supports.ModelModalitypublic void setProviderName(String providerName)
he model's provider name.
providerName - he model's provider name.public String getProviderName()
he model's provider name.
public FoundationModelDetails withProviderName(String providerName)
he model's provider name.
providerName - he model's provider name.public void setResponseStreamingSupported(Boolean responseStreamingSupported)
Indicates whether the model supports streaming.
responseStreamingSupported - Indicates whether the model supports streaming.public Boolean getResponseStreamingSupported()
Indicates whether the model supports streaming.
public FoundationModelDetails withResponseStreamingSupported(Boolean responseStreamingSupported)
Indicates whether the model supports streaming.
responseStreamingSupported - Indicates whether the model supports streaming.public Boolean isResponseStreamingSupported()
Indicates whether the model supports streaming.
public String toString()
toString in class ObjectObject.toString()public FoundationModelDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.