public EmptyDirVolumeSourceBuilder edit(){ return new EmptyDirVolumeSourceBuilder(this); }
public DoneableEmptyDirVolumeSource(EmptyDirVolumeSource item){ super(item);this.builder=new EmptyDirVolumeSourceBuilder(this, item);this.function=new Function<EmptyDirVolumeSource, EmptyDirVolumeSource>() { public EmptyDirVolumeSource apply(EmptyDirVolumeSource item) { return item; } } ; }
public DoneableEmptyDirVolumeSource(Function<EmptyDirVolumeSource,EmptyDirVolumeSource> function){ super();this.builder=new EmptyDirVolumeSourceBuilder(this);this.function=function; } public DoneableEmptyDirVolumeSource(EmptyDirVolumeSource item,Function<EmptyDirVolumeSource,EmptyDirVolumeSource> function){
public DoneableEmptyDirVolumeSource(EmptyDirVolumeSource item,Function<EmptyDirVolumeSource,EmptyDirVolumeSource> function){ super(item);this.builder=new EmptyDirVolumeSourceBuilder(this, item);this.function=function; } public DoneableEmptyDirVolumeSource(EmptyDirVolumeSource item){
public T withEmptyDir( EmptyDirVolumeSource emptyDir){ if (emptyDir!=null){ this.emptyDir= new EmptyDirVolumeSourceBuilder(emptyDir); _visitables.add(this.emptyDir);} return (T) this; } public EmptyDirNested<T> withNewEmptyDir(){
public T withEmptyDir( EmptyDirVolumeSource emptyDir){ if (emptyDir!=null){ this.emptyDir= new EmptyDirVolumeSourceBuilder(emptyDir); _visitables.add(this.emptyDir);} return (T) this; } public EmptyDirNested<T> withNewEmptyDir(){
public A withEmptyDir(EmptyDirVolumeSource emptyDir){ if (emptyDir!=null){ this.emptyDir= new EmptyDirVolumeSourceBuilder(emptyDir); _visitables.add(this.emptyDir);} return (A) this; }
.withEnv(new EnvVarBuilder().withName("DB_PORT").withValue("6379").build()) .withVolumeMounts(new VolumeMountBuilder().withMountPath("/cache").withName("cache-volume").build()) .withVolumes(new VolumeBuilder().withName("cache-volume").withEmptyDir(new EmptyDirVolumeSourceBuilder().build()).build()) .endSpec() .build();
SecretNested (){ this.builder = new SecretVolumeSourceBuilder(this); }
SecretNested ( SecretVolumeSource item){ this.builder = new SecretVolumeSourceBuilder(this, item); }
public class VsphereVolumeNestedImpl<N> extends VsphereVirtualDiskVolumeSourceFluentImpl<VolumeFluent.VsphereVolumeNested<N>> implements VolumeFluent.VsphereVolumeNested<N>,Nested<N>{ private final VsphereVirtualDiskVolumeSourceBuilder builder; VsphereVolumeNestedImpl(){ this.builder = new VsphereVirtualDiskVolumeSourceBuilder(this); } VsphereVolumeNestedImpl(VsphereVirtualDiskVolumeSource item){ this.builder = new VsphereVirtualDiskVolumeSourceBuilder(this, item); } public N endVsphereVolume(){ return and(); } public N and(){ return (N) VolumeFluentImpl.this.withVsphereVolume(builder.build()); } }