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

io.fabric8.openshift.api.model.machine.v1alpha1.FixedIPsBuilder Maven / Gradle / Ivy

There is a newer version: 6.13.4
Show newest version
package io.fabric8.openshift.api.model.machine.v1alpha1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class FixedIPsBuilder extends FixedIPsFluent implements VisitableBuilder{
  public FixedIPsBuilder() {
    this(new FixedIPs());
  }
  
  public FixedIPsBuilder(FixedIPsFluent fluent) {
    this(fluent, new FixedIPs());
  }
  
  public FixedIPsBuilder(FixedIPsFluent fluent,FixedIPs instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public FixedIPsBuilder(FixedIPs instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  FixedIPsFluent fluent;
  
  public FixedIPs build() {
    FixedIPs buildable = new FixedIPs(fluent.getIpAddress(),fluent.getSubnetID());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy