@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecommendationMetrics extends Object implements Serializable, Cloneable, StructuredPojo
The metrics of recommendations.
| Constructor and Description |
|---|
RecommendationMetrics() |
| Modifier and Type | Method and Description |
|---|---|
RecommendationMetrics |
clone() |
boolean |
equals(Object obj) |
Float |
getCostPerHour()
Defines the cost per hour for the instance.
|
Float |
getCostPerInference()
Defines the cost per inference for the instance .
|
Integer |
getMaxInvocations()
The expected maximum number of requests per minute for the instance.
|
Integer |
getModelLatency()
The expected model latency at maximum invocation per minute for the instance.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCostPerHour(Float costPerHour)
Defines the cost per hour for the instance.
|
void |
setCostPerInference(Float costPerInference)
Defines the cost per inference for the instance .
|
void |
setMaxInvocations(Integer maxInvocations)
The expected maximum number of requests per minute for the instance.
|
void |
setModelLatency(Integer modelLatency)
The expected model latency at maximum invocation per minute for the instance.
|
String |
toString()
Returns a string representation of this object.
|
RecommendationMetrics |
withCostPerHour(Float costPerHour)
Defines the cost per hour for the instance.
|
RecommendationMetrics |
withCostPerInference(Float costPerInference)
Defines the cost per inference for the instance .
|
RecommendationMetrics |
withMaxInvocations(Integer maxInvocations)
The expected maximum number of requests per minute for the instance.
|
RecommendationMetrics |
withModelLatency(Integer modelLatency)
The expected model latency at maximum invocation per minute for the instance.
|
public void setCostPerHour(Float costPerHour)
Defines the cost per hour for the instance.
costPerHour - Defines the cost per hour for the instance.public Float getCostPerHour()
Defines the cost per hour for the instance.
public RecommendationMetrics withCostPerHour(Float costPerHour)
Defines the cost per hour for the instance.
costPerHour - Defines the cost per hour for the instance.public void setCostPerInference(Float costPerInference)
Defines the cost per inference for the instance .
costPerInference - Defines the cost per inference for the instance .public Float getCostPerInference()
Defines the cost per inference for the instance .
public RecommendationMetrics withCostPerInference(Float costPerInference)
Defines the cost per inference for the instance .
costPerInference - Defines the cost per inference for the instance .public void setMaxInvocations(Integer maxInvocations)
The expected maximum number of requests per minute for the instance.
maxInvocations - The expected maximum number of requests per minute for the instance.public Integer getMaxInvocations()
The expected maximum number of requests per minute for the instance.
public RecommendationMetrics withMaxInvocations(Integer maxInvocations)
The expected maximum number of requests per minute for the instance.
maxInvocations - The expected maximum number of requests per minute for the instance.public void setModelLatency(Integer modelLatency)
The expected model latency at maximum invocation per minute for the instance.
modelLatency - The expected model latency at maximum invocation per minute for the instance.public Integer getModelLatency()
The expected model latency at maximum invocation per minute for the instance.
public RecommendationMetrics withModelLatency(Integer modelLatency)
The expected model latency at maximum invocation per minute for the instance.
modelLatency - The expected model latency at maximum invocation per minute for the instance.public String toString()
toString in class ObjectObject.toString()public RecommendationMetrics clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.