Interface GetScalingConfigurationRecommendationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetScalingConfigurationRecommendationResponse.Builder,GetScalingConfigurationRecommendationResponse>,SageMakerResponse.Builder,SdkBuilder<GetScalingConfigurationRecommendationResponse.Builder,GetScalingConfigurationRecommendationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetScalingConfigurationRecommendationResponse
public static interface GetScalingConfigurationRecommendationResponse.Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<GetScalingConfigurationRecommendationResponse.Builder,GetScalingConfigurationRecommendationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetScalingConfigurationRecommendationResponse.BuilderdynamicScalingConfiguration(Consumer<DynamicScalingConfiguration.Builder> dynamicScalingConfiguration)An object with the recommended values for you to specify when creating an autoscaling policy.GetScalingConfigurationRecommendationResponse.BuilderdynamicScalingConfiguration(DynamicScalingConfiguration dynamicScalingConfiguration)An object with the recommended values for you to specify when creating an autoscaling policy.GetScalingConfigurationRecommendationResponse.BuilderendpointName(String endpointName)The name of an endpoint benchmarked during a previously completed Inference Recommender job.GetScalingConfigurationRecommendationResponse.BuilderinferenceRecommendationsJobName(String inferenceRecommendationsJobName)The name of a previously completed Inference Recommender job.default GetScalingConfigurationRecommendationResponse.Buildermetric(Consumer<ScalingPolicyMetric.Builder> metric)An object with a list of metrics that were benchmarked during the previously completed Inference Recommender job.GetScalingConfigurationRecommendationResponse.Buildermetric(ScalingPolicyMetric metric)An object with a list of metrics that were benchmarked during the previously completed Inference Recommender job.GetScalingConfigurationRecommendationResponse.BuilderrecommendationId(String recommendationId)The recommendation ID of a previously completed inference recommendation.default GetScalingConfigurationRecommendationResponse.BuilderscalingPolicyObjective(Consumer<ScalingPolicyObjective.Builder> scalingPolicyObjective)An object representing the anticipated traffic pattern for an endpoint that you specified in the request.GetScalingConfigurationRecommendationResponse.BuilderscalingPolicyObjective(ScalingPolicyObjective scalingPolicyObjective)An object representing the anticipated traffic pattern for an endpoint that you specified in the request.GetScalingConfigurationRecommendationResponse.BuildertargetCpuUtilizationPerCore(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 Detail
-
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
GetScalingConfigurationRecommendationResponse.Builder recommendationId(String 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
GetScalingConfigurationRecommendationResponse.Builder endpointName(String 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.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:
scalingPolicyObjective(ScalingPolicyObjective)
-
metric
GetScalingConfigurationRecommendationResponse.Builder metric(ScalingPolicyMetric 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.Builderavoiding the need to create one manually viaScalingPolicyMetric.builder().When the
Consumercompletes,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:
metric(ScalingPolicyMetric)
-
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.Builderavoiding the need to create one manually viaDynamicScalingConfiguration.builder().When the
Consumercompletes,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:
dynamicScalingConfiguration(DynamicScalingConfiguration)
-
-