Class CfnQueue.SchedulingConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.deadline.CfnQueue.SchedulingConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnQueue.SchedulingConfigurationProperty>
- Enclosing interface:
CfnQueue.SchedulingConfigurationProperty
@Stability(Stable)
public static final class CfnQueue.SchedulingConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnQueue.SchedulingConfigurationProperty>
A builder for
CfnQueue.SchedulingConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.priorityBalanced(IResolvable priorityBalanced) Sets the value ofCfnQueue.SchedulingConfigurationProperty.getPriorityBalanced()priorityBalanced(CfnQueue.PriorityBalancedSchedulingConfigurationProperty priorityBalanced) Sets the value ofCfnQueue.SchedulingConfigurationProperty.getPriorityBalanced()priorityFifo(Object priorityFifo) Sets the value ofCfnQueue.SchedulingConfigurationProperty.getPriorityFifo()weightedBalanced(IResolvable weightedBalanced) Sets the value ofCfnQueue.SchedulingConfigurationProperty.getWeightedBalanced()weightedBalanced(CfnQueue.WeightedBalancedSchedulingConfigurationProperty weightedBalanced) Sets the value ofCfnQueue.SchedulingConfigurationProperty.getWeightedBalanced()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
priorityBalanced
@Stability(Stable) public CfnQueue.SchedulingConfigurationProperty.Builder priorityBalanced(IResolvable priorityBalanced) Sets the value ofCfnQueue.SchedulingConfigurationProperty.getPriorityBalanced()- Parameters:
priorityBalanced- the value to be set.- Returns:
this
-
priorityBalanced
@Stability(Stable) public CfnQueue.SchedulingConfigurationProperty.Builder priorityBalanced(CfnQueue.PriorityBalancedSchedulingConfigurationProperty priorityBalanced) Sets the value ofCfnQueue.SchedulingConfigurationProperty.getPriorityBalanced()- Parameters:
priorityBalanced- the value to be set.- Returns:
this
-
priorityFifo
@Stability(Stable) public CfnQueue.SchedulingConfigurationProperty.Builder priorityFifo(Object priorityFifo) Sets the value ofCfnQueue.SchedulingConfigurationProperty.getPriorityFifo()- Parameters:
priorityFifo- the value to be set.- Returns:
this
-
weightedBalanced
@Stability(Stable) public CfnQueue.SchedulingConfigurationProperty.Builder weightedBalanced(IResolvable weightedBalanced) Sets the value ofCfnQueue.SchedulingConfigurationProperty.getWeightedBalanced()- Parameters:
weightedBalanced- the value to be set.- Returns:
this
-
weightedBalanced
@Stability(Stable) public CfnQueue.SchedulingConfigurationProperty.Builder weightedBalanced(CfnQueue.WeightedBalancedSchedulingConfigurationProperty weightedBalanced) Sets the value ofCfnQueue.SchedulingConfigurationProperty.getWeightedBalanced()- Parameters:
weightedBalanced- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnQueue.SchedulingConfigurationProperty>- Returns:
- a new instance of
CfnQueue.SchedulingConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-