Interface Queue.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Queue.Builder,Queue>,SdkBuilder<Queue.Builder,Queue>,SdkPojo
- Enclosing class:
- Queue
public static interface Queue.Builder extends SdkPojo, CopyableBuilder<Queue.Builder,Queue>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Queue.Builderarn(String arn)The unique Amazon Resource Name (ARN) of the queue.Queue.BuilderclusterId(String clusterId)The ID of the cluster of the queue.Queue.BuildercomputeNodeGroupConfigurations(Collection<ComputeNodeGroupConfiguration> computeNodeGroupConfigurations)The list of compute node group configurations associated with the queue.Queue.BuildercomputeNodeGroupConfigurations(Consumer<ComputeNodeGroupConfiguration.Builder>... computeNodeGroupConfigurations)The list of compute node group configurations associated with the queue.Queue.BuildercomputeNodeGroupConfigurations(ComputeNodeGroupConfiguration... computeNodeGroupConfigurations)The list of compute node group configurations associated with the queue.Queue.BuildercreatedAt(Instant createdAt)The date and time the resource was created.Queue.BuildererrorInfo(Collection<ErrorInfo> errorInfo)The list of errors that occurred during queue provisioning.Queue.BuildererrorInfo(Consumer<ErrorInfo.Builder>... errorInfo)The list of errors that occurred during queue provisioning.Queue.BuildererrorInfo(ErrorInfo... errorInfo)The list of errors that occurred during queue provisioning.Queue.Builderid(String id)The generated unique ID of the queue.Queue.BuildermodifiedAt(Instant modifiedAt)The date and time the resource was modified.Queue.Buildername(String name)The name that identifies the queue.Queue.Builderstatus(String status)The provisioning status of the queue.Queue.Builderstatus(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, sdkFields
-
-
-
-
Method Detail
-
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
Queue.Builder id(String 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
Queue.Builder arn(String 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.
- Parameters:
status- The provisioning status of the queue.The provisioning status doesn't indicate the overall health of the queue.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QueueStatus,QueueStatus
-
status
Queue.Builder status(QueueStatus status)
The provisioning status of the queue.
The provisioning status doesn't indicate the overall health of the queue.
- Parameters:
status- The provisioning status of the queue.The provisioning status doesn't indicate the overall health of the queue.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QueueStatus,QueueStatus
-
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.Builderavoiding the need to create one manually viaComputeNodeGroupConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#computeNodeGroupConfigurations(List.) - 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:
#computeNodeGroupConfigurations(java.util.Collection)
-
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 theErrorInfo.Builderavoiding the need to create one manually viaErrorInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#errorInfo(List.) - 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:
#errorInfo(java.util.Collection)
-
-