@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 real-time inference.
Constructor and Description |
---|
RealTimeInferenceConfig() |
Modifier and Type | Method and Description |
---|---|
RealTimeInferenceConfig |
clone() |
boolean |
equals(Object obj) |
Integer |
getInstanceCount()
The instance type the model is deployed to.
|
String |
getInstanceType()
The number of instances of the type specified by
InstanceType . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInstanceCount(Integer instanceCount)
The instance type the model is deployed to.
|
void |
setInstanceType(String instanceType)
The number of instances of the type specified by
InstanceType . |
String |
toString()
Returns a string representation of this object.
|
RealTimeInferenceConfig |
withInstanceCount(Integer instanceCount)
The instance type the model is deployed to.
|
RealTimeInferenceConfig |
withInstanceType(InstanceType instanceType)
The number of instances of the type specified by
InstanceType . |
RealTimeInferenceConfig |
withInstanceType(String instanceType)
The number of instances of the type specified by
InstanceType . |
public void setInstanceType(String instanceType)
The number of instances of the type specified by InstanceType
.
instanceType
- The number of instances of the type specified by InstanceType
.InstanceType
public String getInstanceType()
The number of instances of the type specified by InstanceType
.
InstanceType
.InstanceType
public RealTimeInferenceConfig withInstanceType(String instanceType)
The number of instances of the type specified by InstanceType
.
instanceType
- The number of instances of the type specified by InstanceType
.InstanceType
public RealTimeInferenceConfig withInstanceType(InstanceType instanceType)
The number of instances of the type specified by InstanceType
.
instanceType
- The number of instances of the type specified by InstanceType
.InstanceType
public void setInstanceCount(Integer instanceCount)
The instance type the model is deployed to.
instanceCount
- The instance type the model is deployed to.public Integer getInstanceCount()
The instance type the model is deployed to.
public RealTimeInferenceConfig withInstanceCount(Integer instanceCount)
The instance type the model is deployed to.
instanceCount
- The instance type the model is deployed to.public String toString()
toString
in class Object
Object.toString()
public RealTimeInferenceConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.