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

io.ap4k.crd.config.CustomResourceConfig Maven / Gradle / Ivy

The newest version!
package io.ap4k.crd.config;

import io.ap4k.project.Project;
import io.ap4k.kubernetes.config.ConfigKey;
import io.ap4k.crd.confg.Scope;
import io.ap4k.kubernetes.config.Configuration;
import java.lang.Object;
import java.lang.String;
import java.util.Map;
import io.sundr.builder.annotations.Buildable;

@Buildable(builderPackage = "io.ap4k.deps.kubernetes.api.builder") public class CustomResourceConfig extends Configuration{

    private String group = "";
    private String kind = "";
    private String name = "";
    private String plural = "";
    private String shortName = "";
    private String version = "";
    private Scope scope = io.ap4k.crd.confg.Scope.Namespaced;

    public CustomResourceConfig(){
    }
    public CustomResourceConfig(Project project,Map attributes,String group,String kind,String name,String plural,String shortName,String version,Scope scope){
            super(project, attributes);
            this.group = group != null ? group : "";
            this.kind = kind != null ? kind : "";
            this.name = name != null ? name : "";
            this.plural = plural != null ? plural : "";
            this.shortName = shortName != null ? shortName : "";
            this.version = version != null ? version : "";
            this.scope = scope != null ? scope : io.ap4k.crd.confg.Scope.Namespaced;
    }

    public String getGroup(){
            return this.group;
    }

    public String getKind(){
            return this.kind;
    }

    public String getName(){
            return this.name;
    }

    public String getPlural(){
            return this.plural;
    }

    public String getShortName(){
            return this.shortName;
    }

    public String getVersion(){
            return this.version;
    }

    public Scope getScope(){
            return this.scope;
    }




}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy