Interface FargateProfile.Builder

All Superinterfaces:
Buildable, CopyableBuilder<FargateProfile.Builder,FargateProfile>, SdkBuilder<FargateProfile.Builder,FargateProfile>, SdkPojo
Enclosing class:
FargateProfile

public static interface FargateProfile.Builder extends SdkPojo, CopyableBuilder<FargateProfile.Builder,FargateProfile>
  • Method Details

    • 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 your cluster.

      Parameters:
      clusterName - The name of your cluster.
      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 at object creation.

      Parameters:
      createdAt - The Unix epoch timestamp at object creation.
      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 any Pod that matches 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 any Pod that matches 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

      The IDs of subnets to launch a Pod into.

      Parameters:
      subnets - The IDs of subnets to launch a Pod 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 a Pod into.

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

      The selectors to match for a Pod to use this Fargate profile.

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

      The selectors to match for a Pod to use this Fargate profile.

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

      The selectors to match for a Pod to use this Fargate profile.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to selectors(List<FargateProfileSelector>).

      Parameters:
      selectors - a consumer that will call methods on FargateProfileSelector.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the Fargate profile.

      Parameters:
      status - The current status of the Fargate profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the Fargate profile.

      Parameters:
      status - The current status of the Fargate profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.