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 interface
GetScalingConfigurationRecommendationResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetScalingConfigurationRecommendationResponse.Builder
builder()
DynamicScalingConfiguration
dynamicScalingConfiguration()
An object with the recommended values for you to specify when creating an autoscaling policy.String
endpointName()
The name of an endpoint benchmarked during a previously completed Inference Recommender job.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
inferenceRecommendationsJobName()
The name of a previously completed Inference Recommender job.ScalingPolicyMetric
metric()
An object with a list of metrics that were benchmarked during the previously completed Inference Recommender job.String
recommendationId()
The recommendation ID of a previously completed inference recommendation.ScalingPolicyObjective
scalingPolicyObjective()
An object representing the anticipated traffic pattern for an endpoint that you specified in the request.List<SdkField<?>>
sdkFields()
static Class<? extends GetScalingConfigurationRecommendationResponse.Builder>
serializableBuilderClass()
Integer
targetCpuUtilizationPerCore()
The percentage of how much utilization you want an instance to use before autoscaling, which you specified in the request.GetScalingConfigurationRecommendationResponse.Builder
toBuilder()
String
toString()
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:
toBuilder
in interfaceToCopyableBuilder<GetScalingConfigurationRecommendationResponse.Builder,GetScalingConfigurationRecommendationResponse>
- Specified by:
toBuilder
in classAwsResponse
-
builder
public static GetScalingConfigurationRecommendationResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetScalingConfigurationRecommendationResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
getValueForField
in classSdkResponse
-
-