Class JobResourceRequirementsBody
- java.lang.Object
-
- org.apache.flink.runtime.rest.messages.job.JobResourceRequirementsBody
-
- All Implemented Interfaces:
org.apache.flink.runtime.rest.messages.RequestBody
,org.apache.flink.runtime.rest.messages.ResponseBody
public class JobResourceRequirementsBody extends java.lang.Object implements org.apache.flink.runtime.rest.messages.RequestBody, org.apache.flink.runtime.rest.messages.ResponseBody
Copied from Flink. Should be removed once the client dependency is upgraded to 1.18.
-
-
Constructor Summary
Constructors Constructor Description JobResourceRequirementsBody()
JobResourceRequirementsBody(JobResourceRequirements jobResourceRequirements)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<JobResourceRequirements>
asJobResourceRequirements()
boolean
equals(java.lang.Object o)
int
hashCode()
-
-
-
Constructor Detail
-
JobResourceRequirementsBody
public JobResourceRequirementsBody()
-
JobResourceRequirementsBody
public JobResourceRequirementsBody(@Nullable JobResourceRequirements jobResourceRequirements)
-
-
Method Detail
-
asJobResourceRequirements
public java.util.Optional<JobResourceRequirements> asJobResourceRequirements()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-