Class V1ContainerState
java.lang.Object
io.kubernetes.client.openapi.models.V1ContainerState
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-12-05T08:14:34.919Z[Etc/UTC]")
public class V1ContainerState
extends Object
ContainerState holds a possible state of container. Only one of its members may be specified. If
none of them is specified, the default one is ContainerStateWaiting.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get runningGet terminatedGet waitingint
hashCode()
running
(V1ContainerStateRunning running) void
setRunning
(V1ContainerStateRunning running) void
setTerminated
(V1ContainerStateTerminated terminated) void
setWaiting
(V1ContainerStateWaiting waiting) terminated
(V1ContainerStateTerminated terminated) toString()
waiting
(V1ContainerStateWaiting waiting)
-
Field Details
-
SERIALIZED_NAME_RUNNING
- See Also:
-
SERIALIZED_NAME_TERMINATED
- See Also:
-
SERIALIZED_NAME_WAITING
- See Also:
-
-
Constructor Details
-
V1ContainerState
public V1ContainerState()
-
-
Method Details
-
running
-
getRunning
Get running- Returns:
- running
-
setRunning
-
terminated
-
getTerminated
Get terminated- Returns:
- terminated
-
setTerminated
-
waiting
-
getWaiting
Get waiting- Returns:
- waiting
-
setWaiting
-
equals
-
hashCode
public int hashCode() -
toString
-