Interface CreateQueueRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateQueueRequest.Builder,
,CreateQueueRequest> DeadlineRequest.Builder
,SdkBuilder<CreateQueueRequest.Builder,
,CreateQueueRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateQueueRequest
-
Method Summary
Modifier and TypeMethodDescriptionallowedStorageProfileIds
(String... allowedStorageProfileIds) The storage profile IDs to include in the queue.allowedStorageProfileIds
(Collection<String> allowedStorageProfileIds) The storage profile IDs to include in the queue.clientToken
(String clientToken) The unique token which the server uses to recognize retries of the same request.defaultBudgetAction
(String defaultBudgetAction) The default action to take on a queue if a budget isn't configured.defaultBudgetAction
(DefaultQueueBudgetAction defaultBudgetAction) The default action to take on a queue if a budget isn't configured.description
(String description) The description of the queue.displayName
(String displayName) The display name of the queue.The farm ID of the farm to connect to the queue.default CreateQueueRequest.Builder
jobAttachmentSettings
(Consumer<JobAttachmentSettings.Builder> jobAttachmentSettings) The job attachment settings for the queue.jobAttachmentSettings
(JobAttachmentSettings jobAttachmentSettings) The job attachment settings for the queue.default CreateQueueRequest.Builder
jobRunAsUser
(Consumer<JobRunAsUser.Builder> jobRunAsUser) The jobs in the queue run as the specified POSIX user.jobRunAsUser
(JobRunAsUser jobRunAsUser) The jobs in the queue run as the specified POSIX user.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.requiredFileSystemLocationNames
(String... requiredFileSystemLocationNames) The file system location name to include in the queue.requiredFileSystemLocationNames
(Collection<String> requiredFileSystemLocationNames) The file system location name to include in the queue.The IAM role ARN that workers will use while running jobs for this queue.Each tag consists of a tag key and a tag value.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.deadline.model.DeadlineRequest.Builder
build
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
-
clientToken
The unique token which the server uses to recognize retries of the same request.
- Parameters:
clientToken
- The unique token which the server uses to recognize retries of the same request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
farmId
The farm ID of the farm to connect to the queue.
- Parameters:
farmId
- The farm ID of the farm to connect to the queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The display name of the queue.
This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- Parameters:
displayName
- The display name of the queue.This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the queue.
This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- Parameters:
description
- The description of the queue.This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultBudgetAction
The default action to take on a queue if a budget isn't configured.
- Parameters:
defaultBudgetAction
- The default action to take on a queue if a budget isn't configured.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
defaultBudgetAction
The default action to take on a queue if a budget isn't configured.
- Parameters:
defaultBudgetAction
- The default action to take on a queue if a budget isn't configured.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobAttachmentSettings
The job attachment settings for the queue. These are the Amazon S3 bucket name and the Amazon S3 prefix.
- Parameters:
jobAttachmentSettings
- The job attachment settings for the queue. These are the Amazon S3 bucket name and the Amazon S3 prefix.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobAttachmentSettings
default CreateQueueRequest.Builder jobAttachmentSettings(Consumer<JobAttachmentSettings.Builder> jobAttachmentSettings) The job attachment settings for the queue. These are the Amazon S3 bucket name and the Amazon S3 prefix.
This is a convenience method that creates an instance of theJobAttachmentSettings.Builder
avoiding the need to create one manually viaJobAttachmentSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojobAttachmentSettings(JobAttachmentSettings)
.- Parameters:
jobAttachmentSettings
- a consumer that will call methods onJobAttachmentSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The IAM role ARN that workers will use while running jobs for this queue.
- Parameters:
roleArn
- The IAM role ARN that workers will use while running jobs for this queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobRunAsUser
The jobs in the queue run as the specified POSIX user.
- Parameters:
jobRunAsUser
- The jobs in the queue run as the specified POSIX user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobRunAsUser
The jobs in the queue run as the specified POSIX user.
This is a convenience method that creates an instance of theJobRunAsUser.Builder
avoiding the need to create one manually viaJobRunAsUser.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojobRunAsUser(JobRunAsUser)
.- Parameters:
jobRunAsUser
- a consumer that will call methods onJobRunAsUser.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requiredFileSystemLocationNames
CreateQueueRequest.Builder requiredFileSystemLocationNames(Collection<String> requiredFileSystemLocationNames) The file system location name to include in the queue.
- Parameters:
requiredFileSystemLocationNames
- The file system location name to include in the queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requiredFileSystemLocationNames
CreateQueueRequest.Builder requiredFileSystemLocationNames(String... requiredFileSystemLocationNames) The file system location name to include in the queue.
- Parameters:
requiredFileSystemLocationNames
- The file system location name to include in the queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedStorageProfileIds
The storage profile IDs to include in the queue.
- Parameters:
allowedStorageProfileIds
- The storage profile IDs to include in the queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedStorageProfileIds
The storage profile IDs to include in the queue.
- Parameters:
allowedStorageProfileIds
- The storage profile IDs to include in the queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.
- Parameters:
tags
- Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateQueueRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateQueueRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-