Interface FargateProfile.Builder

    • Method Detail

      • fargateProfileName

        FargateProfile.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.
      • fargateProfileArn

        FargateProfile.Builder fargateProfileArn​(String fargateProfileArn)

        The full Amazon Resource Name (ARN) of the Fargate profile.

        Parameters:
        fargateProfileArn - The full Amazon Resource Name (ARN) of the Fargate profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clusterName

        FargateProfile.Builder clusterName​(String clusterName)

        The name of the Amazon EKS cluster that the Fargate profile belongs to.

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

        FargateProfile.Builder createdAt​(Instant createdAt)

        The Unix epoch timestamp in seconds for when the Fargate profile was created.

        Parameters:
        createdAt - The Unix epoch timestamp in seconds for when the Fargate profile was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • podExecutionRoleArn

        FargateProfile.Builder podExecutionRoleArn​(String podExecutionRoleArn)

        The Amazon Resource Name (ARN) of the pod execution role to use for pods that match the selectors in the Fargate profile. 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 pods that match the selectors in the Fargate profile. 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

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

        The IDs of subnets to launch pods into.

        Parameters:
        subnets - The IDs of subnets to launch pods into.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnets

        FargateProfile.Builder subnets​(String... subnets)

        The IDs of subnets to launch pods into.

        Parameters:
        subnets - The IDs of subnets to launch pods into.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • selectors

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

        The selectors to match for pods to use this Fargate profile.

        Parameters:
        selectors - The selectors to match for pods to use this Fargate profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • selectors

        FargateProfile.Builder selectors​(FargateProfileSelector... selectors)

        The selectors to match for pods to use this Fargate profile.

        Parameters:
        selectors - The selectors to match for pods to use this Fargate profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        The metadata applied to the Fargate profile to assist with categorization and organization. Each tag consists of a key and an optional value. You define both. Fargate profile tags do not propagate to any other resources associated with the Fargate profile, such as the pods that are scheduled with it.

        Parameters:
        tags - The metadata applied to the Fargate profile to assist with categorization and organization. Each tag consists of a key and an optional value. You define both. Fargate profile tags do not propagate to any other resources associated with the Fargate profile, such as the pods that are scheduled with it.
        Returns:
        Returns a reference to this object so that method calls can be chained together.