@Generated(value="org.jsonschema2pojo") public class ContainerStatus extends Object
Constructor and Description |
---|
ContainerStatus()
No args constructor for use in serialization
|
ContainerStatus(String containerID,
String image,
String imageID,
ContainerState lastState,
String name,
Boolean ready,
Integer restartCount,
ContainerState state) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
String |
getContainerID()
container's ID in the format 'docker://
|
String |
getImage()
image of the container; see http://releases.k8s.io/v1.0.0/docs/images.md
|
String |
getImageID()
ID of the container's image
|
ContainerState |
getLastState() |
String |
getName()
name of the container; must be a DNS_LABEL and unique within the pod; cannot be updated
|
Boolean |
getReady()
specifies whether the container has passed its readiness probe
|
Integer |
getRestartCount()
the number of times the container has been restarted
|
ContainerState |
getState() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setContainerID(String containerID)
container's ID in the format 'docker://
|
void |
setImage(String image)
image of the container; see http://releases.k8s.io/v1.0.0/docs/images.md
|
void |
setImageID(String imageID)
ID of the container's image
|
void |
setLastState(ContainerState lastState) |
void |
setName(String name)
name of the container; must be a DNS_LABEL and unique within the pod; cannot be updated
|
void |
setReady(Boolean ready)
specifies whether the container has passed its readiness probe
|
void |
setRestartCount(Integer restartCount)
the number of times the container has been restarted
|
void |
setState(ContainerState state) |
public ContainerStatus()
public ContainerStatus(String containerID, String image, String imageID, ContainerState lastState, String name, Boolean ready, Integer restartCount, ContainerState state)
imageID
- name
- state
- image
- lastState
- ready
- restartCount
- containerID
- public String getContainerID()
public void setContainerID(String containerID)
containerID
- The containerIDpublic String getImage()
public void setImage(String image)
image
- The imagepublic String getImageID()
public void setImageID(String imageID)
imageID
- The imageIDpublic ContainerState getLastState()
public void setLastState(ContainerState lastState)
lastState
- The lastStatepublic String getName()
public void setName(String name)
name
- The namepublic Boolean getReady()
public void setReady(Boolean ready)
ready
- The readypublic Integer getRestartCount()
public void setRestartCount(Integer restartCount)
restartCount
- The restartCountpublic ContainerState getState()
public void setState(ContainerState state)
state
- The stateCopyright © 2011–2015 Red Hat. All rights reserved.