Class GetScalingConfigurationRecommendationRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.sagemaker.model.SageMakerRequest
-
- software.amazon.awssdk.services.sagemaker.model.GetScalingConfigurationRecommendationRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetScalingConfigurationRecommendationRequest.Builder,GetScalingConfigurationRecommendationRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetScalingConfigurationRecommendationRequest extends SageMakerRequest implements ToCopyableBuilder<GetScalingConfigurationRecommendationRequest.Builder,GetScalingConfigurationRecommendationRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetScalingConfigurationRecommendationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetScalingConfigurationRecommendationRequest.Builderbuilder()StringendpointName()The name of an endpoint benchmarked during a previously completed inference recommendation job.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinferenceRecommendationsJobName()The name of a previously completed Inference Recommender job.StringrecommendationId()The recommendation ID of a previously completed inference recommendation.ScalingPolicyObjectivescalingPolicyObjective()An object where you specify the anticipated traffic pattern for an endpoint.List<SdkField<?>>sdkFields()static Class<? extends GetScalingConfigurationRecommendationRequest.Builder>serializableBuilderClass()IntegertargetCpuUtilizationPerCore()The percentage of how much utilization you want an instance to use before autoscaling.GetScalingConfigurationRecommendationRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
inferenceRecommendationsJobName
public final String inferenceRecommendationsJobName()
The name of a previously completed Inference Recommender job.
- Returns:
- The name of a previously completed Inference Recommender job.
-
recommendationId
public final String 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.- Returns:
- 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.
-
endpointName
public final String 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.- Returns:
- 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.
-
targetCpuUtilizationPerCore
public final Integer targetCpuUtilizationPerCore()
The percentage of how much utilization you want an instance to use before autoscaling. The default value is 50%.
- Returns:
- The percentage of how much utilization you want an instance to use before autoscaling. The default value is 50%.
-
scalingPolicyObjective
public final ScalingPolicyObjective scalingPolicyObjective()
An object where you specify the anticipated traffic pattern for an endpoint.
- Returns:
- An object where you specify the anticipated traffic pattern for an endpoint.
-
toBuilder
public GetScalingConfigurationRecommendationRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetScalingConfigurationRecommendationRequest.Builder,GetScalingConfigurationRecommendationRequest>- Specified by:
toBuilderin classSageMakerRequest
-
builder
public static GetScalingConfigurationRecommendationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetScalingConfigurationRecommendationRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-