Interface Queue.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Queue.Builder,
,Queue> SdkBuilder<Queue.Builder,
,Queue> SdkPojo
- Enclosing class:
Queue
-
Method Summary
Modifier and TypeMethodDescriptionThe unique Amazon Resource Name (ARN) of the queue.The ID of the cluster of the queue.computeNodeGroupConfigurations
(Collection<ComputeNodeGroupConfiguration> computeNodeGroupConfigurations) The list of compute node group configurations associated with the queue.computeNodeGroupConfigurations
(Consumer<ComputeNodeGroupConfiguration.Builder>... computeNodeGroupConfigurations) The list of compute node group configurations associated with the queue.computeNodeGroupConfigurations
(ComputeNodeGroupConfiguration... computeNodeGroupConfigurations) The list of compute node group configurations associated with the queue.The date and time the resource was created.errorInfo
(Collection<ErrorInfo> errorInfo) The list of errors that occurred during queue provisioning.errorInfo
(Consumer<ErrorInfo.Builder>... errorInfo) The list of errors that occurred during queue provisioning.The list of errors that occurred during queue provisioning.The generated unique ID of the queue.modifiedAt
(Instant modifiedAt) The date and time the resource was modified.The name that identifies the queue.The provisioning status of the queue.status
(QueueStatus status) The provisioning status of the queue.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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
The provisioning status of the queue.
The provisioning status doesn't indicate the overall health of the queue.
The resource enters the
SUSPENDING
andSUSPENDED
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 isSUSPENDED
. 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
andSUSPENDED
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 isSUSPENDED
. 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
The provisioning status of the queue.
The provisioning status doesn't indicate the overall health of the queue.
The resource enters the
SUSPENDING
andSUSPENDED
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 isSUSPENDED
. 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
andSUSPENDED
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 isSUSPENDED
. 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 theComputeNodeGroupConfiguration.Builder
avoiding the need to create one manually viaComputeNodeGroupConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocomputeNodeGroupConfigurations(List<ComputeNodeGroupConfiguration>)
.- Parameters:
computeNodeGroupConfigurations
- a consumer that will call methods onComputeNodeGroupConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
The list of errors that occurred during queue provisioning.
This is a convenience method that creates an instance of theErrorInfo.Builder
avoiding the need to create one manually viaErrorInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrorInfo(List<ErrorInfo>)
.- Parameters:
errorInfo
- a consumer that will call methods onErrorInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-