Class CfnQueue.Builder
java.lang.Object
software.amazon.awscdk.services.deadline.CfnQueue.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnQueue>
- Enclosing class:
CfnQueue
@Stability(Stable)
public static final class CfnQueue.Builder
extends Object
implements software.amazon.jsii.Builder<CfnQueue>
A fluent builder for
CfnQueue
.-
Method Summary
Modifier and TypeMethodDescriptionallowedStorageProfileIds
(List<String> allowedStorageProfileIds) The identifiers of the storage profiles that this queue can use to share assets between workers using different operating systems.build()
static CfnQueue.Builder
defaultBudgetAction
(String defaultBudgetAction) The default action taken on a queue summary if a budget wasn't configured.description
(String description) A description of the queue that helps identify what the queue is used for.displayName
(String displayName) The display name of the queue summary to update.The farm ID.jobAttachmentSettings
(IResolvable jobAttachmentSettings) The job attachment settings.jobAttachmentSettings
(CfnQueue.JobAttachmentSettingsProperty jobAttachmentSettings) The job attachment settings.jobRunAsUser
(IResolvable jobRunAsUser) Identifies the user for a job.jobRunAsUser
(CfnQueue.JobRunAsUserProperty jobRunAsUser) Identifies the user for a job.requiredFileSystemLocationNames
(List<String> requiredFileSystemLocationNames) The file system location that the queue uses.The Amazon Resource Name (ARN) of the IAM role that workers use when running jobs in this queue.The tags to add to your queue.
-
Method Details
-
create
@Stability(Stable) public static CfnQueue.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnQueue.Builder
.
-
displayName
The display name of the queue summary 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 summary to update. This parameter is required.- Returns:
this
- See Also:
-
farmId
The farm ID.- Parameters:
farmId
- The farm ID. This parameter is required.- Returns:
this
- See Also:
-
allowedStorageProfileIds
@Stability(Stable) public CfnQueue.Builder allowedStorageProfileIds(List<String> allowedStorageProfileIds) The identifiers of the storage profiles that this queue can use to share assets between workers using different operating systems.- Parameters:
allowedStorageProfileIds
- The identifiers of the storage profiles that this queue can use to share assets between workers using different operating systems. This parameter is required.- Returns:
this
- See Also:
-
defaultBudgetAction
The default action taken on a queue summary if a budget wasn't configured.Default: - "NONE"
- Parameters:
defaultBudgetAction
- The default action taken on a queue summary if a budget wasn't configured. This parameter is required.- Returns:
this
- See Also:
-
description
A description of the queue that helps identify what the queue is used for.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.
Default: - ""
- Parameters:
description
- A description of the queue that helps identify what the queue is used for. This parameter is required.- Returns:
this
- See Also:
-
jobAttachmentSettings
The job attachment settings.These are the Amazon S3 bucket name and the Amazon S3 prefix.
- Parameters:
jobAttachmentSettings
- The job attachment settings. This parameter is required.- Returns:
this
- See Also:
-
jobAttachmentSettings
@Stability(Stable) public CfnQueue.Builder jobAttachmentSettings(CfnQueue.JobAttachmentSettingsProperty jobAttachmentSettings) The job attachment settings.These are the Amazon S3 bucket name and the Amazon S3 prefix.
- Parameters:
jobAttachmentSettings
- The job attachment settings. This parameter is required.- Returns:
this
- See Also:
-
jobRunAsUser
Identifies the user for a job.- Parameters:
jobRunAsUser
- Identifies the user for a job. This parameter is required.- Returns:
this
- See Also:
-
jobRunAsUser
Identifies the user for a job.- Parameters:
jobRunAsUser
- Identifies the user for a job. This parameter is required.- Returns:
this
- See Also:
-
requiredFileSystemLocationNames
@Stability(Stable) public CfnQueue.Builder requiredFileSystemLocationNames(List<String> requiredFileSystemLocationNames) The file system location that the queue uses.- Parameters:
requiredFileSystemLocationNames
- The file system location that the queue uses. This parameter is required.- Returns:
this
- See Also:
-
roleArn
The Amazon Resource Name (ARN) of the IAM role that workers use when running jobs in this queue.- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the IAM role that workers use when running jobs in this queue. This parameter is required.- Returns:
this
- See Also:
-
tags
The tags to add to your queue.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
- The tags to add to your queue. This parameter is required.- Returns:
this
- See Also:
-
build
-