Class Container.Builder
- java.lang.Object
-
- com.pulumi.kubernetes.core.v1.outputs.Container.Builder
-
- Enclosing class:
- Container
public static final class Container.Builder extends java.lang.Object
-
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(Container defaults)
-
-
Method Detail
-
args
public Container.Builder args(@Nullable java.util.List<java.lang.String> args)
-
args
public Container.Builder args(java.lang.String... args)
-
command
public Container.Builder command(@Nullable java.util.List<java.lang.String> command)
-
command
public Container.Builder command(java.lang.String... command)
-
env
public Container.Builder env(@Nullable java.util.List<EnvVar> env)
-
env
public Container.Builder env(EnvVar... env)
-
envFrom
public Container.Builder envFrom(@Nullable java.util.List<EnvFromSource> envFrom)
-
envFrom
public Container.Builder envFrom(EnvFromSource... envFrom)
-
image
public Container.Builder image(@Nullable java.lang.String image)
-
imagePullPolicy
public Container.Builder imagePullPolicy(@Nullable java.lang.String imagePullPolicy)
-
lifecycle
public Container.Builder lifecycle(@Nullable Lifecycle lifecycle)
-
livenessProbe
public Container.Builder livenessProbe(@Nullable Probe livenessProbe)
-
name
public Container.Builder name(java.lang.String name)
-
ports
public Container.Builder ports(@Nullable java.util.List<ContainerPort> ports)
-
ports
public Container.Builder ports(ContainerPort... ports)
-
readinessProbe
public Container.Builder readinessProbe(@Nullable Probe readinessProbe)
-
resources
public Container.Builder resources(@Nullable ResourceRequirements resources)
-
securityContext
public Container.Builder securityContext(@Nullable SecurityContext securityContext)
-
startupProbe
public Container.Builder startupProbe(@Nullable Probe startupProbe)
-
stdin
public Container.Builder stdin(@Nullable java.lang.Boolean stdin)
-
stdinOnce
public Container.Builder stdinOnce(@Nullable java.lang.Boolean stdinOnce)
-
terminationMessagePath
public Container.Builder terminationMessagePath(@Nullable java.lang.String terminationMessagePath)
-
terminationMessagePolicy
public Container.Builder terminationMessagePolicy(@Nullable java.lang.String terminationMessagePolicy)
-
tty
public Container.Builder tty(@Nullable java.lang.Boolean tty)
-
volumeDevices
public Container.Builder volumeDevices(@Nullable java.util.List<VolumeDevice> volumeDevices)
-
volumeDevices
public Container.Builder volumeDevices(VolumeDevice... volumeDevices)
-
volumeMounts
public Container.Builder volumeMounts(@Nullable java.util.List<VolumeMount> volumeMounts)
-
volumeMounts
public Container.Builder volumeMounts(VolumeMount... volumeMounts)
-
workingDir
public Container.Builder workingDir(@Nullable java.lang.String workingDir)
-
build
public Container build()
-
-