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

io.fabric8.kubernetes.api.model.storage.VolumeAttachmentStatusBuilder Maven / Gradle / Ivy

The newest version!
package io.fabric8.kubernetes.api.model.storage;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class VolumeAttachmentStatusBuilder extends VolumeAttachmentStatusFluent implements VisitableBuilder{
  public VolumeAttachmentStatusBuilder() {
    this(new VolumeAttachmentStatus());
  }
  
  public VolumeAttachmentStatusBuilder(VolumeAttachmentStatusFluent fluent) {
    this(fluent, new VolumeAttachmentStatus());
  }
  
  public VolumeAttachmentStatusBuilder(VolumeAttachmentStatusFluent fluent,VolumeAttachmentStatus instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public VolumeAttachmentStatusBuilder(VolumeAttachmentStatus instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  VolumeAttachmentStatusFluent fluent;
  
  public VolumeAttachmentStatus build() {
    VolumeAttachmentStatus buildable = new VolumeAttachmentStatus(fluent.buildAttachError(),fluent.getAttached(),fluent.getAttachmentMetadata(),fluent.buildDetachError());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy