Class PodPresetSpecArgs.Builder
- java.lang.Object
-
- com.pulumi.kubernetes.settings.v1alpha1.inputs.PodPresetSpecArgs.Builder
-
- Enclosing class:
- PodPresetSpecArgs
public static final class PodPresetSpecArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(PodPresetSpecArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(PodPresetSpecArgs defaults)
-
-
Method Detail
-
env
public PodPresetSpecArgs.Builder env(@Nullable com.pulumi.core.Output<java.util.List<EnvVarArgs>> env)
- Parameters:
env
- Env defines the collection of EnvVar to inject into containers.- Returns:
- builder
-
env
public PodPresetSpecArgs.Builder env(java.util.List<EnvVarArgs> env)
- Parameters:
env
- Env defines the collection of EnvVar to inject into containers.- Returns:
- builder
-
env
public PodPresetSpecArgs.Builder env(EnvVarArgs... env)
- Parameters:
env
- Env defines the collection of EnvVar to inject into containers.- Returns:
- builder
-
envFrom
public PodPresetSpecArgs.Builder envFrom(@Nullable com.pulumi.core.Output<java.util.List<EnvFromSourceArgs>> envFrom)
- Parameters:
envFrom
- EnvFrom defines the collection of EnvFromSource to inject into containers.- Returns:
- builder
-
envFrom
public PodPresetSpecArgs.Builder envFrom(java.util.List<EnvFromSourceArgs> envFrom)
- Parameters:
envFrom
- EnvFrom defines the collection of EnvFromSource to inject into containers.- Returns:
- builder
-
envFrom
public PodPresetSpecArgs.Builder envFrom(EnvFromSourceArgs... envFrom)
- Parameters:
envFrom
- EnvFrom defines the collection of EnvFromSource to inject into containers.- Returns:
- builder
-
selector
public PodPresetSpecArgs.Builder selector(@Nullable com.pulumi.core.Output<LabelSelectorArgs> selector)
- Parameters:
selector
- Selector is a label query over a set of resources, in this case pods. Required.- Returns:
- builder
-
selector
public PodPresetSpecArgs.Builder selector(LabelSelectorArgs selector)
- Parameters:
selector
- Selector is a label query over a set of resources, in this case pods. Required.- Returns:
- builder
-
volumeMounts
public PodPresetSpecArgs.Builder volumeMounts(@Nullable com.pulumi.core.Output<java.util.List<VolumeMountArgs>> volumeMounts)
- Parameters:
volumeMounts
- VolumeMounts defines the collection of VolumeMount to inject into containers.- Returns:
- builder
-
volumeMounts
public PodPresetSpecArgs.Builder volumeMounts(java.util.List<VolumeMountArgs> volumeMounts)
- Parameters:
volumeMounts
- VolumeMounts defines the collection of VolumeMount to inject into containers.- Returns:
- builder
-
volumeMounts
public PodPresetSpecArgs.Builder volumeMounts(VolumeMountArgs... volumeMounts)
- Parameters:
volumeMounts
- VolumeMounts defines the collection of VolumeMount to inject into containers.- Returns:
- builder
-
volumes
public PodPresetSpecArgs.Builder volumes(@Nullable com.pulumi.core.Output<java.util.List<VolumeArgs>> volumes)
- Parameters:
volumes
- Volumes defines the collection of Volume to inject into the pod.- Returns:
- builder
-
volumes
public PodPresetSpecArgs.Builder volumes(java.util.List<VolumeArgs> volumes)
- Parameters:
volumes
- Volumes defines the collection of Volume to inject into the pod.- Returns:
- builder
-
volumes
public PodPresetSpecArgs.Builder volumes(VolumeArgs... volumes)
- Parameters:
volumes
- Volumes defines the collection of Volume to inject into the pod.- Returns:
- builder
-
build
public PodPresetSpecArgs build()
-
-