@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FoundationModelSummary extends Object implements Serializable, Cloneable, StructuredPojo
Summary information for a foundation model.
| Constructor and Description |
|---|
FoundationModelSummary() |
| Modifier and Type | Method and Description |
|---|---|
FoundationModelSummary |
clone() |
boolean |
equals(Object obj) |
List<String> |
getCustomizationsSupported()
Whether the model supports fine-tuning or continual pre-training.
|
List<String> |
getInferenceTypesSupported()
The inference types that the model supports.
|
List<String> |
getInputModalities()
The input modalities that the model supports.
|
String |
getModelArn()
The ARN of the foundation model.
|
String |
getModelId()
The model Id of the foundation model.
|
String |
getModelName()
The name of the model.
|
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) |
void |
setCustomizationsSupported(Collection<String> customizationsSupported)
Whether the model supports fine-tuning or continual pre-training.
|
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 ARN of the foundation model.
|
void |
setModelId(String modelId)
The model Id of the foundation model.
|
void |
setModelName(String modelName)
The name of the model.
|
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.
|
FoundationModelSummary |
withCustomizationsSupported(Collection<String> customizationsSupported)
Whether the model supports fine-tuning or continual pre-training.
|
FoundationModelSummary |
withCustomizationsSupported(ModelCustomization... customizationsSupported)
Whether the model supports fine-tuning or continual pre-training.
|
FoundationModelSummary |
withCustomizationsSupported(String... customizationsSupported)
Whether the model supports fine-tuning or continual pre-training.
|
FoundationModelSummary |
withInferenceTypesSupported(Collection<String> inferenceTypesSupported)
The inference types that the model supports.
|
FoundationModelSummary |
withInferenceTypesSupported(InferenceType... inferenceTypesSupported)
The inference types that the model supports.
|
FoundationModelSummary |
withInferenceTypesSupported(String... inferenceTypesSupported)
The inference types that the model supports.
|
FoundationModelSummary |
withInputModalities(Collection<String> inputModalities)
The input modalities that the model supports.
|
FoundationModelSummary |
withInputModalities(ModelModality... inputModalities)
The input modalities that the model supports.
|
FoundationModelSummary |
withInputModalities(String... inputModalities)
The input modalities that the model supports.
|
FoundationModelSummary |
withModelArn(String modelArn)
The ARN of the foundation model.
|
FoundationModelSummary |
withModelId(String modelId)
The model Id of the foundation model.
|
FoundationModelSummary |
withModelName(String modelName)
The name of the model.
|
FoundationModelSummary |
withOutputModalities(Collection<String> outputModalities)
The output modalities that the model supports.
|
FoundationModelSummary |
withOutputModalities(ModelModality... outputModalities)
The output modalities that the model supports.
|
FoundationModelSummary |
withOutputModalities(String... outputModalities)
The output modalities that the model supports.
|
FoundationModelSummary |
withProviderName(String providerName)
The model's provider name.
|
FoundationModelSummary |
withResponseStreamingSupported(Boolean responseStreamingSupported)
Indicates whether the model supports streaming.
|
public List<String> getCustomizationsSupported()
Whether the model supports fine-tuning or continual pre-training.
ModelCustomizationpublic void setCustomizationsSupported(Collection<String> customizationsSupported)
Whether the model supports fine-tuning or continual pre-training.
customizationsSupported - Whether the model supports fine-tuning or continual pre-training.ModelCustomizationpublic FoundationModelSummary withCustomizationsSupported(String... customizationsSupported)
Whether the model supports fine-tuning or continual pre-training.
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 - Whether the model supports fine-tuning or continual pre-training.ModelCustomizationpublic FoundationModelSummary withCustomizationsSupported(Collection<String> customizationsSupported)
Whether the model supports fine-tuning or continual pre-training.
customizationsSupported - Whether the model supports fine-tuning or continual pre-training.ModelCustomizationpublic FoundationModelSummary withCustomizationsSupported(ModelCustomization... customizationsSupported)
Whether the model supports fine-tuning or continual pre-training.
customizationsSupported - Whether the model supports fine-tuning or continual pre-training.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 FoundationModelSummary 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 FoundationModelSummary withInferenceTypesSupported(Collection<String> inferenceTypesSupported)
The inference types that the model supports.
inferenceTypesSupported - The inference types that the model supports.InferenceTypepublic FoundationModelSummary 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 FoundationModelSummary 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 FoundationModelSummary withInputModalities(Collection<String> inputModalities)
The input modalities that the model supports.
inputModalities - The input modalities that the model supports.ModelModalitypublic FoundationModelSummary withInputModalities(ModelModality... inputModalities)
The input modalities that the model supports.
inputModalities - The input modalities that the model supports.ModelModalitypublic void setModelArn(String modelArn)
The ARN of the foundation model.
modelArn - The ARN of the foundation model.public String getModelArn()
The ARN of the foundation model.
public FoundationModelSummary withModelArn(String modelArn)
The ARN of the foundation model.
modelArn - The ARN of the foundation model.public void setModelId(String modelId)
The model Id of the foundation model.
modelId - The model Id of the foundation model.public String getModelId()
The model Id of the foundation model.
public FoundationModelSummary withModelId(String modelId)
The model Id of the foundation model.
modelId - The model Id of the foundation model.public void setModelName(String modelName)
The name of the model.
modelName - The name of the model.public String getModelName()
The name of the model.
public FoundationModelSummary withModelName(String modelName)
The name of the model.
modelName - The name of the model.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 FoundationModelSummary 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 FoundationModelSummary withOutputModalities(Collection<String> outputModalities)
The output modalities that the model supports.
outputModalities - The output modalities that the model supports.ModelModalitypublic FoundationModelSummary withOutputModalities(ModelModality... outputModalities)
The output modalities that the model supports.
outputModalities - The output modalities that the model supports.ModelModalitypublic void setProviderName(String providerName)
The model's provider name.
providerName - The model's provider name.public String getProviderName()
The model's provider name.
public FoundationModelSummary withProviderName(String providerName)
The model's provider name.
providerName - The 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 FoundationModelSummary 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 FoundationModelSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.