@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModelClientConfig extends Object implements Serializable, Cloneable, StructuredPojo
Configures the timeout and maximum number of retries for processing a transform job invocation.
Constructor and Description |
---|
ModelClientConfig() |
Modifier and Type | Method and Description |
---|---|
ModelClientConfig |
clone() |
boolean |
equals(Object obj) |
Integer |
getInvocationsMaxRetries()
The maximum number of retries when invocation requests are failing.
|
Integer |
getInvocationsTimeoutInSeconds()
The timeout value in seconds for an invocation request.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInvocationsMaxRetries(Integer invocationsMaxRetries)
The maximum number of retries when invocation requests are failing.
|
void |
setInvocationsTimeoutInSeconds(Integer invocationsTimeoutInSeconds)
The timeout value in seconds for an invocation request.
|
String |
toString()
Returns a string representation of this object.
|
ModelClientConfig |
withInvocationsMaxRetries(Integer invocationsMaxRetries)
The maximum number of retries when invocation requests are failing.
|
ModelClientConfig |
withInvocationsTimeoutInSeconds(Integer invocationsTimeoutInSeconds)
The timeout value in seconds for an invocation request.
|
public void setInvocationsTimeoutInSeconds(Integer invocationsTimeoutInSeconds)
The timeout value in seconds for an invocation request. The default value is 600.
invocationsTimeoutInSeconds
- The timeout value in seconds for an invocation request. The default value is 600.public Integer getInvocationsTimeoutInSeconds()
The timeout value in seconds for an invocation request. The default value is 600.
public ModelClientConfig withInvocationsTimeoutInSeconds(Integer invocationsTimeoutInSeconds)
The timeout value in seconds for an invocation request. The default value is 600.
invocationsTimeoutInSeconds
- The timeout value in seconds for an invocation request. The default value is 600.public void setInvocationsMaxRetries(Integer invocationsMaxRetries)
The maximum number of retries when invocation requests are failing. The default value is 3.
invocationsMaxRetries
- The maximum number of retries when invocation requests are failing. The default value is 3.public Integer getInvocationsMaxRetries()
The maximum number of retries when invocation requests are failing. The default value is 3.
public ModelClientConfig withInvocationsMaxRetries(Integer invocationsMaxRetries)
The maximum number of retries when invocation requests are failing. The default value is 3.
invocationsMaxRetries
- The maximum number of retries when invocation requests are failing. The default value is 3.public String toString()
toString
in class Object
Object.toString()
public ModelClientConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.