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

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

package io.kubernetes.client.openapi.models;

import io.kubernetes.client.fluent.VisitableBuilder;
import java.lang.Boolean;
public class V1VolumeErrorBuilder extends V1VolumeErrorFluentImpl implements VisitableBuilder{
  public V1VolumeErrorBuilder() {
    this(false);
  }
  public V1VolumeErrorBuilder(Boolean validationEnabled) {
    this(new V1VolumeError(), validationEnabled);
  }
  public V1VolumeErrorBuilder(V1VolumeErrorFluent fluent) {
    this(fluent, false);
  }
  public V1VolumeErrorBuilder(V1VolumeErrorFluent fluent,Boolean validationEnabled) {
    this(fluent, new V1VolumeError(), validationEnabled);
  }
  public V1VolumeErrorBuilder(V1VolumeErrorFluent fluent,V1VolumeError instance) {
    this(fluent, instance, false);
  }
  public V1VolumeErrorBuilder(V1VolumeErrorFluent fluent,V1VolumeError instance,Boolean validationEnabled) {
    this.fluent = fluent; 
    if (instance != null) {
      fluent.withMessage(instance.getMessage());
      fluent.withTime(instance.getTime());
    }
    this.validationEnabled = validationEnabled; 
  }
  public V1VolumeErrorBuilder(V1VolumeError instance) {
    this(instance,false);
  }
  public V1VolumeErrorBuilder(V1VolumeError instance,Boolean validationEnabled) {
    this.fluent = this; 
    if (instance != null) {
      this.withMessage(instance.getMessage());
      this.withTime(instance.getTime());
    }
    this.validationEnabled = validationEnabled; 
  }
  V1VolumeErrorFluent fluent;
  Boolean validationEnabled;
  public V1VolumeError build() {
    V1VolumeError buildable = new V1VolumeError();
    buildable.setMessage(fluent.getMessage());
    buildable.setTime(fluent.getTime());
    return buildable;
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy