public static interface GetScalingConfigurationRecommendationResponse.Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<GetScalingConfigurationRecommendationResponse.Builder,GetScalingConfigurationRecommendationResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetScalingConfigurationRecommendationResponse.Builder |
dynamicScalingConfiguration(Consumer<DynamicScalingConfiguration.Builder> dynamicScalingConfiguration)
An object with the recommended values for you to specify when creating an autoscaling policy.
|
GetScalingConfigurationRecommendationResponse.Builder |
dynamicScalingConfiguration(DynamicScalingConfiguration dynamicScalingConfiguration)
An object with the recommended values for you to specify when creating an autoscaling policy.
|
GetScalingConfigurationRecommendationResponse.Builder |
endpointName(String endpointName)
The name of an endpoint benchmarked during a previously completed Inference Recommender job.
|
GetScalingConfigurationRecommendationResponse.Builder |
inferenceRecommendationsJobName(String inferenceRecommendationsJobName)
The name of a previously completed Inference Recommender job.
|
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.
|
GetScalingConfigurationRecommendationResponse.Builder |
metric(ScalingPolicyMetric metric)
An object with a list of metrics that were benchmarked during the previously completed Inference Recommender
job.
|
GetScalingConfigurationRecommendationResponse.Builder |
recommendationId(String recommendationId)
The recommendation ID of a previously completed inference recommendation.
|
default GetScalingConfigurationRecommendationResponse.Builder |
scalingPolicyObjective(Consumer<ScalingPolicyObjective.Builder> scalingPolicyObjective)
An object representing the anticipated traffic pattern for an endpoint that you specified in the request.
|
GetScalingConfigurationRecommendationResponse.Builder |
scalingPolicyObjective(ScalingPolicyObjective scalingPolicyObjective)
An object representing the anticipated traffic pattern for an endpoint that you specified in the request.
|
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.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetScalingConfigurationRecommendationResponse.Builder inferenceRecommendationsJobName(String inferenceRecommendationsJobName)
The name of a previously completed Inference Recommender job.
inferenceRecommendationsJobName - The name of a previously completed Inference Recommender job.GetScalingConfigurationRecommendationResponse.Builder recommendationId(String recommendationId)
The recommendation ID of a previously completed inference recommendation.
recommendationId - The recommendation ID of a previously completed inference recommendation.GetScalingConfigurationRecommendationResponse.Builder endpointName(String endpointName)
The name of an endpoint benchmarked during a previously completed Inference Recommender job.
endpointName - The name of an endpoint benchmarked during a previously completed Inference Recommender job.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%.
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%.GetScalingConfigurationRecommendationResponse.Builder scalingPolicyObjective(ScalingPolicyObjective scalingPolicyObjective)
An object representing the anticipated traffic pattern for an endpoint that you specified in the request.
scalingPolicyObjective - An object representing the anticipated traffic pattern for an endpoint that you specified in the
request.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 via ScalingPolicyObjective.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to scalingPolicyObjective(ScalingPolicyObjective).
scalingPolicyObjective - a consumer that will call methods on ScalingPolicyObjective.BuilderscalingPolicyObjective(ScalingPolicyObjective)GetScalingConfigurationRecommendationResponse.Builder metric(ScalingPolicyMetric metric)
An object with a list of metrics that were benchmarked during the previously completed Inference Recommender job.
metric - An object with a list of metrics that were benchmarked during the previously completed Inference
Recommender job.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 via ScalingPolicyMetric.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to metric(ScalingPolicyMetric).
metric - a consumer that will call methods on ScalingPolicyMetric.Buildermetric(ScalingPolicyMetric)GetScalingConfigurationRecommendationResponse.Builder dynamicScalingConfiguration(DynamicScalingConfiguration dynamicScalingConfiguration)
An object with the recommended values for you to specify when creating an autoscaling policy.
dynamicScalingConfiguration - An object with the recommended values for you to specify when creating an autoscaling policy.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 via DynamicScalingConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to dynamicScalingConfiguration(DynamicScalingConfiguration).
dynamicScalingConfiguration - a consumer that will call methods on DynamicScalingConfiguration.BuilderdynamicScalingConfiguration(DynamicScalingConfiguration)Copyright © 2023. All rights reserved.