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

io.kubernetes.client.openapi.models.V1SeccompProfileBuilder 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 V1SeccompProfileBuilder extends V1SeccompProfileFluent implements VisitableBuilder{
  public V1SeccompProfileBuilder() {
    this(new V1SeccompProfile());
  }
  
  public V1SeccompProfileBuilder(V1SeccompProfileFluent fluent) {
    this(fluent, new V1SeccompProfile());
  }
  
  public V1SeccompProfileBuilder(V1SeccompProfileFluent fluent,V1SeccompProfile instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public V1SeccompProfileBuilder(V1SeccompProfile instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  V1SeccompProfileFluent fluent;
  
  public V1SeccompProfile build() {
    V1SeccompProfile buildable = new V1SeccompProfile();
    buildable.setLocalhostProfile(fluent.getLocalhostProfile());
    buildable.setType(fluent.getType());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy