Class BatchPolicy
- java.lang.Object
-
- software.amazon.awssdk.services.robomaker.model.BatchPolicy
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BatchPolicy.Builder,BatchPolicy>
@Generated("software.amazon.awssdk:codegen") public final class BatchPolicy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BatchPolicy.Builder,BatchPolicy>
Information about the batch policy.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBatchPolicy.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BatchPolicy.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxConcurrency()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()LongtimeoutInSeconds()The amount of time, in seconds, to wait for the batch to complete.BatchPolicy.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
timeoutInSeconds
public final 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.- Returns:
- 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.
-
maxConcurrency
public final 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.- Returns:
- 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.
-
toBuilder
public BatchPolicy.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BatchPolicy.Builder,BatchPolicy>
-
builder
public static BatchPolicy.Builder builder()
-
serializableBuilderClass
public static Class<? extends BatchPolicy.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-