Interface FoundationModelSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FoundationModelSummary.Builder,,FoundationModelSummary> SdkBuilder<FoundationModelSummary.Builder,,FoundationModelSummary> SdkPojo
- Enclosing class:
FoundationModelSummary
-
Method Summary
Modifier and TypeMethodDescriptioncustomizationsSupported(Collection<ModelCustomization> customizationsSupported) Whether the model supports fine-tuning or continual pre-training.customizationsSupported(ModelCustomization... customizationsSupported) Whether the model supports fine-tuning or continual pre-training.customizationsSupportedWithStrings(String... customizationsSupported) Whether the model supports fine-tuning or continual pre-training.customizationsSupportedWithStrings(Collection<String> customizationsSupported) Whether the model supports fine-tuning or continual pre-training.inferenceTypesSupported(Collection<InferenceType> inferenceTypesSupported) The inference types that the model supports.inferenceTypesSupported(InferenceType... inferenceTypesSupported) The inference types that the model supports.inferenceTypesSupportedWithStrings(String... inferenceTypesSupported) The inference types that the model supports.inferenceTypesSupportedWithStrings(Collection<String> inferenceTypesSupported) The inference types that the model supports.inputModalities(Collection<ModelModality> inputModalities) The input modalities that the model supports.inputModalities(ModelModality... inputModalities) The input modalities that the model supports.inputModalitiesWithStrings(String... inputModalities) The input modalities that the model supports.inputModalitiesWithStrings(Collection<String> inputModalities) The input modalities that the model supports.The ARN of the foundation model.The model Id of the foundation model.The name of the model.outputModalities(Collection<ModelModality> outputModalities) The output modalities that the model supports.outputModalities(ModelModality... outputModalities) The output modalities that the model supports.outputModalitiesWithStrings(String... outputModalities) The output modalities that the model supports.outputModalitiesWithStrings(Collection<String> outputModalities) The output modalities that the model supports.providerName(String providerName) The model's provider name.responseStreamingSupported(Boolean responseStreamingSupported) Indicates whether the model supports streaming.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
modelArn
The ARN of the foundation model.
- Parameters:
modelArn- The ARN of the foundation model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelId
The model Id of the foundation model.
- Parameters:
modelId- The model Id of the foundation model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelName
The name of the model.
- Parameters:
modelName- The name of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
providerName
The model's provider name.
- Parameters:
providerName- The model's provider name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputModalitiesWithStrings
The input modalities that the model supports.
- Parameters:
inputModalities- The input modalities that the model supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputModalitiesWithStrings
The input modalities that the model supports.
- Parameters:
inputModalities- The input modalities that the model supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputModalities
The input modalities that the model supports.
- Parameters:
inputModalities- The input modalities that the model supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputModalities
The input modalities that the model supports.
- Parameters:
inputModalities- The input modalities that the model supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputModalitiesWithStrings
The output modalities that the model supports.
- Parameters:
outputModalities- The output modalities that the model supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputModalitiesWithStrings
The output modalities that the model supports.
- Parameters:
outputModalities- The output modalities that the model supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputModalities
The output modalities that the model supports.
- Parameters:
outputModalities- The output modalities that the model supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputModalities
The output modalities that the model supports.
- Parameters:
outputModalities- The output modalities that the model supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responseStreamingSupported
Indicates whether the model supports streaming.
- Parameters:
responseStreamingSupported- Indicates whether the model supports streaming.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customizationsSupportedWithStrings
FoundationModelSummary.Builder customizationsSupportedWithStrings(Collection<String> customizationsSupported) Whether the model supports fine-tuning or continual pre-training.
- Parameters:
customizationsSupported- Whether the model supports fine-tuning or continual pre-training.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customizationsSupportedWithStrings
FoundationModelSummary.Builder customizationsSupportedWithStrings(String... customizationsSupported) Whether the model supports fine-tuning or continual pre-training.
- Parameters:
customizationsSupported- Whether the model supports fine-tuning or continual pre-training.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customizationsSupported
FoundationModelSummary.Builder customizationsSupported(Collection<ModelCustomization> customizationsSupported) Whether the model supports fine-tuning or continual pre-training.
- Parameters:
customizationsSupported- Whether the model supports fine-tuning or continual pre-training.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customizationsSupported
FoundationModelSummary.Builder customizationsSupported(ModelCustomization... customizationsSupported) Whether the model supports fine-tuning or continual pre-training.
- Parameters:
customizationsSupported- Whether the model supports fine-tuning or continual pre-training.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inferenceTypesSupportedWithStrings
FoundationModelSummary.Builder inferenceTypesSupportedWithStrings(Collection<String> inferenceTypesSupported) The inference types that the model supports.
- Parameters:
inferenceTypesSupported- The inference types that the model supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inferenceTypesSupportedWithStrings
FoundationModelSummary.Builder inferenceTypesSupportedWithStrings(String... inferenceTypesSupported) The inference types that the model supports.
- Parameters:
inferenceTypesSupported- The inference types that the model supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inferenceTypesSupported
FoundationModelSummary.Builder inferenceTypesSupported(Collection<InferenceType> inferenceTypesSupported) The inference types that the model supports.
- Parameters:
inferenceTypesSupported- The inference types that the model supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inferenceTypesSupported
The inference types that the model supports.
- Parameters:
inferenceTypesSupported- The inference types that the model supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-