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 interface
GetScalingConfigurationRecommendationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetScalingConfigurationRecommendationRequest.Builder
builder()
String
endpointName()
The name of an endpoint benchmarked during a previously completed inference recommendation 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.String
recommendationId()
The recommendation ID of a previously completed inference recommendation.ScalingPolicyObjective
scalingPolicyObjective()
An object where you specify the anticipated traffic pattern for an endpoint.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends GetScalingConfigurationRecommendationRequest.Builder>
serializableBuilderClass()
Integer
targetCpuUtilizationPerCore()
The percentage of how much utilization you want an instance to use before autoscaling.GetScalingConfigurationRecommendationRequest.Builder
toBuilder()
String
toString()
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
InferenceRecommendationsJobName
field.Specify either this field or the
EndpointName
field.- 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
InferenceRecommendationsJobName
field.Specify either this field or the
EndpointName
field.
-
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
InferenceRecommendationsJobName
field.Specify either this field or the
RecommendationId
field.- 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
InferenceRecommendationsJobName
field.Specify either this field or the
RecommendationId
field.
-
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:
toBuilder
in interfaceToCopyableBuilder<GetScalingConfigurationRecommendationRequest.Builder,GetScalingConfigurationRecommendationRequest>
- Specified by:
toBuilder
in classSageMakerRequest
-
builder
public static GetScalingConfigurationRecommendationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetScalingConfigurationRecommendationRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
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 classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-