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

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

There is a newer version: 23.0.0-legacy
Show newest version
package io.kubernetes.client.openapi.models;

import io.kubernetes.client.fluent.VisitableBuilder;
public class V1GRPCActionBuilder extends V1GRPCActionFluent implements VisitableBuilder{
  public V1GRPCActionBuilder() {
    this(new V1GRPCAction());
  }
  
  public V1GRPCActionBuilder(V1GRPCActionFluent fluent) {
    this(fluent, new V1GRPCAction());
  }
  
  public V1GRPCActionBuilder(V1GRPCActionFluent fluent,V1GRPCAction instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public V1GRPCActionBuilder(V1GRPCAction instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  V1GRPCActionFluent fluent;
  
  public V1GRPCAction build() {
    V1GRPCAction buildable = new V1GRPCAction();
    buildable.setPort(fluent.getPort());
    buildable.setService(fluent.getService());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy