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

io.strimzi.api.kafka.model.user.acl.AclRuleGroupResourceBuilder Maven / Gradle / Ivy

There is a newer version: 0.44.0
Show newest version
package io.strimzi.api.kafka.model.user.acl;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class AclRuleGroupResourceBuilder extends AclRuleGroupResourceFluent implements VisitableBuilder{
  public AclRuleGroupResourceBuilder() {
    this(new AclRuleGroupResource());
  }
  
  public AclRuleGroupResourceBuilder(AclRuleGroupResourceFluent fluent) {
    this(fluent, new AclRuleGroupResource());
  }
  
  public AclRuleGroupResourceBuilder(AclRuleGroupResourceFluent fluent,AclRuleGroupResource instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public AclRuleGroupResourceBuilder(AclRuleGroupResource instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  AclRuleGroupResourceFluent fluent;
  
  public AclRuleGroupResource build() {
    AclRuleGroupResource buildable = new AclRuleGroupResource();
    buildable.setName(fluent.getName());
    buildable.setPatternType(fluent.getPatternType());
    return buildable;
  }
  

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy