public static interface EksPodPropertiesDetail.Builder extends SdkPojo, CopyableBuilder<EksPodPropertiesDetail.Builder,EksPodPropertiesDetail>
| Modifier and Type | Method and Description |
|---|---|
EksPodPropertiesDetail.Builder |
containers(Collection<EksContainerDetail> containers)
The properties of the container that's used on the Amazon EKS pod.
|
EksPodPropertiesDetail.Builder |
containers(Consumer<EksContainerDetail.Builder>... containers)
The properties of the container that's used on the Amazon EKS pod.
|
EksPodPropertiesDetail.Builder |
containers(EksContainerDetail... containers)
The properties of the container that's used on the Amazon EKS pod.
|
EksPodPropertiesDetail.Builder |
dnsPolicy(String dnsPolicy)
The DNS policy for the pod.
|
EksPodPropertiesDetail.Builder |
hostNetwork(Boolean hostNetwork)
Indicates if the pod uses the hosts' network IP address.
|
default EksPodPropertiesDetail.Builder |
metadata(Consumer<EksMetadata.Builder> metadata)
Sets the value of the Metadata property for this object.
|
EksPodPropertiesDetail.Builder |
metadata(EksMetadata metadata)
Sets the value of the Metadata property for this object.
|
EksPodPropertiesDetail.Builder |
nodeName(String nodeName)
The name of the node for this job.
|
EksPodPropertiesDetail.Builder |
podName(String podName)
The name of the pod for this job.
|
EksPodPropertiesDetail.Builder |
serviceAccountName(String serviceAccountName)
The name of the service account that's used to run the pod.
|
EksPodPropertiesDetail.Builder |
volumes(Collection<EksVolume> volumes)
Specifies the volumes for a job definition using Amazon EKS resources.
|
EksPodPropertiesDetail.Builder |
volumes(Consumer<EksVolume.Builder>... volumes)
Specifies the volumes for a job definition using Amazon EKS resources.
|
EksPodPropertiesDetail.Builder |
volumes(EksVolume... volumes)
Specifies the volumes for a job definition using Amazon EKS resources.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEksPodPropertiesDetail.Builder serviceAccountName(String serviceAccountName)
The name of the service account that's used to run the pod. For more information, see Kubernetes service accounts and Configure a Kubernetes service account to assume an IAM role in the Amazon EKS User Guide and Configure service accounts for pods in the Kubernetes documentation.
serviceAccountName - The name of the service account that's used to run the pod. For more information, see Kubernetes service
accounts and Configure
a Kubernetes service account to assume an IAM role in the Amazon EKS User Guide and Configure
service accounts for pods in the Kubernetes documentation.EksPodPropertiesDetail.Builder hostNetwork(Boolean hostNetwork)
Indicates if the pod uses the hosts' network IP address. The default value is true. Setting this
to false enables the Kubernetes pod networking model. Most Batch workloads are egress-only and
don't require the overhead of IP allocation for each pod for incoming connections. For more information, see
Host
namespaces and Pod
networking in the Kubernetes documentation.
hostNetwork - Indicates if the pod uses the hosts' network IP address. The default value is true.
Setting this to false enables the Kubernetes pod networking model. Most Batch workloads
are egress-only and don't require the overhead of IP allocation for each pod for incoming connections.
For more information, see Host
namespaces and Pod
networking in the Kubernetes documentation.EksPodPropertiesDetail.Builder dnsPolicy(String dnsPolicy)
The DNS policy for the pod. The default value is ClusterFirst. If the hostNetwork
parameter 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. If no value was specified for dnsPolicy in the
RegisterJobDefinition API operation, then no value will be returned for dnsPolicy by either
of
DescribeJobDefinitions or DescribeJobs API
operations. The pod spec setting will contain either ClusterFirst or
ClusterFirstWithHostNet, depending on the value of the hostNetwork parameter. For
more information, see Pod's DNS
policy in the Kubernetes documentation.
Valid values: Default | ClusterFirst | ClusterFirstWithHostNet
dnsPolicy - The DNS policy for the pod. The default value is ClusterFirst. If the
hostNetwork parameter 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. If no value was specified for dnsPolicy in the RegisterJobDefinition API operation, then no value will be returned for dnsPolicy by
either of DescribeJobDefinitions or DescribeJobs
API operations. The pod spec setting will contain either ClusterFirst or
ClusterFirstWithHostNet, depending on the value of the hostNetwork
parameter. For more information, see Pod's
DNS policy in the Kubernetes documentation.
Valid values: Default | ClusterFirst | ClusterFirstWithHostNet
EksPodPropertiesDetail.Builder containers(Collection<EksContainerDetail> containers)
The properties of the container that's used on the Amazon EKS pod.
containers - The properties of the container that's used on the Amazon EKS pod.EksPodPropertiesDetail.Builder containers(EksContainerDetail... containers)
The properties of the container that's used on the Amazon EKS pod.
containers - The properties of the container that's used on the Amazon EKS pod.EksPodPropertiesDetail.Builder containers(Consumer<EksContainerDetail.Builder>... containers)
The properties of the container that's used on the Amazon EKS pod.
This is a convenience method that creates an instance of theEksContainerDetail.Builder avoiding the need to create
one manually via EksContainerDetail.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #containers(List.
containers - a consumer that will call methods on
EksContainerDetail.Builder#containers(java.util.Collection) EksPodPropertiesDetail.Builder volumes(Collection<EksVolume> volumes)
Specifies the volumes for a job definition using Amazon EKS resources.
volumes - Specifies the volumes for a job definition using Amazon EKS resources.EksPodPropertiesDetail.Builder volumes(EksVolume... volumes)
Specifies the volumes for a job definition using Amazon EKS resources.
volumes - Specifies the volumes for a job definition using Amazon EKS resources.EksPodPropertiesDetail.Builder volumes(Consumer<EksVolume.Builder>... volumes)
Specifies the volumes for a job definition using Amazon EKS resources.
This is a convenience method that creates an instance of theEksVolume.Builder avoiding the need to create one
manually via EksVolume.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #volumes(List.
volumes - a consumer that will call methods on
EksVolume.Builder#volumes(java.util.Collection) EksPodPropertiesDetail.Builder podName(String podName)
The name of the pod for this job.
podName - The name of the pod for this job.EksPodPropertiesDetail.Builder nodeName(String nodeName)
The name of the node for this job.
nodeName - The name of the node for this job.EksPodPropertiesDetail.Builder metadata(EksMetadata metadata)
metadata - The new value for the Metadata property for this object.default EksPodPropertiesDetail.Builder metadata(Consumer<EksMetadata.Builder> metadata)
EksMetadata.Builder avoiding the need to
create one manually via EksMetadata.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to metadata(EksMetadata).
metadata - a consumer that will call methods on EksMetadata.Buildermetadata(EksMetadata)Copyright © 2023. All rights reserved.