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

annotations.io.fabric8.kubernetes.api.model.ObjectReferenceFluent Maven / Gradle / Ivy

package io.fabric8.kubernetes.api.model;

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

public class ObjectReferenceFluent> implements Fluent{

    private String apiVersion ;
    private String fieldPath ;
    private String kind ;
    private String name ;
    private String namespace ;
    private String resourceVersion ;
    private String uid ;
    private Map additionalProperties  = new HashMap();

    public String getApiVersion(){
    return this.apiVersion;
    }
    public T withApiVersion(String apiVersion){
    this.apiVersion=apiVersion; return (T) this;
    }
    public String getFieldPath(){
    return this.fieldPath;
    }
    public T withFieldPath(String fieldPath){
    this.fieldPath=fieldPath; return (T) this;
    }
    public String getKind(){
    return this.kind;
    }
    public T withKind(String kind){
    this.kind=kind; return (T) this;
    }
    public String getName(){
    return this.name;
    }
    public T withName(String name){
    this.name=name; return (T) this;
    }
    public String getNamespace(){
    return this.namespace;
    }
    public T withNamespace(String namespace){
    this.namespace=namespace; return (T) this;
    }
    public String getResourceVersion(){
    return this.resourceVersion;
    }
    public T withResourceVersion(String resourceVersion){
    this.resourceVersion=resourceVersion; return (T) this;
    }
    public String getUid(){
    return this.uid;
    }
    public T withUid(String uid){
    this.uid=uid; 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 T addToAdditionalProperties(String key, Object value){
    if(key != null && value != null) {this.additionalProperties.put(key, value);} return (T)this;
    }



}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy