Interface CreateFargateProfileRequest.Builder

    • Method Detail

      • fargateProfileName

        CreateFargateProfileRequest.Builder fargateProfileName​(String fargateProfileName)

        The name of the Fargate profile.

        Parameters:
        fargateProfileName - The name of the Fargate profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clusterName

        CreateFargateProfileRequest.Builder clusterName​(String clusterName)

        The name of your cluster.

        Parameters:
        clusterName - The name of your cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • podExecutionRoleArn

        CreateFargateProfileRequest.Builder podExecutionRoleArn​(String podExecutionRoleArn)

        The Amazon Resource Name (ARN) of the Pod execution role to use for a Pod that matches the selectors in the Fargate profile. The Pod execution role allows Fargate infrastructure to register with your cluster as a node, and it provides read access to Amazon ECR image repositories. For more information, see Pod execution role in the Amazon EKS User Guide.

        Parameters:
        podExecutionRoleArn - The Amazon Resource Name (ARN) of the Pod execution role to use for a Pod that matches the selectors in the Fargate profile. The Pod execution role allows Fargate infrastructure to register with your cluster as a node, and it provides read access to Amazon ECR image repositories. For more information, see Pod execution role in the Amazon EKS User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnets

        CreateFargateProfileRequest.Builder subnets​(Collection<String> subnets)

        The IDs of subnets to launch a Pod into. A Pod running on Fargate isn't assigned a public IP address, so only private subnets (with no direct route to an Internet Gateway) are accepted for this parameter.

        Parameters:
        subnets - The IDs of subnets to launch a Pod into. A Pod running on Fargate isn't assigned a public IP address, so only private subnets (with no direct route to an Internet Gateway) are accepted for this parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnets

        CreateFargateProfileRequest.Builder subnets​(String... subnets)

        The IDs of subnets to launch a Pod into. A Pod running on Fargate isn't assigned a public IP address, so only private subnets (with no direct route to an Internet Gateway) are accepted for this parameter.

        Parameters:
        subnets - The IDs of subnets to launch a Pod into. A Pod running on Fargate isn't assigned a public IP address, so only private subnets (with no direct route to an Internet Gateway) are accepted for this parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • selectors

        CreateFargateProfileRequest.Builder selectors​(Collection<FargateProfileSelector> selectors)

        The selectors to match for a Pod to use this Fargate profile. Each selector must have an associated Kubernetes namespace. Optionally, you can also specify labels for a namespace. You may specify up to five selectors in a Fargate profile.

        Parameters:
        selectors - The selectors to match for a Pod to use this Fargate profile. Each selector must have an associated Kubernetes namespace. Optionally, you can also specify labels for a namespace. You may specify up to five selectors in a Fargate profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • selectors

        CreateFargateProfileRequest.Builder selectors​(FargateProfileSelector... selectors)

        The selectors to match for a Pod to use this Fargate profile. Each selector must have an associated Kubernetes namespace. Optionally, you can also specify labels for a namespace. You may specify up to five selectors in a Fargate profile.

        Parameters:
        selectors - The selectors to match for a Pod to use this Fargate profile. Each selector must have an associated Kubernetes namespace. Optionally, you can also specify labels for a namespace. You may specify up to five selectors in a Fargate profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientRequestToken

        CreateFargateProfileRequest.Builder clientRequestToken​(String clientRequestToken)

        A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

        Parameters:
        clientRequestToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateFargateProfileRequest.Builder tags​(Map<String,​String> tags)

        Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.

        Parameters:
        tags - Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.
        Returns:
        Returns a reference to this object so that method calls can be chained together.