Interface Queue.Builder

    • 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.
      • 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).

        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:
        #errorInfo(java.util.Collection)