Interface FoundationModelSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FoundationModelSummary.Builder,FoundationModelSummary>,SdkBuilder<FoundationModelSummary.Builder,FoundationModelSummary>,SdkPojo
- Enclosing class:
- FoundationModelSummary
public static interface FoundationModelSummary.Builder extends SdkPojo, CopyableBuilder<FoundationModelSummary.Builder,FoundationModelSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description FoundationModelSummary.BuildercustomizationsSupported(Collection<ModelCustomization> customizationsSupported)Whether the model supports fine-tuning or continual pre-training.FoundationModelSummary.BuildercustomizationsSupported(ModelCustomization... customizationsSupported)Whether the model supports fine-tuning or continual pre-training.FoundationModelSummary.BuildercustomizationsSupportedWithStrings(String... customizationsSupported)Whether the model supports fine-tuning or continual pre-training.FoundationModelSummary.BuildercustomizationsSupportedWithStrings(Collection<String> customizationsSupported)Whether the model supports fine-tuning or continual pre-training.FoundationModelSummary.BuilderinferenceTypesSupported(Collection<InferenceType> inferenceTypesSupported)The inference types that the model supports.FoundationModelSummary.BuilderinferenceTypesSupported(InferenceType... inferenceTypesSupported)The inference types that the model supports.FoundationModelSummary.BuilderinferenceTypesSupportedWithStrings(String... inferenceTypesSupported)The inference types that the model supports.FoundationModelSummary.BuilderinferenceTypesSupportedWithStrings(Collection<String> inferenceTypesSupported)The inference types that the model supports.FoundationModelSummary.BuilderinputModalities(Collection<ModelModality> inputModalities)The input modalities that the model supports.FoundationModelSummary.BuilderinputModalities(ModelModality... inputModalities)The input modalities that the model supports.FoundationModelSummary.BuilderinputModalitiesWithStrings(String... inputModalities)The input modalities that the model supports.FoundationModelSummary.BuilderinputModalitiesWithStrings(Collection<String> inputModalities)The input modalities that the model supports.FoundationModelSummary.BuildermodelArn(String modelArn)The ARN of the foundation model.FoundationModelSummary.BuildermodelId(String modelId)The model Id of the foundation model.default FoundationModelSummary.BuildermodelLifecycle(Consumer<FoundationModelLifecycle.Builder> modelLifecycle)Contains details about whether a model version is available or deprecated.FoundationModelSummary.BuildermodelLifecycle(FoundationModelLifecycle modelLifecycle)Contains details about whether a model version is available or deprecated.FoundationModelSummary.BuildermodelName(String modelName)The name of the model.FoundationModelSummary.BuilderoutputModalities(Collection<ModelModality> outputModalities)The output modalities that the model supports.FoundationModelSummary.BuilderoutputModalities(ModelModality... outputModalities)The output modalities that the model supports.FoundationModelSummary.BuilderoutputModalitiesWithStrings(String... outputModalities)The output modalities that the model supports.FoundationModelSummary.BuilderoutputModalitiesWithStrings(Collection<String> outputModalities)The output modalities that the model supports.FoundationModelSummary.BuilderproviderName(String providerName)The model's provider name.FoundationModelSummary.BuilderresponseStreamingSupported(Boolean responseStreamingSupported)Indicates whether the model supports streaming.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
modelArn
FoundationModelSummary.Builder modelArn(String 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
FoundationModelSummary.Builder modelId(String 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
FoundationModelSummary.Builder modelName(String 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
FoundationModelSummary.Builder providerName(String 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
FoundationModelSummary.Builder inputModalitiesWithStrings(Collection<String> 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.
-
inputModalitiesWithStrings
FoundationModelSummary.Builder inputModalitiesWithStrings(String... 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
FoundationModelSummary.Builder inputModalities(Collection<ModelModality> 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
FoundationModelSummary.Builder inputModalities(ModelModality... 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
FoundationModelSummary.Builder outputModalitiesWithStrings(Collection<String> 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.
-
outputModalitiesWithStrings
FoundationModelSummary.Builder outputModalitiesWithStrings(String... 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
FoundationModelSummary.Builder outputModalities(Collection<ModelModality> 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
FoundationModelSummary.Builder outputModalities(ModelModality... 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
FoundationModelSummary.Builder responseStreamingSupported(Boolean 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
FoundationModelSummary.Builder inferenceTypesSupported(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.
-
modelLifecycle
FoundationModelSummary.Builder modelLifecycle(FoundationModelLifecycle modelLifecycle)
Contains details about whether a model version is available or deprecated.
- Parameters:
modelLifecycle- Contains details about whether a model version is available or deprecated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelLifecycle
default FoundationModelSummary.Builder modelLifecycle(Consumer<FoundationModelLifecycle.Builder> modelLifecycle)
Contains details about whether a model version is available or deprecated.
This is a convenience method that creates an instance of theFoundationModelLifecycle.Builderavoiding the need to create one manually viaFoundationModelLifecycle.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomodelLifecycle(FoundationModelLifecycle).- Parameters:
modelLifecycle- a consumer that will call methods onFoundationModelLifecycle.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
modelLifecycle(FoundationModelLifecycle)
-
-