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

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

There is a newer version: 0.0.54
Show newest version
package io.fabric8.kubernetes.api.model;

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

public class NamespaceSpecFluent> extends BaseFluent implements Fluent{

     List finalizers = new ArrayList();     Map additionalProperties = new HashMap();

    public T addToFinalizers( String item){
    if (item != null) {this.finalizers.add(item);} return (T)this;
    }
    public List getFinalizers(){
    return this.finalizers;
    }
    public T withFinalizers( List finalizers){
    this.finalizers.clear();if (finalizers != null) {for (String item : finalizers){this.addToFinalizers(item);}} 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 - 2024 Weber Informatics LLC | Privacy Policy