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

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

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

import io.kubernetes.client.fluent.VisitableBuilder;
public class V1SubjectAccessReviewBuilder extends V1SubjectAccessReviewFluent implements VisitableBuilder{
  public V1SubjectAccessReviewBuilder() {
    this(new V1SubjectAccessReview());
  }
  
  public V1SubjectAccessReviewBuilder(V1SubjectAccessReviewFluent fluent) {
    this(fluent, new V1SubjectAccessReview());
  }
  
  public V1SubjectAccessReviewBuilder(V1SubjectAccessReviewFluent fluent,V1SubjectAccessReview instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public V1SubjectAccessReviewBuilder(V1SubjectAccessReview instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  V1SubjectAccessReviewFluent fluent;
  
  public V1SubjectAccessReview build() {
    V1SubjectAccessReview buildable = new V1SubjectAccessReview();
    buildable.setApiVersion(fluent.getApiVersion());
    buildable.setKind(fluent.getKind());
    buildable.setMetadata(fluent.buildMetadata());
    buildable.setSpec(fluent.buildSpec());
    buildable.setStatus(fluent.buildStatus());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy