Class CfnJobTemplate.HopDestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconvert.CfnJobTemplate.HopDestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnJobTemplate.HopDestinationProperty>
- Enclosing interface:
CfnJobTemplate.HopDestinationProperty
@Stability(Stable)
public static final class CfnJobTemplate.HopDestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnJobTemplate.HopDestinationProperty>
A builder for
CfnJobTemplate.HopDestinationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnJobTemplate.HopDestinationProperty.getPriority()
Sets the value ofCfnJobTemplate.HopDestinationProperty.getQueue()
waitMinutes
(Number waitMinutes) Sets the value ofCfnJobTemplate.HopDestinationProperty.getWaitMinutes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
priority
Sets the value ofCfnJobTemplate.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
Sets the value ofCfnJobTemplate.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 CfnJobTemplate.HopDestinationProperty.Builder waitMinutes(Number waitMinutes) Sets the value ofCfnJobTemplate.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnJobTemplate.HopDestinationProperty>
- Returns:
- a new instance of
CfnJobTemplate.HopDestinationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-