Package io.fabric8.kubernetes.api.model
Class ContainerStateTerminated
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.ContainerStateTerminated
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ContainerStateTerminatedBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ContainerStateTerminated extends Object implements io.fabric8.kubernetes.api.builder.Editable<ContainerStateTerminatedBuilder>, KubernetesResource
ContainerStateTerminated is a terminated state of a container.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContainerStateTerminated()No args constructor for use in serializationContainerStateTerminated(String containerID, Integer exitCode, String finishedAt, String message, String reason, Integer signal, String startedAt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerStateTerminatedBuilderedit()Map<String,Object>getAdditionalProperties()StringgetContainerID()Container's ID in the format '<type>://<container_id>'IntegergetExitCode()Exit status from the last termination of the containerStringgetFinishedAt()ContainerStateTerminated is a terminated state of a container.StringgetMessage()Message regarding the last termination of the containerStringgetReason()(brief) reason from the last termination of the containerIntegergetSignal()Signal from the last termination of the containerStringgetStartedAt()ContainerStateTerminated is a terminated state of a container.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetContainerID(String containerID)Container's ID in the format '<type>://<container_id>'voidsetExitCode(Integer exitCode)Exit status from the last termination of the containervoidsetFinishedAt(String finishedAt)ContainerStateTerminated is a terminated state of a container.voidsetMessage(String message)Message regarding the last termination of the containervoidsetReason(String reason)(brief) reason from the last termination of the containervoidsetSignal(Integer signal)Signal from the last termination of the containervoidsetStartedAt(String startedAt)ContainerStateTerminated is a terminated state of a container.ContainerStateTerminatedBuildertoBuilder()
-
-
-
Method Detail
-
getContainerID
public String getContainerID()
Container's ID in the format '<type>://<container_id>'
-
setContainerID
public void setContainerID(String containerID)
Container's ID in the format '<type>://<container_id>'
-
getExitCode
public Integer getExitCode()
Exit status from the last termination of the container
-
setExitCode
public void setExitCode(Integer exitCode)
Exit status from the last termination of the container
-
getFinishedAt
public String getFinishedAt()
ContainerStateTerminated is a terminated state of a container.
-
setFinishedAt
public void setFinishedAt(String finishedAt)
ContainerStateTerminated is a terminated state of a container.
-
getMessage
public String getMessage()
Message regarding the last termination of the container
-
setMessage
public void setMessage(String message)
Message regarding the last termination of the container
-
getReason
public String getReason()
(brief) reason from the last termination of the container
-
setReason
public void setReason(String reason)
(brief) reason from the last termination of the container
-
getSignal
public Integer getSignal()
Signal from the last termination of the container
-
setSignal
public void setSignal(Integer signal)
Signal from the last termination of the container
-
getStartedAt
public String getStartedAt()
ContainerStateTerminated is a terminated state of a container.
-
setStartedAt
public void setStartedAt(String startedAt)
ContainerStateTerminated is a terminated state of a container.
-
edit
public ContainerStateTerminatedBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ContainerStateTerminatedBuilder>
-
toBuilder
public ContainerStateTerminatedBuilder toBuilder()
-
-