Class CfnQueueEnvironmentMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.deadline.CfnQueueEnvironmentMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnQueueEnvironmentMixinProps>
- Enclosing interface:
CfnQueueEnvironmentMixinProps
@Stability(Stable)
public static final class CfnQueueEnvironmentMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnQueueEnvironmentMixinProps>
A builder for
CfnQueueEnvironmentMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnQueueEnvironmentMixinProps.getFarmId()Sets the value ofCfnQueueEnvironmentMixinProps.getPriority()Sets the value ofCfnQueueEnvironmentMixinProps.getQueueId()Sets the value ofCfnQueueEnvironmentMixinProps.getTemplate()templateType(String templateType) Sets the value ofCfnQueueEnvironmentMixinProps.getTemplateType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
farmId
Sets the value ofCfnQueueEnvironmentMixinProps.getFarmId()- Parameters:
farmId- The identifier assigned to the farm that contains the queue.- Returns:
this
-
priority
Sets the value ofCfnQueueEnvironmentMixinProps.getPriority()- Parameters:
priority- The queue environment's priority.- Returns:
this
-
queueId
Sets the value ofCfnQueueEnvironmentMixinProps.getQueueId()- Parameters:
queueId- The unique identifier of the queue that contains the environment.- Returns:
this
-
template
Sets the value ofCfnQueueEnvironmentMixinProps.getTemplate()- Parameters:
template- A JSON or YAML template that describes the processing environment for the queue.- Returns:
this
-
templateType
Sets the value ofCfnQueueEnvironmentMixinProps.getTemplateType()- Parameters:
templateType- Specifies whether the template for the queue environment is JSON or YAML.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnQueueEnvironmentMixinProps>- Returns:
- a new instance of
CfnQueueEnvironmentMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-