Interface InferenceComponentRuntimeConfigSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InferenceComponentRuntimeConfigSummary.Builder,,InferenceComponentRuntimeConfigSummary> SdkBuilder<InferenceComponentRuntimeConfigSummary.Builder,,InferenceComponentRuntimeConfigSummary> SdkPojo
- Enclosing class:
InferenceComponentRuntimeConfigSummary
-
Method Summary
Modifier and TypeMethodDescriptioncurrentCopyCount(Integer currentCopyCount) The number of runtime copies of the model container that are currently deployed.desiredCopyCount(Integer desiredCopyCount) The number of runtime copies of the model container that you requested to deploy with the inference component.placementStatus(Collection<InferenceComponentPlacementStatus> placementStatus) The placement status of the inference component across instance types.placementStatus(Consumer<InferenceComponentPlacementStatus.Builder>... placementStatus) The placement status of the inference component across instance types.placementStatus(InferenceComponentPlacementStatus... placementStatus) The placement status of the inference component across instance types.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
-
desiredCopyCount
The number of runtime copies of the model container that you requested to deploy with the inference component.
- Parameters:
desiredCopyCount- The number of runtime copies of the model container that you requested to deploy with the inference component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentCopyCount
The number of runtime copies of the model container that are currently deployed.
- Parameters:
currentCopyCount- The number of runtime copies of the model container that are currently deployed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
placementStatus
InferenceComponentRuntimeConfigSummary.Builder placementStatus(Collection<InferenceComponentPlacementStatus> placementStatus) The placement status of the inference component across instance types. Shows how the inference component copies are distributed across instance types.
- Parameters:
placementStatus- The placement status of the inference component across instance types. Shows how the inference component copies are distributed across instance types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
placementStatus
InferenceComponentRuntimeConfigSummary.Builder placementStatus(InferenceComponentPlacementStatus... placementStatus) The placement status of the inference component across instance types. Shows how the inference component copies are distributed across instance types.
- Parameters:
placementStatus- The placement status of the inference component across instance types. Shows how the inference component copies are distributed across instance types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
placementStatus
InferenceComponentRuntimeConfigSummary.Builder placementStatus(Consumer<InferenceComponentPlacementStatus.Builder>... placementStatus) The placement status of the inference component across instance types. Shows how the inference component copies are distributed across instance types.
This is a convenience method that creates an instance of theInferenceComponentPlacementStatus.Builderavoiding the need to create one manually viaInferenceComponentPlacementStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toplacementStatus(List<InferenceComponentPlacementStatus>).- Parameters:
placementStatus- a consumer that will call methods onInferenceComponentPlacementStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-