Class CfnJobTemplatePropsMixin.HopDestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediaconvert.CfnJobTemplatePropsMixin.HopDestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnJobTemplatePropsMixin.HopDestinationProperty>
- Enclosing interface:
CfnJobTemplatePropsMixin.HopDestinationProperty
@Stability(Stable)
public static final class CfnJobTemplatePropsMixin.HopDestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnJobTemplatePropsMixin.HopDestinationProperty>
A builder for
CfnJobTemplatePropsMixin.HopDestinationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnJobTemplatePropsMixin.HopDestinationProperty.getPriority()Sets the value ofCfnJobTemplatePropsMixin.HopDestinationProperty.getQueue()waitMinutes(Number waitMinutes) Sets the value ofCfnJobTemplatePropsMixin.HopDestinationProperty.getWaitMinutes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
priority
@Stability(Stable) public CfnJobTemplatePropsMixin.HopDestinationProperty.Builder priority(Number priority) Sets the value ofCfnJobTemplatePropsMixin.HopDestinationProperty.getPriority()- Parameters:
priority- Optional. When you set up a job to use queue hopping, you can specify a different relative priority for the job in the destination queue. If you don't specify, the relative priority will remain the same as in the previous queue.- Returns:
this
-
queue
@Stability(Stable) public CfnJobTemplatePropsMixin.HopDestinationProperty.Builder queue(String queue) Sets the value ofCfnJobTemplatePropsMixin.HopDestinationProperty.getQueue()- Parameters:
queue- Optional unless the job is submitted on the default queue. When you set up a job to use queue hopping, you can specify a destination queue. This queue cannot be the original queue to which the job is submitted. If the original queue isn't the default queue and you don't specify the destination queue, the job will move to the default queue.- Returns:
this
-
waitMinutes
@Stability(Stable) public CfnJobTemplatePropsMixin.HopDestinationProperty.Builder waitMinutes(Number waitMinutes) Sets the value ofCfnJobTemplatePropsMixin.HopDestinationProperty.getWaitMinutes()- Parameters:
waitMinutes- Required for setting up a job to use queue hopping. Minimum wait time in minutes until the job can hop to the destination queue. Valid range is 1 to 4320 minutes, inclusive.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnJobTemplatePropsMixin.HopDestinationProperty>- Returns:
- a new instance of
CfnJobTemplatePropsMixin.HopDestinationProperty - Throws:
NullPointerException- if any required attribute was not provided
-