Interface CreateQueueRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateQueueRequest.Builder,CreateQueueRequest>,DeadlineRequest.Builder,SdkBuilder<CreateQueueRequest.Builder,CreateQueueRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateQueueRequest
public static interface CreateQueueRequest.Builder extends DeadlineRequest.Builder, SdkPojo, CopyableBuilder<CreateQueueRequest.Builder,CreateQueueRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateQueueRequest.BuilderallowedStorageProfileIds(String... allowedStorageProfileIds)The storage profile IDs to include in the queue.CreateQueueRequest.BuilderallowedStorageProfileIds(Collection<String> allowedStorageProfileIds)The storage profile IDs to include in the queue.CreateQueueRequest.BuilderclientToken(String clientToken)The unique token which the server uses to recognize retries of the same request.CreateQueueRequest.BuilderdefaultBudgetAction(String defaultBudgetAction)The default action to take on a queue if a budget isn't configured.CreateQueueRequest.BuilderdefaultBudgetAction(DefaultQueueBudgetAction defaultBudgetAction)The default action to take on a queue if a budget isn't configured.CreateQueueRequest.Builderdescription(String description)The description of the queue.CreateQueueRequest.BuilderdisplayName(String displayName)The display name of the queue.CreateQueueRequest.BuilderfarmId(String farmId)The farm ID of the farm to connect to the queue.default CreateQueueRequest.BuilderjobAttachmentSettings(Consumer<JobAttachmentSettings.Builder> jobAttachmentSettings)The job attachment settings for the queue.CreateQueueRequest.BuilderjobAttachmentSettings(JobAttachmentSettings jobAttachmentSettings)The job attachment settings for the queue.default CreateQueueRequest.BuilderjobRunAsUser(Consumer<JobRunAsUser.Builder> jobRunAsUser)The jobs in the queue run as the specified POSIX user.CreateQueueRequest.BuilderjobRunAsUser(JobRunAsUser jobRunAsUser)The jobs in the queue run as the specified POSIX user.CreateQueueRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateQueueRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateQueueRequest.BuilderrequiredFileSystemLocationNames(String... requiredFileSystemLocationNames)The file system location name to include in the queue.CreateQueueRequest.BuilderrequiredFileSystemLocationNames(Collection<String> requiredFileSystemLocationNames)The file system location name to include in the queue.CreateQueueRequest.BuilderroleArn(String roleArn)The IAM role ARN that workers will use while running jobs for this queue.CreateQueueRequest.Buildertags(Map<String,String> tags)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, sdkFields
-
-
-
-
Method Detail
-
allowedStorageProfileIds
CreateQueueRequest.Builder allowedStorageProfileIds(Collection<String> 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
CreateQueueRequest.Builder allowedStorageProfileIds(String... 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.
-
clientToken
CreateQueueRequest.Builder clientToken(String 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.
-
defaultBudgetAction
CreateQueueRequest.Builder defaultBudgetAction(String 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:
DefaultQueueBudgetAction,DefaultQueueBudgetAction
-
defaultBudgetAction
CreateQueueRequest.Builder defaultBudgetAction(DefaultQueueBudgetAction 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:
DefaultQueueBudgetAction,DefaultQueueBudgetAction
-
description
CreateQueueRequest.Builder description(String description)
The description of the queue.
- Parameters:
description- The description of the queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
CreateQueueRequest.Builder displayName(String displayName)
The display name of the queue.
- Parameters:
displayName- The display name of the queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
farmId
CreateQueueRequest.Builder farmId(String 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.
-
jobAttachmentSettings
CreateQueueRequest.Builder jobAttachmentSettings(JobAttachmentSettings 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.Builderavoiding the need to create one manually viaJobAttachmentSettings.builder().When the
Consumercompletes,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:
jobAttachmentSettings(JobAttachmentSettings)
-
jobRunAsUser
CreateQueueRequest.Builder jobRunAsUser(JobRunAsUser 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
default CreateQueueRequest.Builder jobRunAsUser(Consumer<JobRunAsUser.Builder> jobRunAsUser)
The jobs in the queue run as the specified POSIX user.
This is a convenience method that creates an instance of theJobRunAsUser.Builderavoiding the need to create one manually viaJobRunAsUser.builder().When the
Consumercompletes,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:
jobRunAsUser(JobRunAsUser)
-
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.
-
roleArn
CreateQueueRequest.Builder roleArn(String 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.
-
tags
CreateQueueRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateQueueRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-