@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.InstanceType
public String getInstanceType()
The instance type the model is deployed to.
InstanceType
public RealTimeInferenceConfig withInstanceType(String instanceType)
The instance type the model is deployed to.
instanceType
- The instance type the model is deployed to.InstanceType
public RealTimeInferenceConfig withInstanceType(InstanceType instanceType)
The instance type the model is deployed to.
instanceType
- The instance type the model is deployed to.InstanceType
public 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 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.