Package com.pulumi.aws.batch.inputs
Class JobDefinitionEksPropertiesPodPropertiesArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.batch.inputs.JobDefinitionEksPropertiesPodPropertiesArgs.Builder
-
- Enclosing class:
- JobDefinitionEksPropertiesPodPropertiesArgs
public static final class JobDefinitionEksPropertiesPodPropertiesArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(JobDefinitionEksPropertiesPodPropertiesArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(JobDefinitionEksPropertiesPodPropertiesArgs defaults)
-
-
Method Detail
-
containers
public JobDefinitionEksPropertiesPodPropertiesArgs.Builder containers(com.pulumi.core.Output<java.util.List<JobDefinitionEksPropertiesPodPropertiesContainerArgs>> containers)
- Parameters:
containers- Properties of the container that's used on the Amazon EKS pod. See `containers` below.- Returns:
- builder
-
containers
public JobDefinitionEksPropertiesPodPropertiesArgs.Builder containers(java.util.List<JobDefinitionEksPropertiesPodPropertiesContainerArgs> containers)
- Parameters:
containers- Properties of the container that's used on the Amazon EKS pod. See `containers` below.- Returns:
- builder
-
containers
public JobDefinitionEksPropertiesPodPropertiesArgs.Builder containers(JobDefinitionEksPropertiesPodPropertiesContainerArgs... containers)
- Parameters:
containers- Properties of the container that's used on the Amazon EKS pod. See `containers` below.- Returns:
- builder
-
dnsPolicy
public JobDefinitionEksPropertiesPodPropertiesArgs.Builder dnsPolicy(@Nullable com.pulumi.core.Output<java.lang.String> dnsPolicy)
- Parameters:
dnsPolicy- DNS policy for the pod. The default value is `ClusterFirst`. If the `hostNetwork` argument is not specified, the default is `ClusterFirstWithHostNet`. `ClusterFirst` indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node. For more information, see Pod's DNS policy in the Kubernetes documentation.- Returns:
- builder
-
dnsPolicy
public JobDefinitionEksPropertiesPodPropertiesArgs.Builder dnsPolicy(java.lang.String dnsPolicy)
- Parameters:
dnsPolicy- DNS policy for the pod. The default value is `ClusterFirst`. If the `hostNetwork` argument is not specified, the default is `ClusterFirstWithHostNet`. `ClusterFirst` indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node. For more information, see Pod's DNS policy in the Kubernetes documentation.- Returns:
- builder
-
hostNetwork
public JobDefinitionEksPropertiesPodPropertiesArgs.Builder hostNetwork(@Nullable com.pulumi.core.Output<java.lang.Boolean> hostNetwork)
- Parameters:
hostNetwork- Whether the pod uses the hosts' network IP address. The default value is `true`. Setting this to `false` enables the Kubernetes pod networking model. Most AWS Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections.- Returns:
- builder
-
hostNetwork
public JobDefinitionEksPropertiesPodPropertiesArgs.Builder hostNetwork(java.lang.Boolean hostNetwork)
- Parameters:
hostNetwork- Whether the pod uses the hosts' network IP address. The default value is `true`. Setting this to `false` enables the Kubernetes pod networking model. Most AWS Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections.- Returns:
- builder
-
imagePullSecrets
public JobDefinitionEksPropertiesPodPropertiesArgs.Builder imagePullSecrets(@Nullable com.pulumi.core.Output<java.util.List<JobDefinitionEksPropertiesPodPropertiesImagePullSecretArgs>> imagePullSecrets)
- Parameters:
imagePullSecrets- List of Kubernetes secret resources. See `imagePullSecret` below.- Returns:
- builder
-
imagePullSecrets
public JobDefinitionEksPropertiesPodPropertiesArgs.Builder imagePullSecrets(java.util.List<JobDefinitionEksPropertiesPodPropertiesImagePullSecretArgs> imagePullSecrets)
- Parameters:
imagePullSecrets- List of Kubernetes secret resources. See `imagePullSecret` below.- Returns:
- builder
-
imagePullSecrets
public JobDefinitionEksPropertiesPodPropertiesArgs.Builder imagePullSecrets(JobDefinitionEksPropertiesPodPropertiesImagePullSecretArgs... imagePullSecrets)
- Parameters:
imagePullSecrets- List of Kubernetes secret resources. See `imagePullSecret` below.- Returns:
- builder
-
initContainers
public JobDefinitionEksPropertiesPodPropertiesArgs.Builder initContainers(@Nullable com.pulumi.core.Output<java.util.List<JobDefinitionEksPropertiesPodPropertiesInitContainerArgs>> initContainers)
- Parameters:
initContainers- Containers which run before application containers, always runs to completion, and must complete successfully before the next container starts. These containers are registered with the Amazon EKS Connector agent and persists the registration information in the Kubernetes backend data store. See `initContainers` below.- Returns:
- builder
-
initContainers
public JobDefinitionEksPropertiesPodPropertiesArgs.Builder initContainers(java.util.List<JobDefinitionEksPropertiesPodPropertiesInitContainerArgs> initContainers)
- Parameters:
initContainers- Containers which run before application containers, always runs to completion, and must complete successfully before the next container starts. These containers are registered with the Amazon EKS Connector agent and persists the registration information in the Kubernetes backend data store. See `initContainers` below.- Returns:
- builder
-
initContainers
public JobDefinitionEksPropertiesPodPropertiesArgs.Builder initContainers(JobDefinitionEksPropertiesPodPropertiesInitContainerArgs... initContainers)
- Parameters:
initContainers- Containers which run before application containers, always runs to completion, and must complete successfully before the next container starts. These containers are registered with the Amazon EKS Connector agent and persists the registration information in the Kubernetes backend data store. See `initContainers` below.- Returns:
- builder
-
metadata
public JobDefinitionEksPropertiesPodPropertiesArgs.Builder metadata(@Nullable com.pulumi.core.Output<JobDefinitionEksPropertiesPodPropertiesMetadataArgs> metadata)
- Parameters:
metadata- Metadata about the Kubernetes pod. See `metadata` below.- Returns:
- builder
-
metadata
public JobDefinitionEksPropertiesPodPropertiesArgs.Builder metadata(JobDefinitionEksPropertiesPodPropertiesMetadataArgs metadata)
- Parameters:
metadata- Metadata about the Kubernetes pod. See `metadata` below.- Returns:
- builder
-
serviceAccountName
public JobDefinitionEksPropertiesPodPropertiesArgs.Builder serviceAccountName(@Nullable com.pulumi.core.Output<java.lang.String> serviceAccountName)
- Parameters:
serviceAccountName- Name of the service account that's used to run the pod.- Returns:
- builder
-
serviceAccountName
public JobDefinitionEksPropertiesPodPropertiesArgs.Builder serviceAccountName(java.lang.String serviceAccountName)
- Parameters:
serviceAccountName- Name of the service account that's used to run the pod.- Returns:
- builder
-
shareProcessNamespace
public JobDefinitionEksPropertiesPodPropertiesArgs.Builder shareProcessNamespace(@Nullable com.pulumi.core.Output<java.lang.Boolean> shareProcessNamespace)
- Parameters:
shareProcessNamespace- Whether the processes in a container are shared, or visible, to other containers in the same pod.- Returns:
- builder
-
shareProcessNamespace
public JobDefinitionEksPropertiesPodPropertiesArgs.Builder shareProcessNamespace(java.lang.Boolean shareProcessNamespace)
- Parameters:
shareProcessNamespace- Whether the processes in a container are shared, or visible, to other containers in the same pod.- Returns:
- builder
-
volumes
public JobDefinitionEksPropertiesPodPropertiesArgs.Builder volumes(@Nullable com.pulumi.core.Output<java.util.List<JobDefinitionEksPropertiesPodPropertiesVolumeArgs>> volumes)
- Parameters:
volumes- Volumes for a job definition that uses Amazon EKS resources. See `volumes` below.- Returns:
- builder
-
volumes
public JobDefinitionEksPropertiesPodPropertiesArgs.Builder volumes(java.util.List<JobDefinitionEksPropertiesPodPropertiesVolumeArgs> volumes)
- Parameters:
volumes- Volumes for a job definition that uses Amazon EKS resources. See `volumes` below.- Returns:
- builder
-
volumes
public JobDefinitionEksPropertiesPodPropertiesArgs.Builder volumes(JobDefinitionEksPropertiesPodPropertiesVolumeArgs... volumes)
- Parameters:
volumes- Volumes for a job definition that uses Amazon EKS resources. See `volumes` below.- Returns:
- builder
-
build
public JobDefinitionEksPropertiesPodPropertiesArgs build()
-
-