@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RealTimeInferenceConfig extends Object implements Serializable, Cloneable, StructuredPojo
The infrastructure configuration for deploying the model to a real-time inference endpoint.
| Constructor and Description |
|---|
RealTimeInferenceConfig() |
| Modifier and Type | Method and Description |
|---|---|
RealTimeInferenceConfig |
clone() |
boolean |
equals(Object obj) |
Integer |
getInstanceCount()
The number of instances of the type specified by
InstanceType. |
String |
getInstanceType()
The instance type the model is deployed to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setInstanceCount(Integer instanceCount)
The number of instances of the type specified by
InstanceType. |
void |
setInstanceType(String instanceType)
The instance type the model is deployed to.
|
String |
toString()
Returns a string representation of this object.
|
RealTimeInferenceConfig |
withInstanceCount(Integer instanceCount)
The number of instances of the type specified by
InstanceType. |
RealTimeInferenceConfig |
withInstanceType(InstanceType instanceType)
The instance type the model is deployed to.
|
RealTimeInferenceConfig |
withInstanceType(String instanceType)
The instance type the model is deployed to.
|
public void setInstanceType(String instanceType)
The instance type the model is deployed to.
instanceType - The instance type the model is deployed to.InstanceTypepublic String getInstanceType()
The instance type the model is deployed to.
InstanceTypepublic RealTimeInferenceConfig withInstanceType(String instanceType)
The instance type the model is deployed to.
instanceType - The instance type the model is deployed to.InstanceTypepublic RealTimeInferenceConfig withInstanceType(InstanceType instanceType)
The instance type the model is deployed to.
instanceType - The instance type the model is deployed to.InstanceTypepublic void setInstanceCount(Integer instanceCount)
The number of instances of the type specified by InstanceType.
instanceCount - The number of instances of the type specified by InstanceType.public Integer getInstanceCount()
The number of instances of the type specified by InstanceType.
InstanceType.public RealTimeInferenceConfig withInstanceCount(Integer instanceCount)
The number of instances of the type specified by InstanceType.
instanceCount - The number of instances of the type specified by InstanceType.public String toString()
toString in class ObjectObject.toString()public RealTimeInferenceConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.