Interface ModelSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ModelSummary.Builder,,ModelSummary> SdkBuilder<ModelSummary.Builder,,ModelSummary> SdkPojo
- Enclosing class:
ModelSummary
@Mutable
@NotThreadSafe
public static interface ModelSummary.Builder
extends SdkPojo, CopyableBuilder<ModelSummary.Builder,ModelSummary>
-
Method Summary
Modifier and TypeMethodDescriptionminimumCompatibilityVersion(Integer minimumCompatibilityVersion) The minimum client compatibility version required to use this model.The unique identifier of the model.default ModelSummary.BuildermodelLifecycle(Consumer<ModelLifecycle.Builder> modelLifecycle) The lifecycle information for the model.modelLifecycle(ModelLifecycle modelLifecycle) The lifecycle information for the model.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 unique identifier of the model.
- Parameters:
modelId- The unique identifier of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelLifecycle
The lifecycle information for the model.
- Parameters:
modelLifecycle- The lifecycle information for the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelLifecycle
The lifecycle information for the model.
This is a convenience method that creates an instance of theModelLifecycle.Builderavoiding the need to create one manually viaModelLifecycle.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomodelLifecycle(ModelLifecycle).- Parameters:
modelLifecycle- a consumer that will call methods onModelLifecycle.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
minimumCompatibilityVersion
The minimum client compatibility version required to use this model.
- Parameters:
minimumCompatibilityVersion- The minimum client compatibility version required to use this model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-