@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 Amazon Resource Name (ARN). | 
| String | getModelId()
 The model identifier. | 
| FoundationModelLifecycle | getModelLifecycle()
 Contains details about whether a model version is available or deprecated | 
| String | getModelName()
 The model name. | 
| List<String> | getOutputModalities()
 The output modalities that the model supports. | 
| String | getProviderName()
 The 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)Marshalls this structured data using the given  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 Amazon Resource Name (ARN). | 
| void | setModelId(String modelId)
 The model identifier. | 
| void | setModelLifecycle(FoundationModelLifecycle modelLifecycle)
 Contains details about whether a model version is available or deprecated | 
| void | setModelName(String modelName)
 The model name. | 
| void | setOutputModalities(Collection<String> outputModalities)
 The output modalities that the model supports. | 
| void | setProviderName(String providerName)
 The 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 Amazon Resource Name (ARN). | 
| FoundationModelDetails | withModelId(String modelId)
 The model identifier. | 
| FoundationModelDetails | withModelLifecycle(FoundationModelLifecycle modelLifecycle)
 Contains details about whether a model version is available or deprecated | 
| 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)
 The model's provider name. | 
| FoundationModelDetails | withResponseStreamingSupported(Boolean responseStreamingSupported)
 Indicates whether the model supports streaming. | 
public void setModelArn(String modelArn)
The model Amazon Resource Name (ARN).
modelArn - The model Amazon Resource Name (ARN).public String getModelArn()
The model Amazon Resource Name (ARN).
public FoundationModelDetails withModelArn(String modelArn)
The model Amazon Resource Name (ARN).
modelArn - The model Amazon Resource Name (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 void setProviderName(String providerName)
The model's provider name.
providerName - The model's provider name.public String getProviderName()
The model's provider name.
public FoundationModelDetails withProviderName(String providerName)
The model's provider name.
providerName - The model's provider name.public 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 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 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 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 void setModelLifecycle(FoundationModelLifecycle modelLifecycle)
Contains details about whether a model version is available or deprecated
modelLifecycle - Contains details about whether a model version is available or deprecatedpublic FoundationModelLifecycle getModelLifecycle()
Contains details about whether a model version is available or deprecated
public FoundationModelDetails withModelLifecycle(FoundationModelLifecycle modelLifecycle)
Contains details about whether a model version is available or deprecated
modelLifecycle - Contains details about whether a model version is available or deprecatedpublic String toString()
toString in class ObjectObject.toString()public FoundationModelDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.