Class ScalingPolicyMetric
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.ScalingPolicyMetric
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ScalingPolicyMetric.Builder,ScalingPolicyMetric>
@Generated("software.amazon.awssdk:codegen") public final class ScalingPolicyMetric extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ScalingPolicyMetric.Builder,ScalingPolicyMetric>
The metric for a scaling policy.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceScalingPolicyMetric.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ScalingPolicyMetric.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerinvocationsPerInstance()The number of invocations sent to a model, normalized byInstanceCountin each ProductionVariant.IntegermodelLatency()The interval of time taken by a model to respond as viewed from SageMaker.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ScalingPolicyMetric.Builder>serializableBuilderClass()ScalingPolicyMetric.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
invocationsPerInstance
public final Integer invocationsPerInstance()
The number of invocations sent to a model, normalized by
InstanceCountin each ProductionVariant.1/numberOfInstancesis sent as the value on each request, wherenumberOfInstancesis the number of active instances for the ProductionVariant behind the endpoint at the time of the request.- Returns:
- The number of invocations sent to a model, normalized by
InstanceCountin each ProductionVariant.1/numberOfInstancesis sent as the value on each request, wherenumberOfInstancesis the number of active instances for the ProductionVariant behind the endpoint at the time of the request.
-
modelLatency
public final Integer modelLatency()
The interval of time taken by a model to respond as viewed from SageMaker. This interval includes the local communication times taken to send the request and to fetch the response from the container of a model and the time taken to complete the inference in the container.
- Returns:
- The interval of time taken by a model to respond as viewed from SageMaker. This interval includes the local communication times taken to send the request and to fetch the response from the container of a model and the time taken to complete the inference in the container.
-
toBuilder
public ScalingPolicyMetric.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ScalingPolicyMetric.Builder,ScalingPolicyMetric>
-
builder
public static ScalingPolicyMetric.Builder builder()
-
serializableBuilderClass
public static Class<? extends ScalingPolicyMetric.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-