Interface GetScalingConfigurationRecommendationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetScalingConfigurationRecommendationRequest.Builder,,GetScalingConfigurationRecommendationRequest> SageMakerRequest.Builder,SdkBuilder<GetScalingConfigurationRecommendationRequest.Builder,,GetScalingConfigurationRecommendationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetScalingConfigurationRecommendationRequest
-
Method Summary
Modifier and TypeMethodDescriptionendpointName(String endpointName) The name of an endpoint benchmarked during a previously completed inference recommendation job.inferenceRecommendationsJobName(String inferenceRecommendationsJobName) The name of a previously completed Inference Recommender job.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.recommendationId(String recommendationId) The recommendation ID of a previously completed inference recommendation.scalingPolicyObjective(Consumer<ScalingPolicyObjective.Builder> scalingPolicyObjective) An object where you specify the anticipated traffic pattern for an endpoint.scalingPolicyObjective(ScalingPolicyObjective scalingPolicyObjective) An object where you specify the anticipated traffic pattern for an endpoint.targetCpuUtilizationPerCore(Integer targetCpuUtilizationPerCore) The percentage of how much utilization you want an instance to use before autoscaling.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
inferenceRecommendationsJobName
GetScalingConfigurationRecommendationRequest.Builder inferenceRecommendationsJobName(String inferenceRecommendationsJobName) The name of a previously completed Inference Recommender job.
- Parameters:
inferenceRecommendationsJobName- The name of a previously completed Inference Recommender job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendationId
The recommendation ID of a previously completed inference recommendation. This ID should come from one of the recommendations returned by the job specified in the
InferenceRecommendationsJobNamefield.Specify either this field or the
EndpointNamefield.- Parameters:
recommendationId- The recommendation ID of a previously completed inference recommendation. This ID should come from one of the recommendations returned by the job specified in theInferenceRecommendationsJobNamefield.Specify either this field or the
EndpointNamefield.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointName
The name of an endpoint benchmarked during a previously completed inference recommendation job. This name should come from one of the recommendations returned by the job specified in the
InferenceRecommendationsJobNamefield.Specify either this field or the
RecommendationIdfield.- Parameters:
endpointName- The name of an endpoint benchmarked during a previously completed inference recommendation job. This name should come from one of the recommendations returned by the job specified in theInferenceRecommendationsJobNamefield.Specify either this field or the
RecommendationIdfield.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetCpuUtilizationPerCore
GetScalingConfigurationRecommendationRequest.Builder targetCpuUtilizationPerCore(Integer targetCpuUtilizationPerCore) The percentage of how much utilization you want an instance to use before autoscaling. The default value is 50%.
- Parameters:
targetCpuUtilizationPerCore- The percentage of how much utilization you want an instance to use before autoscaling. The default value is 50%.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingPolicyObjective
GetScalingConfigurationRecommendationRequest.Builder scalingPolicyObjective(ScalingPolicyObjective scalingPolicyObjective) An object where you specify the anticipated traffic pattern for an endpoint.
- Parameters:
scalingPolicyObjective- An object where you specify the anticipated traffic pattern for an endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingPolicyObjective
default GetScalingConfigurationRecommendationRequest.Builder scalingPolicyObjective(Consumer<ScalingPolicyObjective.Builder> scalingPolicyObjective) An object where you specify the anticipated traffic pattern for an endpoint.
This is a convenience method that creates an instance of theScalingPolicyObjective.Builderavoiding the need to create one manually viaScalingPolicyObjective.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscalingPolicyObjective(ScalingPolicyObjective).- Parameters:
scalingPolicyObjective- a consumer that will call methods onScalingPolicyObjective.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
GetScalingConfigurationRecommendationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetScalingConfigurationRecommendationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-