Interface AIRecommendationModelDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AIRecommendationModelDetails.Builder,,AIRecommendationModelDetails> SdkBuilder<AIRecommendationModelDetails.Builder,,AIRecommendationModelDetails> SdkPojo
- Enclosing class:
AIRecommendationModelDetails
@Mutable
@NotThreadSafe
public static interface AIRecommendationModelDetails.Builder
extends SdkPojo, CopyableBuilder<AIRecommendationModelDetails.Builder,AIRecommendationModelDetails>
-
Method Summary
Modifier and TypeMethodDescriptioninferenceSpecificationName(String inferenceSpecificationName) The name of the inference specification within the model package.instanceDetails(Collection<AIRecommendationInstanceDetail> instanceDetails) The instance details for this recommendation, including instance type, count, and model copies per instance.instanceDetails(Consumer<AIRecommendationInstanceDetail.Builder>... instanceDetails) The instance details for this recommendation, including instance type, count, and model copies per instance.instanceDetails(AIRecommendationInstanceDetail... instanceDetails) The instance details for this recommendation, including instance type, count, and model copies per instance.modelPackageArn(String modelPackageArn) The Amazon Resource Name (ARN) of the model package.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
-
modelPackageArn
The Amazon Resource Name (ARN) of the model package.
- Parameters:
modelPackageArn- The Amazon Resource Name (ARN) of the model package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inferenceSpecificationName
The name of the inference specification within the model package.
- Parameters:
inferenceSpecificationName- The name of the inference specification within the model package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceDetails
AIRecommendationModelDetails.Builder instanceDetails(Collection<AIRecommendationInstanceDetail> instanceDetails) The instance details for this recommendation, including instance type, count, and model copies per instance.
- Parameters:
instanceDetails- The instance details for this recommendation, including instance type, count, and model copies per instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceDetails
AIRecommendationModelDetails.Builder instanceDetails(AIRecommendationInstanceDetail... instanceDetails) The instance details for this recommendation, including instance type, count, and model copies per instance.
- Parameters:
instanceDetails- The instance details for this recommendation, including instance type, count, and model copies per instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceDetails
AIRecommendationModelDetails.Builder instanceDetails(Consumer<AIRecommendationInstanceDetail.Builder>... instanceDetails) The instance details for this recommendation, including instance type, count, and model copies per instance.
This is a convenience method that creates an instance of theAIRecommendationInstanceDetail.Builderavoiding the need to create one manually viaAIRecommendationInstanceDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinstanceDetails(List<AIRecommendationInstanceDetail>).- Parameters:
instanceDetails- a consumer that will call methods onAIRecommendationInstanceDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-