Interface GetScalingConfigurationRecommendationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetScalingConfigurationRecommendationResponse.Builder,
,GetScalingConfigurationRecommendationResponse> SageMakerResponse.Builder
,SdkBuilder<GetScalingConfigurationRecommendationResponse.Builder,
,GetScalingConfigurationRecommendationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetScalingConfigurationRecommendationResponse
-
Method Summary
Modifier and TypeMethodDescriptiondynamicScalingConfiguration
(Consumer<DynamicScalingConfiguration.Builder> dynamicScalingConfiguration) An object with the recommended values for you to specify when creating an autoscaling policy.dynamicScalingConfiguration
(DynamicScalingConfiguration dynamicScalingConfiguration) An object with the recommended values for you to specify when creating an autoscaling policy.endpointName
(String endpointName) The name of an endpoint benchmarked during a previously completed Inference Recommender job.inferenceRecommendationsJobName
(String inferenceRecommendationsJobName) The name of a previously completed Inference Recommender job.metric
(Consumer<ScalingPolicyMetric.Builder> metric) An object with a list of metrics that were benchmarked during the previously completed Inference Recommender job.metric
(ScalingPolicyMetric metric) An object with a list of metrics that were benchmarked during the previously completed Inference Recommender job.recommendationId
(String recommendationId) The recommendation ID of a previously completed inference recommendation.scalingPolicyObjective
(Consumer<ScalingPolicyObjective.Builder> scalingPolicyObjective) An object representing the anticipated traffic pattern for an endpoint that you specified in the request.scalingPolicyObjective
(ScalingPolicyObjective scalingPolicyObjective) An object representing the anticipated traffic pattern for an endpoint that you specified in the request.targetCpuUtilizationPerCore
(Integer targetCpuUtilizationPerCore) The percentage of how much utilization you want an instance to use before autoscaling, which you specified in the request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
inferenceRecommendationsJobName
GetScalingConfigurationRecommendationResponse.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.
- Parameters:
recommendationId
- The recommendation ID of a previously completed inference recommendation.- 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 Recommender job.
- Parameters:
endpointName
- The name of an endpoint benchmarked during a previously completed Inference Recommender job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetCpuUtilizationPerCore
GetScalingConfigurationRecommendationResponse.Builder targetCpuUtilizationPerCore(Integer targetCpuUtilizationPerCore) The percentage of how much utilization you want an instance to use before autoscaling, which you specified in the request. The default value is 50%.
- Parameters:
targetCpuUtilizationPerCore
- The percentage of how much utilization you want an instance to use before autoscaling, which you specified in the request. The default value is 50%.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingPolicyObjective
GetScalingConfigurationRecommendationResponse.Builder scalingPolicyObjective(ScalingPolicyObjective scalingPolicyObjective) An object representing the anticipated traffic pattern for an endpoint that you specified in the request.
- Parameters:
scalingPolicyObjective
- An object representing the anticipated traffic pattern for an endpoint that you specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingPolicyObjective
default GetScalingConfigurationRecommendationResponse.Builder scalingPolicyObjective(Consumer<ScalingPolicyObjective.Builder> scalingPolicyObjective) An object representing the anticipated traffic pattern for an endpoint that you specified in the request.
This is a convenience method that creates an instance of theScalingPolicyObjective.Builder
avoiding the need to create one manually viaScalingPolicyObjective.builder()
.When the
Consumer
completes,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:
-
metric
An object with a list of metrics that were benchmarked during the previously completed Inference Recommender job.
- Parameters:
metric
- An object with a list of metrics that were benchmarked during the previously completed Inference Recommender job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metric
default GetScalingConfigurationRecommendationResponse.Builder metric(Consumer<ScalingPolicyMetric.Builder> metric) An object with a list of metrics that were benchmarked during the previously completed Inference Recommender job.
This is a convenience method that creates an instance of theScalingPolicyMetric.Builder
avoiding the need to create one manually viaScalingPolicyMetric.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometric(ScalingPolicyMetric)
.- Parameters:
metric
- a consumer that will call methods onScalingPolicyMetric.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dynamicScalingConfiguration
GetScalingConfigurationRecommendationResponse.Builder dynamicScalingConfiguration(DynamicScalingConfiguration dynamicScalingConfiguration) An object with the recommended values for you to specify when creating an autoscaling policy.
- Parameters:
dynamicScalingConfiguration
- An object with the recommended values for you to specify when creating an autoscaling policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dynamicScalingConfiguration
default GetScalingConfigurationRecommendationResponse.Builder dynamicScalingConfiguration(Consumer<DynamicScalingConfiguration.Builder> dynamicScalingConfiguration) An object with the recommended values for you to specify when creating an autoscaling policy.
This is a convenience method that creates an instance of theDynamicScalingConfiguration.Builder
avoiding the need to create one manually viaDynamicScalingConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todynamicScalingConfiguration(DynamicScalingConfiguration)
.- Parameters:
dynamicScalingConfiguration
- a consumer that will call methods onDynamicScalingConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-