Class CfnQueueProps.Builder
java.lang.Object
software.amazon.awscdk.services.deadline.CfnQueueProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnQueueProps>
- Enclosing interface:
CfnQueueProps
@Stability(Stable)
public static final class CfnQueueProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnQueueProps>
A builder for
CfnQueueProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowedStorageProfileIds(List<String> allowedStorageProfileIds) Sets the value ofCfnQueueProps.getAllowedStorageProfileIds()build()Builds the configured instance.defaultBudgetAction(String defaultBudgetAction) Sets the value ofCfnQueueProps.getDefaultBudgetAction()description(String description) Sets the value ofCfnQueueProps.getDescription()displayName(String displayName) Sets the value ofCfnQueueProps.getDisplayName()Sets the value ofCfnQueueProps.getFarmId()jobAttachmentSettings(IResolvable jobAttachmentSettings) Sets the value ofCfnQueueProps.getJobAttachmentSettings()jobAttachmentSettings(CfnQueue.JobAttachmentSettingsProperty jobAttachmentSettings) Sets the value ofCfnQueueProps.getJobAttachmentSettings()jobRunAsUser(IResolvable jobRunAsUser) Sets the value ofCfnQueueProps.getJobRunAsUser()jobRunAsUser(CfnQueue.JobRunAsUserProperty jobRunAsUser) Sets the value ofCfnQueueProps.getJobRunAsUser()requiredFileSystemLocationNames(List<String> requiredFileSystemLocationNames) Sets the value ofCfnQueueProps.getRequiredFileSystemLocationNames()Sets the value ofCfnQueueProps.getRoleArn()Sets the value ofCfnQueueProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
displayName
Sets the value ofCfnQueueProps.getDisplayName()- Parameters:
displayName- The display name of the queue summary to update. This parameter is required.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:
this
-
farmId
Sets the value ofCfnQueueProps.getFarmId()- Parameters:
farmId- The farm ID. This parameter is required.- Returns:
this
-
allowedStorageProfileIds
@Stability(Stable) public CfnQueueProps.Builder allowedStorageProfileIds(List<String> allowedStorageProfileIds) Sets the value ofCfnQueueProps.getAllowedStorageProfileIds()- Parameters:
allowedStorageProfileIds- The identifiers of the storage profiles that this queue can use to share assets between workers using different operating systems.- Returns:
this
-
defaultBudgetAction
Sets the value ofCfnQueueProps.getDefaultBudgetAction()- Parameters:
defaultBudgetAction- The default action taken on a queue summary if a budget wasn't configured.- Returns:
this
-
description
Sets the value ofCfnQueueProps.getDescription()- Parameters:
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.
- Returns:
this
-
jobAttachmentSettings
@Stability(Stable) public CfnQueueProps.Builder jobAttachmentSettings(IResolvable jobAttachmentSettings) Sets the value ofCfnQueueProps.getJobAttachmentSettings()- Parameters:
jobAttachmentSettings- The job attachment settings. These are the Amazon S3 bucket name and the Amazon S3 prefix.- Returns:
this
-
jobAttachmentSettings
@Stability(Stable) public CfnQueueProps.Builder jobAttachmentSettings(CfnQueue.JobAttachmentSettingsProperty jobAttachmentSettings) Sets the value ofCfnQueueProps.getJobAttachmentSettings()- Parameters:
jobAttachmentSettings- The job attachment settings. These are the Amazon S3 bucket name and the Amazon S3 prefix.- Returns:
this
-
jobRunAsUser
Sets the value ofCfnQueueProps.getJobRunAsUser()- Parameters:
jobRunAsUser- Identifies the user for a job.- Returns:
this
-
jobRunAsUser
@Stability(Stable) public CfnQueueProps.Builder jobRunAsUser(CfnQueue.JobRunAsUserProperty jobRunAsUser) Sets the value ofCfnQueueProps.getJobRunAsUser()- Parameters:
jobRunAsUser- Identifies the user for a job.- Returns:
this
-
requiredFileSystemLocationNames
@Stability(Stable) public CfnQueueProps.Builder requiredFileSystemLocationNames(List<String> requiredFileSystemLocationNames) Sets the value ofCfnQueueProps.getRequiredFileSystemLocationNames()- Parameters:
requiredFileSystemLocationNames- The file system location that the queue uses.- Returns:
this
-
roleArn
Sets the value ofCfnQueueProps.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role that workers use when running jobs in this queue.- Returns:
this
-
tags
Sets the value ofCfnQueueProps.getTags()- Parameters:
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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnQueueProps>- Returns:
- a new instance of
CfnQueueProps - Throws:
NullPointerException- if any required attribute was not provided
-