Interface VirtualCluster.Builder

  • Method Details

    • id

      The ID of the virtual cluster.

      Parameters:
      id - The ID of the virtual cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the virtual cluster.

      Parameters:
      name - The name of the virtual cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The ARN of the virtual cluster.

      Parameters:
      arn - The ARN of the virtual cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The state of the virtual cluster.

      Parameters:
      state - The state of the virtual cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The state of the virtual cluster.

      Parameters:
      state - The state of the virtual cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • containerProvider

      VirtualCluster.Builder containerProvider(ContainerProvider containerProvider)

      The container provider of the virtual cluster.

      Parameters:
      containerProvider - The container provider of the virtual cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • containerProvider

      default VirtualCluster.Builder containerProvider(Consumer<ContainerProvider.Builder> containerProvider)

      The container provider of the virtual cluster.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to containerProvider(ContainerProvider).

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

      VirtualCluster.Builder createdAt(Instant createdAt)

      The date and time when the virtual cluster is created.

      Parameters:
      createdAt - The date and time when the virtual cluster is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The assigned tags of the virtual cluster.

      Parameters:
      tags - The assigned tags of the virtual cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityConfigurationId

      VirtualCluster.Builder securityConfigurationId(String securityConfigurationId)

      The ID of the security configuration.

      Parameters:
      securityConfigurationId - The ID of the security configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessionEnabled

      VirtualCluster.Builder sessionEnabled(Boolean sessionEnabled)

      Specifies whether the virtual cluster has session support enabled.

      Parameters:
      sessionEnabled - Specifies whether the virtual cluster has session support enabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • schedulerConfiguration

      VirtualCluster.Builder schedulerConfiguration(SchedulerConfiguration schedulerConfiguration)

      The scheduler configuration (concurrency and queue limits) applied to the virtual cluster. The service does not return this field when no scheduler limits are configured.

      Parameters:
      schedulerConfiguration - The scheduler configuration (concurrency and queue limits) applied to the virtual cluster. The service does not return this field when no scheduler limits are configured.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • schedulerConfiguration

      default VirtualCluster.Builder schedulerConfiguration(Consumer<SchedulerConfiguration.Builder> schedulerConfiguration)

      The scheduler configuration (concurrency and queue limits) applied to the virtual cluster. The service does not return this field when no scheduler limits are configured.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to schedulerConfiguration(SchedulerConfiguration).

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

      VirtualCluster.Builder schedulerStatus(SchedulerStatus schedulerStatus)

      The current in-queue and concurrent job-run counts for the virtual cluster.

      Parameters:
      schedulerStatus - The current in-queue and concurrent job-run counts for the virtual cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • schedulerStatus

      default VirtualCluster.Builder schedulerStatus(Consumer<SchedulerStatus.Builder> schedulerStatus)

      The current in-queue and concurrent job-run counts for the virtual cluster.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to schedulerStatus(SchedulerStatus).

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