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

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

There is a newer version: 0.0.54
Show newest version
package io.fabric8.openshift.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 TLSConfigFluent> extends BaseFluent implements Fluent{

     String caCertificate;     String certificate;     String destinationCACertificate;     String key;     String termination;     Map additionalProperties = new HashMap();

    public String getCaCertificate(){
    return this.caCertificate;
    }
    public T withCaCertificate( String caCertificate){
    this.caCertificate=caCertificate; return (T) this;
    }
    public String getCertificate(){
    return this.certificate;
    }
    public T withCertificate( String certificate){
    this.certificate=certificate; return (T) this;
    }
    public String getDestinationCACertificate(){
    return this.destinationCACertificate;
    }
    public T withDestinationCACertificate( String destinationCACertificate){
    this.destinationCACertificate=destinationCACertificate; return (T) this;
    }
    public String getKey(){
    return this.key;
    }
    public T withKey( String key){
    this.key=key; return (T) this;
    }
    public String getTermination(){
    return this.termination;
    }
    public T withTermination( String termination){
    this.termination=termination; 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