@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AsyncInferenceClientConfig extends Object implements Serializable, Cloneable, StructuredPojo
Configures the behavior of the client used by SageMaker to interact with the model container during asynchronous inference.
Constructor and Description |
---|
AsyncInferenceClientConfig() |
Modifier and Type | Method and Description |
---|---|
AsyncInferenceClientConfig |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaxConcurrentInvocationsPerInstance()
The maximum number of concurrent requests sent by the SageMaker client to the model container.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMaxConcurrentInvocationsPerInstance(Integer maxConcurrentInvocationsPerInstance)
The maximum number of concurrent requests sent by the SageMaker client to the model container.
|
String |
toString()
Returns a string representation of this object.
|
AsyncInferenceClientConfig |
withMaxConcurrentInvocationsPerInstance(Integer maxConcurrentInvocationsPerInstance)
The maximum number of concurrent requests sent by the SageMaker client to the model container.
|
public void setMaxConcurrentInvocationsPerInstance(Integer maxConcurrentInvocationsPerInstance)
The maximum number of concurrent requests sent by the SageMaker client to the model container. If no value is provided, SageMaker chooses an optimal value.
maxConcurrentInvocationsPerInstance
- The maximum number of concurrent requests sent by the SageMaker client to the model container. If no value
is provided, SageMaker chooses an optimal value.public Integer getMaxConcurrentInvocationsPerInstance()
The maximum number of concurrent requests sent by the SageMaker client to the model container. If no value is provided, SageMaker chooses an optimal value.
public AsyncInferenceClientConfig withMaxConcurrentInvocationsPerInstance(Integer maxConcurrentInvocationsPerInstance)
The maximum number of concurrent requests sent by the SageMaker client to the model container. If no value is provided, SageMaker chooses an optimal value.
maxConcurrentInvocationsPerInstance
- The maximum number of concurrent requests sent by the SageMaker client to the model container. If no value
is provided, SageMaker chooses an optimal value.public String toString()
toString
in class Object
Object.toString()
public AsyncInferenceClientConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.