public DoneableTCPSocketAction(TCPSocketAction item,Function<TCPSocketAction,TCPSocketAction> function){ super(item);this.builder=new TCPSocketActionBuilder(this, item);this.function=function; } public DoneableTCPSocketAction(TCPSocketAction item){
private Probe generateLivenessProbe(DeploymentModel deploymentModel) { if (!deploymentModel.isEnableLiveness()) { return null; } TCPSocketAction tcpSocketAction = new TCPSocketActionBuilder() .withNewPort(deploymentModel.getLivenessPort()) .build(); return new ProbeBuilder() .withInitialDelaySeconds(deploymentModel.getInitialDelaySeconds()) .withPeriodSeconds(deploymentModel.getPeriodSeconds()) .withTcpSocket(tcpSocketAction) .build(); }
public EditableTCPSocketAction build(){ EditableTCPSocketAction buildable = new EditableTCPSocketAction(fluent.getPort()); validate(buildable); return buildable; }
public TCPSocketActionBuilder(TCPSocketAction instance,Boolean validationEnabled){ this.fluent = this; this.withPort(instance.getPort()); this.validationEnabled = validationEnabled; }
public TCPSocketAction done(){ return function.apply(builder.build()); }
public TCPSocketAction build(){ TCPSocketAction buildable = new TCPSocketAction(fluent.getPort()); validate(buildable); return buildable; }
public TCPSocketActionBuilder( TCPSocketAction instance ){ this.fluent = this; this.withPort(instance.getPort()); }
public DoneableTCPSocketAction(TCPSocketAction item){ super(item);this.builder=new TCPSocketActionBuilder(this, item);this.function=new Function<TCPSocketAction, TCPSocketAction>() { public TCPSocketAction apply(TCPSocketAction item) { return item; } } ; }
public TCPSocketAction build(){ TCPSocketAction buildable = new TCPSocketAction(fluent.getPort()); validate(buildable); return buildable; }
public TCPSocketActionBuilder( TCPSocketAction instance ){ this.fluent = this; this.withPort(instance.getPort()); }
public DoneableTCPSocketAction(Function<TCPSocketAction,TCPSocketAction> function){ super();this.builder=new TCPSocketActionBuilder(this);this.function=function; } public DoneableTCPSocketAction(TCPSocketAction item,Function<TCPSocketAction,TCPSocketAction> function){
public TCPSocketActionBuilder edit(){ return new TCPSocketActionBuilder(this); }
public T withTcpSocket( TCPSocketAction tcpSocket){ if (tcpSocket!=null){ this.tcpSocket= new TCPSocketActionBuilder(tcpSocket); _visitables.add(this.tcpSocket);} return (T) this; } public TcpSocketNested<T> withNewTcpSocket(){
public T withTcpSocket( TCPSocketAction tcpSocket){ if (tcpSocket!=null){ this.tcpSocket= new TCPSocketActionBuilder(tcpSocket); _visitables.add(this.tcpSocket);} return (T) this; } public TcpSocketNested<T> withNewTcpSocket(){
public T withTcpSocket( TCPSocketAction tcpSocket){ if (tcpSocket!=null){ this.tcpSocket= new TCPSocketActionBuilder(tcpSocket); _visitables.add(this.tcpSocket);} return (T) this; } public TcpSocketNested<T> withNewTcpSocket(){
public T withTcpSocket( TCPSocketAction tcpSocket){ if (tcpSocket!=null){ this.tcpSocket= new TCPSocketActionBuilder(tcpSocket); _visitables.add(this.tcpSocket);} return (T) this; } public TcpSocketNested<T> withNewTcpSocket(){
public A withTcpSocket(TCPSocketAction tcpSocket){ if (tcpSocket!=null){ this.tcpSocket= new TCPSocketActionBuilder(tcpSocket); _visitables.add(this.tcpSocket);} return (A) this; }
public A withTcpSocket(TCPSocketAction tcpSocket){ if (tcpSocket!=null){ this.tcpSocket= new TCPSocketActionBuilder(tcpSocket); _visitables.add(this.tcpSocket);} return (A) this; }
TcpSocketNested (){ this.builder = new TCPSocketActionBuilder(this); }
TcpSocketNested ( TCPSocketAction item){ this.builder = new TCPSocketActionBuilder(this, item); }