Class GetScalingConfigurationRecommendationResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.sagemaker.model.SageMakerResponse
-
- software.amazon.awssdk.services.sagemaker.model.GetScalingConfigurationRecommendationResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetScalingConfigurationRecommendationResponse.Builder,GetScalingConfigurationRecommendationResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetScalingConfigurationRecommendationResponse extends SageMakerResponse implements ToCopyableBuilder<GetScalingConfigurationRecommendationResponse.Builder,GetScalingConfigurationRecommendationResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetScalingConfigurationRecommendationResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetScalingConfigurationRecommendationResponse.Builderbuilder()DynamicScalingConfigurationdynamicScalingConfiguration()An object with the recommended values for you to specify when creating an autoscaling policy.StringendpointName()The name of an endpoint benchmarked during a previously completed Inference Recommender 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.ScalingPolicyMetricmetric()An object with a list of metrics that were benchmarked during the previously completed Inference Recommender job.StringrecommendationId()The recommendation ID of a previously completed inference recommendation.ScalingPolicyObjectivescalingPolicyObjective()An object representing the anticipated traffic pattern for an endpoint that you specified in the request.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetScalingConfigurationRecommendationResponse.Builder>serializableBuilderClass()IntegertargetCpuUtilizationPerCore()The percentage of how much utilization you want an instance to use before autoscaling, which you specified in the request.GetScalingConfigurationRecommendationResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.sagemaker.model.SageMakerResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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.
- Returns:
- The recommendation ID of a previously completed inference recommendation.
-
endpointName
public final String endpointName()
The name of an endpoint benchmarked during a previously completed Inference Recommender job.
- Returns:
- The name of an endpoint benchmarked during a previously completed Inference Recommender job.
-
targetCpuUtilizationPerCore
public final 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%.
- Returns:
- 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%.
-
scalingPolicyObjective
public final ScalingPolicyObjective scalingPolicyObjective()
An object representing the anticipated traffic pattern for an endpoint that you specified in the request.
- Returns:
- An object representing the anticipated traffic pattern for an endpoint that you specified in the request.
-
metric
public final ScalingPolicyMetric metric()
An object with a list of metrics that were benchmarked during the previously completed Inference Recommender job.
- Returns:
- An object with a list of metrics that were benchmarked during the previously completed Inference Recommender job.
-
dynamicScalingConfiguration
public final DynamicScalingConfiguration dynamicScalingConfiguration()
An object with the recommended values for you to specify when creating an autoscaling policy.
- Returns:
- An object with the recommended values for you to specify when creating an autoscaling policy.
-
toBuilder
public GetScalingConfigurationRecommendationResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetScalingConfigurationRecommendationResponse.Builder,GetScalingConfigurationRecommendationResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetScalingConfigurationRecommendationResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetScalingConfigurationRecommendationResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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 classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-