Class ClusterRequest
- java.lang.Object
-
- com.netflix.genie.common.internal.dtos.ClusterRequest
-
- All Implemented Interfaces:
CommonRequest
,java.io.Serializable
public class ClusterRequest extends java.lang.Object
Fields representing all the values users can set when creating a new Cluster resource.- Since:
- 4.0.0
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClusterRequest.Builder
Builder for a V4 Cluster Request.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.String>
getRequestedId()
Get the ID the user has requested for this resource if one was added.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.netflix.genie.common.internal.dtos.CommonRequest
getResources
-
-
-
-
Method Detail
-
getRequestedId
public java.util.Optional<java.lang.String> getRequestedId()
Get the ID the user has requested for this resource if one was added.- Specified by:
getRequestedId
in interfaceCommonRequest
- Returns:
- The ID wrapped in an
Optional
-
-