@Generated(value="software.amazon.awssdk:codegen") public final class ScalingPolicyMetric extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ScalingPolicyMetric.Builder,ScalingPolicyMetric>
The metric for a scaling policy.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ScalingPolicyMetric.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ScalingPolicyMetric.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
invocationsPerInstance()
The number of invocations sent to a model, normalized by
InstanceCount in each ProductionVariant. |
Integer |
modelLatency()
The interval of time taken by a model to respond as viewed from SageMaker.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ScalingPolicyMetric.Builder> |
serializableBuilderClass() |
ScalingPolicyMetric.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer invocationsPerInstance()
The number of invocations sent to a model, normalized by InstanceCount in each ProductionVariant.
1/numberOfInstances is sent as the value on each request, where numberOfInstances is
the number of active instances for the ProductionVariant behind the endpoint at the time of the request.
InstanceCount in each
ProductionVariant. 1/numberOfInstances is sent as the value on each request, where
numberOfInstances is the number of active instances for the ProductionVariant behind the
endpoint at the time of the request.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.
public ScalingPolicyMetric.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ScalingPolicyMetric.Builder,ScalingPolicyMetric>public static ScalingPolicyMetric.Builder builder()
public static Class<? extends ScalingPolicyMetric.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.