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

io.fabric8.openshift.api.model.installer.aws.v1.EC2RootVolumeBuilder Maven / Gradle / Ivy

The newest version!
package io.fabric8.openshift.api.model.installer.aws.v1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class EC2RootVolumeBuilder extends EC2RootVolumeFluent implements VisitableBuilder{
  public EC2RootVolumeBuilder() {
    this(new EC2RootVolume());
  }
  
  public EC2RootVolumeBuilder(EC2RootVolumeFluent fluent) {
    this(fluent, new EC2RootVolume());
  }
  
  public EC2RootVolumeBuilder(EC2RootVolumeFluent fluent,EC2RootVolume instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public EC2RootVolumeBuilder(EC2RootVolume instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  EC2RootVolumeFluent fluent;
  
  public EC2RootVolume build() {
    EC2RootVolume buildable = new EC2RootVolume(fluent.getIops(),fluent.getKmsKeyARN(),fluent.getSize(),fluent.getType());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy