All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.fabric8.kubernetes.api.model.ContainerStateTerminatedFluent Maven / Gradle / Ivy

The newest version!
package io.fabric8.kubernetes.api.model;

import java.util.HashMap;
import java.util.Map;
import io.fabric8.common.Fluent;
import io.fabric8.common.BaseFluent;
import io.fabric8.common.Visitable;

public class ContainerStateTerminatedFluent> extends BaseFluent implements Fluent{

     String containerID;     Integer exitCode;     String finishedAt;     String message;     String reason;     Integer signal;     String startedAt;     Map additionalProperties = new HashMap();

    public String getContainerID(){
    return this.containerID;
    }
    public T withContainerID( String containerID){
    this.containerID=containerID; return (T) this;
    }
    public Integer getExitCode(){
    return this.exitCode;
    }
    public T withExitCode( Integer exitCode){
    this.exitCode=exitCode; return (T) this;
    }
    public String getFinishedAt(){
    return this.finishedAt;
    }
    public T withFinishedAt( String finishedAt){
    this.finishedAt=finishedAt; return (T) this;
    }
    public String getMessage(){
    return this.message;
    }
    public T withMessage( String message){
    this.message=message; return (T) this;
    }
    public String getReason(){
    return this.reason;
    }
    public T withReason( String reason){
    this.reason=reason; return (T) this;
    }
    public Integer getSignal(){
    return this.signal;
    }
    public T withSignal( Integer signal){
    this.signal=signal; return (T) this;
    }
    public String getStartedAt(){
    return this.startedAt;
    }
    public T withStartedAt( String startedAt){
    this.startedAt=startedAt; return (T) this;
    }
    public T addToAdditionalProperties( String key,  Object value){
    if(key != null && value != null) {this.additionalProperties.put(key, value);} return (T)this;
    }
    public Map getAdditionalProperties(){
    return this.additionalProperties;
    }
    public T withAdditionalProperties( Map additionalProperties){
    this.additionalProperties.clear();if (additionalProperties != null) {this.additionalProperties.putAll(additionalProperties);} return (T) this;
    }



}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy