Interface BatchPolicy.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BatchPolicy.Builder,BatchPolicy>,SdkBuilder<BatchPolicy.Builder,BatchPolicy>,SdkPojo
- Enclosing class:
- BatchPolicy
public static interface BatchPolicy.Builder extends SdkPojo, CopyableBuilder<BatchPolicy.Builder,BatchPolicy>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchPolicy.BuildermaxConcurrency(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.BatchPolicy.BuildertimeoutInSeconds(Long timeoutInSeconds)The amount of time, in seconds, to wait for the batch to complete.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
timeoutInSeconds
BatchPolicy.Builder timeoutInSeconds(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 beFailed. 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 beTimedOut.- Parameters:
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 beFailed. 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 beTimedOut.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxConcurrency
BatchPolicy.Builder maxConcurrency(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,RunningFailedandTerminating. All other states are terminal states.- Parameters:
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,RunningFailedandTerminating. All other states are terminal states.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-