@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InferenceComponentRuntimeConfig extends Object implements Serializable, Cloneable, StructuredPojo
Runtime settings for a model that is deployed with an inference component.
Constructor and Description |
---|
InferenceComponentRuntimeConfig() |
Modifier and Type | Method and Description |
---|---|
InferenceComponentRuntimeConfig |
clone() |
boolean |
equals(Object obj) |
Integer |
getCopyCount()
The number of runtime copies of the model container to deploy with the inference component.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCopyCount(Integer copyCount)
The number of runtime copies of the model container to deploy with the inference component.
|
String |
toString()
Returns a string representation of this object.
|
InferenceComponentRuntimeConfig |
withCopyCount(Integer copyCount)
The number of runtime copies of the model container to deploy with the inference component.
|
public void setCopyCount(Integer copyCount)
The number of runtime copies of the model container to deploy with the inference component. Each copy can serve inference requests.
copyCount
- The number of runtime copies of the model container to deploy with the inference component. Each copy can
serve inference requests.public Integer getCopyCount()
The number of runtime copies of the model container to deploy with the inference component. Each copy can serve inference requests.
public InferenceComponentRuntimeConfig withCopyCount(Integer copyCount)
The number of runtime copies of the model container to deploy with the inference component. Each copy can serve inference requests.
copyCount
- The number of runtime copies of the model container to deploy with the inference component. Each copy can
serve inference requests.public String toString()
toString
in class Object
Object.toString()
public InferenceComponentRuntimeConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.