@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 .
|
Float |
getCpuUtilization()
The expected CPU utilization at maximum invocations per minute for the instance.
|
Integer |
getMaxInvocations()
The expected maximum number of requests per minute for the instance.
|
Float |
getMemoryUtilization()
The expected memory utilization at maximum invocations per minute for the instance.
|
Integer |
getModelLatency()
The expected model latency at maximum invocation per minute for the instance.
|
Integer |
getModelSetupTime()
The time it takes to launch new compute resources for a serverless endpoint.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
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 |
setCpuUtilization(Float cpuUtilization)
The expected CPU utilization at maximum invocations per minute for the instance.
|
void |
setMaxInvocations(Integer maxInvocations)
The expected maximum number of requests per minute for the instance.
|
void |
setMemoryUtilization(Float memoryUtilization)
The expected memory utilization at maximum invocations per minute for the instance.
|
void |
setModelLatency(Integer modelLatency)
The expected model latency at maximum invocation per minute for the instance.
|
void |
setModelSetupTime(Integer modelSetupTime)
The time it takes to launch new compute resources for a serverless endpoint.
|
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 |
withCpuUtilization(Float cpuUtilization)
The expected CPU utilization at maximum invocations per minute for the instance.
|
RecommendationMetrics |
withMaxInvocations(Integer maxInvocations)
The expected maximum number of requests per minute for the instance.
|
RecommendationMetrics |
withMemoryUtilization(Float memoryUtilization)
The expected memory utilization at maximum invocations per minute for the instance.
|
RecommendationMetrics |
withModelLatency(Integer modelLatency)
The expected model latency at maximum invocation per minute for the instance.
|
RecommendationMetrics |
withModelSetupTime(Integer modelSetupTime)
The time it takes to launch new compute resources for a serverless endpoint.
|
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 void setCpuUtilization(Float cpuUtilization)
The expected CPU utilization at maximum invocations per minute for the instance.
NaN
indicates that the value is not available.
cpuUtilization
- The expected CPU utilization at maximum invocations per minute for the instance.
NaN
indicates that the value is not available.
public Float getCpuUtilization()
The expected CPU utilization at maximum invocations per minute for the instance.
NaN
indicates that the value is not available.
NaN
indicates that the value is not available.
public RecommendationMetrics withCpuUtilization(Float cpuUtilization)
The expected CPU utilization at maximum invocations per minute for the instance.
NaN
indicates that the value is not available.
cpuUtilization
- The expected CPU utilization at maximum invocations per minute for the instance.
NaN
indicates that the value is not available.
public void setMemoryUtilization(Float memoryUtilization)
The expected memory utilization at maximum invocations per minute for the instance.
NaN
indicates that the value is not available.
memoryUtilization
- The expected memory utilization at maximum invocations per minute for the instance.
NaN
indicates that the value is not available.
public Float getMemoryUtilization()
The expected memory utilization at maximum invocations per minute for the instance.
NaN
indicates that the value is not available.
NaN
indicates that the value is not available.
public RecommendationMetrics withMemoryUtilization(Float memoryUtilization)
The expected memory utilization at maximum invocations per minute for the instance.
NaN
indicates that the value is not available.
memoryUtilization
- The expected memory utilization at maximum invocations per minute for the instance.
NaN
indicates that the value is not available.
public void setModelSetupTime(Integer modelSetupTime)
The time it takes to launch new compute resources for a serverless endpoint. The time can vary depending on the model size, how long it takes to download the model, and the start-up time of the container.
NaN
indicates that the value is not available.
modelSetupTime
- The time it takes to launch new compute resources for a serverless endpoint. The time can vary depending
on the model size, how long it takes to download the model, and the start-up time of the container.
NaN
indicates that the value is not available.
public Integer getModelSetupTime()
The time it takes to launch new compute resources for a serverless endpoint. The time can vary depending on the model size, how long it takes to download the model, and the start-up time of the container.
NaN
indicates that the value is not available.
NaN
indicates that the value is not available.
public RecommendationMetrics withModelSetupTime(Integer modelSetupTime)
The time it takes to launch new compute resources for a serverless endpoint. The time can vary depending on the model size, how long it takes to download the model, and the start-up time of the container.
NaN
indicates that the value is not available.
modelSetupTime
- The time it takes to launch new compute resources for a serverless endpoint. The time can vary depending
on the model size, how long it takes to download the model, and the start-up time of the container.
NaN
indicates that the value is not available.
public String toString()
toString
in class Object
Object.toString()
public RecommendationMetrics clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.