Interface ModelSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ModelSummary.Builder,,ModelSummary> SdkBuilder<ModelSummary.Builder,,ModelSummary> SdkPojo
- Enclosing class:
ModelSummary
-
Method Summary
Modifier and TypeMethodDescriptioncrossRegionStatus(String crossRegionStatus) The cross-region availability status of the model.crossRegionStatus(CrossRegionStatus crossRegionStatus) The cross-region availability status of the model.displayName(String displayName) The display name of the model.endOfLifeTimestamp(Instant endOfLifeTimestamp) The timestamp when the model will reach end of life and no longer be available for use.legacyTimestamp(Instant legacyTimestamp) The timestamp when the model lifecycle will transition fromACTIVEtoLEGACY.The identifier of the model.modelLifecycle(String modelLifecycle) The current lifecycle of the model.modelLifecycle(ModelLifecycle modelLifecycle) The current lifecycle of the model.supportedAIPromptTypes(Collection<AIPromptType> supportedAIPromptTypes) The list of AI Prompt types that the model supports.supportedAIPromptTypes(AIPromptType... supportedAIPromptTypes) The list of AI Prompt types that the model supports.supportedAIPromptTypesWithStrings(String... supportedAIPromptTypes) The list of AI Prompt types that the model supports.supportedAIPromptTypesWithStrings(Collection<String> supportedAIPromptTypes) The list of AI Prompt types that the model supports.supportsPromptCaching(Boolean supportsPromptCaching) Whether the model supports prompt caching.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, sdkFieldNameToField, sdkFields
-
Method Details
-
modelId
The identifier of the model.
- Parameters:
modelId- The identifier of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The display name of the model.
- Parameters:
displayName- The display name of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
crossRegionStatus
The cross-region availability status of the model.
NONEindicates the model is only available in a single region,REGIONALindicates the model is available through regional inference, andGLOBALindicates the model is available through global cross-region inference.- Parameters:
crossRegionStatus- The cross-region availability status of the model.NONEindicates the model is only available in a single region,REGIONALindicates the model is available through regional inference, andGLOBALindicates the model is available through global cross-region inference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
crossRegionStatus
The cross-region availability status of the model.
NONEindicates the model is only available in a single region,REGIONALindicates the model is available through regional inference, andGLOBALindicates the model is available through global cross-region inference.- Parameters:
crossRegionStatus- The cross-region availability status of the model.NONEindicates the model is only available in a single region,REGIONALindicates the model is available through regional inference, andGLOBALindicates the model is available through global cross-region inference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
supportsPromptCaching
Whether the model supports prompt caching.
- Parameters:
supportsPromptCaching- Whether the model supports prompt caching.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedAIPromptTypesWithStrings
The list of AI Prompt types that the model supports.
- Parameters:
supportedAIPromptTypes- The list of AI Prompt types that the model supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedAIPromptTypesWithStrings
The list of AI Prompt types that the model supports.
- Parameters:
supportedAIPromptTypes- The list of AI Prompt types that the model supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedAIPromptTypes
The list of AI Prompt types that the model supports.
- Parameters:
supportedAIPromptTypes- The list of AI Prompt types that the model supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedAIPromptTypes
The list of AI Prompt types that the model supports.
- Parameters:
supportedAIPromptTypes- The list of AI Prompt types that the model supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelLifecycle
The current lifecycle of the model.
ACTIVEindicates the model is recommended for use andLEGACYindicates the model is still usable but is deprecated.- Parameters:
modelLifecycle- The current lifecycle of the model.ACTIVEindicates the model is recommended for use andLEGACYindicates the model is still usable but is deprecated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modelLifecycle
The current lifecycle of the model.
ACTIVEindicates the model is recommended for use andLEGACYindicates the model is still usable but is deprecated.- Parameters:
modelLifecycle- The current lifecycle of the model.ACTIVEindicates the model is recommended for use andLEGACYindicates the model is still usable but is deprecated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
legacyTimestamp
The timestamp when the model lifecycle will transition from
ACTIVEtoLEGACY.- Parameters:
legacyTimestamp- The timestamp when the model lifecycle will transition fromACTIVEtoLEGACY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endOfLifeTimestamp
The timestamp when the model will reach end of life and no longer be available for use.
- Parameters:
endOfLifeTimestamp- The timestamp when the model will reach end of life and no longer be available for use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-