Interface UpdateQueueRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateQueueRequest.Builder,,UpdateQueueRequest> DeadlineRequest.Builder,SdkBuilder<UpdateQueueRequest.Builder,,UpdateQueueRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateQueueRequest
-
Method Summary
Modifier and TypeMethodDescriptionallowedStorageProfileIdsToAdd(String... allowedStorageProfileIdsToAdd) The storage profile IDs to add.allowedStorageProfileIdsToAdd(Collection<String> allowedStorageProfileIdsToAdd) The storage profile IDs to add.allowedStorageProfileIdsToRemove(String... allowedStorageProfileIdsToRemove) The storage profile ID to remove.allowedStorageProfileIdsToRemove(Collection<String> allowedStorageProfileIdsToRemove) The storage profile ID to remove.clientToken(String clientToken) The idempotency token to update in the queue.defaultBudgetAction(String defaultBudgetAction) The default action to take for a queue update if a budget isn't configured.defaultBudgetAction(DefaultQueueBudgetAction defaultBudgetAction) The default action to take for a queue update if a budget isn't configured.description(String description) The description of the queue to update.displayName(String displayName) The display name of the queue to update.The farm ID to update in the queue.default UpdateQueueRequest.BuilderjobAttachmentSettings(Consumer<JobAttachmentSettings.Builder> jobAttachmentSettings) The job attachment settings to update for the queue.jobAttachmentSettings(JobAttachmentSettings jobAttachmentSettings) The job attachment settings to update for the queue.default UpdateQueueRequest.BuilderjobRunAsUser(Consumer<JobRunAsUser.Builder> jobRunAsUser) Update the jobs in the queue to run as a specified POSIX user.jobRunAsUser(JobRunAsUser jobRunAsUser) Update the jobs in the queue to run as a specified POSIX user.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The queue ID to update.requiredFileSystemLocationNamesToAdd(String... requiredFileSystemLocationNamesToAdd) The required file system location names to add to the queue.requiredFileSystemLocationNamesToAdd(Collection<String> requiredFileSystemLocationNamesToAdd) The required file system location names to add to the queue.requiredFileSystemLocationNamesToRemove(String... requiredFileSystemLocationNamesToRemove) The required file system location names to remove from the queue.requiredFileSystemLocationNamesToRemove(Collection<String> requiredFileSystemLocationNamesToRemove) The required file system location names to remove from the queue.The IAM role ARN that's used to run jobs from this queue.default UpdateQueueRequest.BuilderschedulingConfiguration(Consumer<SchedulingConfiguration.Builder> schedulingConfiguration) The scheduling configuration for the queue.schedulingConfiguration(SchedulingConfiguration schedulingConfiguration) The scheduling configuration for the queue.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.deadline.model.DeadlineRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
farmId
The farm ID to update in the queue.
- Parameters:
farmId- The farm ID to update in the queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queueId
The queue ID to update.
- Parameters:
queueId- The queue ID to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
The idempotency token to update in the queue.
- Parameters:
clientToken- The idempotency token to update in the queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The display name of the queue to update.
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 to update.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 to update.
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 to update.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 for a queue update if a budget isn't configured.
- Parameters:
defaultBudgetAction- The default action to take for a queue update 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 for a queue update if a budget isn't configured.
- Parameters:
defaultBudgetAction- The default action to take for a queue update 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 to update for the queue.
- Parameters:
jobAttachmentSettings- The job attachment settings to update for the queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobAttachmentSettings
default UpdateQueueRequest.Builder jobAttachmentSettings(Consumer<JobAttachmentSettings.Builder> jobAttachmentSettings) The job attachment settings to update for the queue.
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:
-
roleArn
The IAM role ARN that's used to run jobs from this queue.
- Parameters:
roleArn- The IAM role ARN that's used to run jobs from this queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobRunAsUser
Update the jobs in the queue to run as a specified POSIX user.
- Parameters:
jobRunAsUser- Update the jobs in the queue to run as a specified POSIX user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobRunAsUser
Update the jobs in the queue to run as a 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:
-
requiredFileSystemLocationNamesToAdd
UpdateQueueRequest.Builder requiredFileSystemLocationNamesToAdd(Collection<String> requiredFileSystemLocationNamesToAdd) The required file system location names to add to the queue.
- Parameters:
requiredFileSystemLocationNamesToAdd- The required file system location names to add to the queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requiredFileSystemLocationNamesToAdd
UpdateQueueRequest.Builder requiredFileSystemLocationNamesToAdd(String... requiredFileSystemLocationNamesToAdd) The required file system location names to add to the queue.
- Parameters:
requiredFileSystemLocationNamesToAdd- The required file system location names to add to the queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requiredFileSystemLocationNamesToRemove
UpdateQueueRequest.Builder requiredFileSystemLocationNamesToRemove(Collection<String> requiredFileSystemLocationNamesToRemove) The required file system location names to remove from the queue.
- Parameters:
requiredFileSystemLocationNamesToRemove- The required file system location names to remove from the queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requiredFileSystemLocationNamesToRemove
UpdateQueueRequest.Builder requiredFileSystemLocationNamesToRemove(String... requiredFileSystemLocationNamesToRemove) The required file system location names to remove from the queue.
- Parameters:
requiredFileSystemLocationNamesToRemove- The required file system location names to remove from the queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedStorageProfileIdsToAdd
UpdateQueueRequest.Builder allowedStorageProfileIdsToAdd(Collection<String> allowedStorageProfileIdsToAdd) The storage profile IDs to add.
- Parameters:
allowedStorageProfileIdsToAdd- The storage profile IDs to add.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedStorageProfileIdsToAdd
The storage profile IDs to add.
- Parameters:
allowedStorageProfileIdsToAdd- The storage profile IDs to add.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedStorageProfileIdsToRemove
UpdateQueueRequest.Builder allowedStorageProfileIdsToRemove(Collection<String> allowedStorageProfileIdsToRemove) The storage profile ID to remove.
- Parameters:
allowedStorageProfileIdsToRemove- The storage profile ID to remove.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedStorageProfileIdsToRemove
UpdateQueueRequest.Builder allowedStorageProfileIdsToRemove(String... allowedStorageProfileIdsToRemove) The storage profile ID to remove.
- Parameters:
allowedStorageProfileIdsToRemove- The storage profile ID to remove.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedulingConfiguration
The scheduling configuration for the queue. This configuration determines how workers are assigned to jobs in the queue.
When updating the scheduling configuration, the entire configuration is replaced.
In-progress tasks run to completion before the new scheduling configuration takes effect.
- Parameters:
schedulingConfiguration- The scheduling configuration for the queue. This configuration determines how workers are assigned to jobs in the queue.When updating the scheduling configuration, the entire configuration is replaced.
In-progress tasks run to completion before the new scheduling configuration takes effect.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedulingConfiguration
default UpdateQueueRequest.Builder schedulingConfiguration(Consumer<SchedulingConfiguration.Builder> schedulingConfiguration) The scheduling configuration for the queue. This configuration determines how workers are assigned to jobs in the queue.
When updating the scheduling configuration, the entire configuration is replaced.
In-progress tasks run to completion before the new scheduling configuration takes effect.
This is a convenience method that creates an instance of theSchedulingConfiguration.Builderavoiding the need to create one manually viaSchedulingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toschedulingConfiguration(SchedulingConfiguration).- Parameters:
schedulingConfiguration- a consumer that will call methods onSchedulingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateQueueRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateQueueRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-