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

io.kubernetes.client.openapi.models.V1MatchConditionBuilder Maven / Gradle / Ivy

package io.kubernetes.client.openapi.models;

import io.kubernetes.client.fluent.VisitableBuilder;
public class V1MatchConditionBuilder extends V1MatchConditionFluent implements VisitableBuilder{
  public V1MatchConditionBuilder() {
    this(new V1MatchCondition());
  }
  
  public V1MatchConditionBuilder(V1MatchConditionFluent fluent) {
    this(fluent, new V1MatchCondition());
  }
  
  public V1MatchConditionBuilder(V1MatchConditionFluent fluent,V1MatchCondition instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public V1MatchConditionBuilder(V1MatchCondition instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  V1MatchConditionFluent fluent;
  
  public V1MatchCondition build() {
    V1MatchCondition buildable = new V1MatchCondition();
    buildable.setExpression(fluent.getExpression());
    buildable.setName(fluent.getName());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy