public DoneableDestinationRuleList(DestinationRuleList item){ super(item);this.builder=new DestinationRuleListBuilder(this, item);this.function=new Function<DestinationRuleList, DestinationRuleList>() { public DestinationRuleList apply(DestinationRuleList item) { return item; } } ; }
public DestinationRuleListBuilder(DestinationRuleList instance,Boolean validationEnabled){ this.fluent = this; this.withApiVersion(instance.getApiVersion()); this.withItems(instance.getItems()); this.withKind(instance.getKind()); this.withMetadata(instance.getMetadata()); this.validationEnabled = validationEnabled; } public DestinationRuleListBuilder(Validator validator){
public DestinationRuleList done(){ return function.apply(builder.build()); }
public DestinationRuleListBuilder(DestinationRuleList instance,Validator validator){ this.fluent = this; this.withApiVersion(instance.getApiVersion()); this.withItems(instance.getItems()); this.withKind(instance.getKind()); this.withMetadata(instance.getMetadata()); this.validator = validator; this.validationEnabled = validator != null; }
public DoneableDestinationRuleList(DestinationRuleList item,Function<DestinationRuleList,DestinationRuleList> function){ super(item);this.builder=new DestinationRuleListBuilder(this, item);this.function=function; } public DoneableDestinationRuleList(DestinationRuleList item){
public DoneableDestinationRuleList(Function<DestinationRuleList,DestinationRuleList> function){ super();this.builder=new DestinationRuleListBuilder(this);this.function=function; } public DoneableDestinationRuleList(DestinationRuleList item,Function<DestinationRuleList,DestinationRuleList> function){