Class SchedulerConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SchedulerConfiguration.Builder,SchedulerConfiguration>
The scheduler configuration for a virtual cluster on Amazon EMR on EKS. It controls how many job runs can run concurrently and how many can wait in the queue. When not set, no concurrency or queue limits are applied.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegerThe maximum number of job runs that can be in theRUNNINGstate at any time for the virtual cluster.final IntegerThe maximum number of job runs that can be in thePENDINGorSUBMITTEDstate at any time for the virtual cluster.static Class<? extends SchedulerConfiguration.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
maxInQueueJobRuns
The maximum number of job runs that can be in the
PENDINGorSUBMITTEDstate at any time for the virtual cluster. When the queue is full, the service rejectsStartJobRunrequests with aValidationException. If you omit this field, the service applies no queue-depth limit.- Returns:
- The maximum number of job runs that can be in the
PENDINGorSUBMITTEDstate at any time for the virtual cluster. When the queue is full, the service rejectsStartJobRunrequests with aValidationException. If you omit this field, the service applies no queue-depth limit.
-
maxConcurrentJobRuns
The maximum number of job runs that can be in the
RUNNINGstate at any time for the virtual cluster. As running slots free up, queued job runs start automatically. If you omit this field, the service applies no concurrency limit.- Returns:
- The maximum number of job runs that can be in the
RUNNINGstate at any time for the virtual cluster. As running slots free up, queued job runs start automatically. If you omit this field, the service applies no concurrency limit.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SchedulerConfiguration.Builder,SchedulerConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-