Record Class ResourcesConfiguration
java.lang.Object
java.lang.Record
ai.timefold.solver.service.definition.api.configuration.ResourcesConfiguration
- Record Components:
memory- The amount of memory in mebibytes (Mi).labels- Optional labels (selected from labels available in the plan) to use for scheduling of pods
-
Constructor Summary
ConstructorsConstructorDescriptionResourcesConfiguration(Double memory, Map<String, String> labels) Creates an instance of aResourcesConfigurationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.labels()Returns the value of thelabelsrecord component.memory()Returns the value of thememoryrecord component.override(ResourcesConfiguration configuration) final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ResourcesConfiguration
-
-
Method Details
-
override
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
memory
-
labels
-