Interface EksPodPropertiesOverride.Builder

    • Method Detail

      • containers

        EksPodPropertiesOverride.Builder containers​(Collection<EksContainerOverride> containers)

        The overrides for the container that's used on the Amazon EKS pod.

        Parameters:
        containers - The overrides for the container that's used on the Amazon EKS pod.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • containers

        EksPodPropertiesOverride.Builder containers​(EksContainerOverride... containers)

        The overrides for the container that's used on the Amazon EKS pod.

        Parameters:
        containers - The overrides for the container that's used on the Amazon EKS pod.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • initContainers

        EksPodPropertiesOverride.Builder initContainers​(Collection<EksContainerOverride> initContainers)

        The overrides for the initContainers defined in the Amazon EKS pod. These containers 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. For more information, see Init Containers in the Kubernetes documentation.

        Parameters:
        initContainers - The overrides for the initContainers defined in the Amazon EKS pod. These containers 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. For more information, see Init Containers in the Kubernetes documentation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • initContainers

        EksPodPropertiesOverride.Builder initContainers​(EksContainerOverride... initContainers)

        The overrides for the initContainers defined in the Amazon EKS pod. These containers 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. For more information, see Init Containers in the Kubernetes documentation.

        Parameters:
        initContainers - The overrides for the initContainers defined in the Amazon EKS pod. These containers 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. For more information, see Init Containers in the Kubernetes documentation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • initContainers

        EksPodPropertiesOverride.Builder initContainers​(Consumer<EksContainerOverride.Builder>... initContainers)

        The overrides for the initContainers defined in the Amazon EKS pod. These containers 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. For more information, see Init Containers in the Kubernetes documentation.

        This is a convenience method that creates an instance of the EksContainerOverride.Builder avoiding the need to create one manually via EksContainerOverride.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #initContainers(List).

        Parameters:
        initContainers - a consumer that will call methods on EksContainerOverride.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #initContainers(java.util.Collection)
      • metadata

        EksPodPropertiesOverride.Builder metadata​(EksMetadata metadata)

        Metadata about the overrides for the container that's used on the Amazon EKS pod.

        Parameters:
        metadata - Metadata about the overrides for the container that's used on the Amazon EKS pod.
        Returns:
        Returns a reference to this object so that method calls can be chained together.