Interface Queue.Builder

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

@Mutable @NotThreadSafe public static interface Queue.Builder extends SdkPojo, CopyableBuilder<Queue.Builder,Queue>
  • Method Details

    • name

      Queue.Builder name(String name)

      The name that identifies the queue.

      Parameters:
      name - The name that identifies the queue.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • id

      The generated unique ID of the queue.

      Parameters:
      id - The generated unique ID of the queue.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The unique Amazon Resource Name (ARN) of the queue.

      Parameters:
      arn - The unique Amazon Resource Name (ARN) of the queue.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clusterId

      Queue.Builder clusterId(String clusterId)

      The ID of the cluster of the queue.

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

      Queue.Builder createdAt(Instant createdAt)

      The date and time the resource was created.

      Parameters:
      createdAt - The date and time the resource was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modifiedAt

      Queue.Builder modifiedAt(Instant modifiedAt)

      The date and time the resource was modified.

      Parameters:
      modifiedAt - The date and time the resource was modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Queue.Builder status(String status)

      The provisioning status of the queue.

      The provisioning status doesn't indicate the overall health of the queue.

      The resource enters the SUSPENDING and SUSPENDED states when the scheduler is beyond end of life and we have suspended the cluster. When in these states, you can't use the cluster. The cluster controller is down and all compute instances are terminated. The resources still count toward your service quotas. You can delete a resource if its status is SUSPENDED. For more information, see Frequently asked questions about Slurm versions in PCS in the PCS User Guide.

      Parameters:
      status - The provisioning status of the queue.

      The provisioning status doesn't indicate the overall health of the queue.

      The resource enters the SUSPENDING and SUSPENDED states when the scheduler is beyond end of life and we have suspended the cluster. When in these states, you can't use the cluster. The cluster controller is down and all compute instances are terminated. The resources still count toward your service quotas. You can delete a resource if its status is SUSPENDED. For more information, see Frequently asked questions about Slurm versions in PCS in the PCS User Guide.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Queue.Builder status(QueueStatus status)

      The provisioning status of the queue.

      The provisioning status doesn't indicate the overall health of the queue.

      The resource enters the SUSPENDING and SUSPENDED states when the scheduler is beyond end of life and we have suspended the cluster. When in these states, you can't use the cluster. The cluster controller is down and all compute instances are terminated. The resources still count toward your service quotas. You can delete a resource if its status is SUSPENDED. For more information, see Frequently asked questions about Slurm versions in PCS in the PCS User Guide.

      Parameters:
      status - The provisioning status of the queue.

      The provisioning status doesn't indicate the overall health of the queue.

      The resource enters the SUSPENDING and SUSPENDED states when the scheduler is beyond end of life and we have suspended the cluster. When in these states, you can't use the cluster. The cluster controller is down and all compute instances are terminated. The resources still count toward your service quotas. You can delete a resource if its status is SUSPENDED. For more information, see Frequently asked questions about Slurm versions in PCS in the PCS User Guide.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • computeNodeGroupConfigurations

      Queue.Builder computeNodeGroupConfigurations(Collection<ComputeNodeGroupConfiguration> computeNodeGroupConfigurations)

      The list of compute node group configurations associated with the queue. Queues assign jobs to associated compute node groups.

      Parameters:
      computeNodeGroupConfigurations - The list of compute node group configurations associated with the queue. Queues assign jobs to associated compute node groups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • computeNodeGroupConfigurations

      Queue.Builder computeNodeGroupConfigurations(ComputeNodeGroupConfiguration... computeNodeGroupConfigurations)

      The list of compute node group configurations associated with the queue. Queues assign jobs to associated compute node groups.

      Parameters:
      computeNodeGroupConfigurations - The list of compute node group configurations associated with the queue. Queues assign jobs to associated compute node groups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • computeNodeGroupConfigurations

      Queue.Builder computeNodeGroupConfigurations(Consumer<ComputeNodeGroupConfiguration.Builder>... computeNodeGroupConfigurations)

      The list of compute node group configurations associated with the queue. Queues assign jobs to associated compute node groups.

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

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

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

      Queue.Builder errorInfo(Collection<ErrorInfo> errorInfo)

      The list of errors that occurred during queue provisioning.

      Parameters:
      errorInfo - The list of errors that occurred during queue provisioning.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorInfo

      Queue.Builder errorInfo(ErrorInfo... errorInfo)

      The list of errors that occurred during queue provisioning.

      Parameters:
      errorInfo - The list of errors that occurred during queue provisioning.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorInfo

      Queue.Builder errorInfo(Consumer<ErrorInfo.Builder>... errorInfo)

      The list of errors that occurred during queue provisioning.

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

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

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