@Generated(value="software.amazon.awssdk:codegen") public final class BatchPolicy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BatchPolicy.Builder,BatchPolicy>
Information about the batch policy.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BatchPolicy.Builder |
| Modifier and Type | Method and Description |
|---|---|
static BatchPolicy.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxConcurrency()
The number of active simulation jobs create as part of the batch that can be in an active state at the same time.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BatchPolicy.Builder> |
serializableBuilderClass() |
Long |
timeoutInSeconds()
The amount of time, in seconds, to wait for the batch to complete.
|
BatchPolicy.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic Long timeoutInSeconds()
The amount of time, in seconds, to wait for the batch to complete.
If a batch times out, and there are pending requests that were failing due to an internal failure (like
InternalServiceError), they will be moved to the failed list and the batch status will be
Failed. If the pending requests were failing for any other reason, the failed pending requests will
be moved to the failed list and the batch status will be TimedOut.
If a batch times out, and there are pending requests that were failing due to an internal failure (like
InternalServiceError), they will be moved to the failed list and the batch status will be
Failed. If the pending requests were failing for any other reason, the failed pending
requests will be moved to the failed list and the batch status will be TimedOut.
public Integer maxConcurrency()
The number of active simulation jobs create as part of the batch that can be in an active state at the same time.
Active states include: Pending,Preparing, Running, Restarting, RunningFailed and Terminating. All other states are terminal states.
Active states include: Pending,Preparing, Running,
Restarting, RunningFailed and Terminating. All other states are
terminal states.
public BatchPolicy.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BatchPolicy.Builder,BatchPolicy>public static BatchPolicy.Builder builder()
public static Class<? extends BatchPolicy.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.