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

annotations.io.fabric8.openshift.api.model.DockerImageFluent Maven / Gradle / Ivy

package io.fabric8.openshift.api.model;

import java.util.HashMap;
import java.util.Map;
import io.fabric8.common.Nested;
import io.fabric8.common.Fluent;

public class DockerImageFluent> implements Fluent{

    private String Architecture ;
    private String Author ;
    private String Comment ;
    private DockerConfig Config ;
    private String Container ;
    private DockerConfig ContainerConfig ;
    private String Created ;
    private String DockerVersion ;
    private String Id ;
    private String Parent ;
    private Integer Size ;
    private DockerImage.ApiVersion apiVersion ;
    private String kind ;
    private Map additionalProperties  = new HashMap();

    public String getArchitecture(){
    return this.Architecture;
    }
    public T withArchitecture(String Architecture){
    this.Architecture=Architecture; return (T) this;
    }
    public String getAuthor(){
    return this.Author;
    }
    public T withAuthor(String Author){
    this.Author=Author; return (T) this;
    }
    public String getComment(){
    return this.Comment;
    }
    public T withComment(String Comment){
    this.Comment=Comment; return (T) this;
    }
    public DockerConfig getConfig(){
    return this.Config;
    }
    public T withConfig(DockerConfig Config){
    this.Config=Config; return (T) this;
    }
    public String getContainer(){
    return this.Container;
    }
    public T withContainer(String Container){
    this.Container=Container; return (T) this;
    }
    public DockerConfig getContainerConfig(){
    return this.ContainerConfig;
    }
    public T withContainerConfig(DockerConfig ContainerConfig){
    this.ContainerConfig=ContainerConfig; return (T) this;
    }
    public String getCreated(){
    return this.Created;
    }
    public T withCreated(String Created){
    this.Created=Created; return (T) this;
    }
    public String getDockerVersion(){
    return this.DockerVersion;
    }
    public T withDockerVersion(String DockerVersion){
    this.DockerVersion=DockerVersion; return (T) this;
    }
    public String getId(){
    return this.Id;
    }
    public T withId(String Id){
    this.Id=Id; return (T) this;
    }
    public String getParent(){
    return this.Parent;
    }
    public T withParent(String Parent){
    this.Parent=Parent; return (T) this;
    }
    public Integer getSize(){
    return this.Size;
    }
    public T withSize(Integer Size){
    this.Size=Size; return (T) this;
    }
    public DockerImage.ApiVersion getApiVersion(){
    return this.apiVersion;
    }
    public T withApiVersion(DockerImage.ApiVersion apiVersion){
    this.apiVersion=apiVersion; return (T) this;
    }
    public String getKind(){
    return this.kind;
    }
    public T withKind(String kind){
    this.kind=kind; 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;
    }
    public ConfigNested withNewConfig(){
    return new ConfigNested();
    }
    public ContainerConfigNested withNewContainerConfig(){
    return new ContainerConfigNested();
    }
    public T addToAdditionalProperties(String key, Object value){
    if(key != null && value != null) {this.additionalProperties.put(key, value);} return (T)this;
    }

    public class ConfigNested extends DockerConfigFluent> implements Nested{

        private final DockerConfigBuilder builder = new DockerConfigBuilder(this);
    
            public N and(){
            return (N) DockerImageFluent.this.withConfig(builder.build());
        }
            public N endConfig(){
            return and();
        }
    
}
    public class ContainerConfigNested extends DockerConfigFluent> implements Nested{

        private final DockerConfigBuilder builder = new DockerConfigBuilder(this);
    
            public N and(){
            return (N) DockerImageFluent.this.withContainerConfig(builder.build());
        }
            public N endContainerConfig(){
            return and();
        }
    
}


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy