io.kubernetes.client.openapi.models.V1SeccompProfileBuilder Maven / Gradle / Ivy
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