Class CfnWorkgroupPropsMixin.PerformanceTargetProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.redshiftserverless.CfnWorkgroupPropsMixin.PerformanceTargetProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkgroupPropsMixin.PerformanceTargetProperty>
- Enclosing interface:
CfnWorkgroupPropsMixin.PerformanceTargetProperty
@Stability(Stable)
public static final class CfnWorkgroupPropsMixin.PerformanceTargetProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkgroupPropsMixin.PerformanceTargetProperty>
A builder for
CfnWorkgroupPropsMixin.PerformanceTargetProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWorkgroupPropsMixin.PerformanceTargetProperty.getLevel()Sets the value ofCfnWorkgroupPropsMixin.PerformanceTargetProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
level
@Stability(Stable) public CfnWorkgroupPropsMixin.PerformanceTargetProperty.Builder level(Number level) Sets the value ofCfnWorkgroupPropsMixin.PerformanceTargetProperty.getLevel()- Parameters:
level- The target price performance level for the workgroup. Valid values include 1, 25, 50, 75, and 100. These correspond to the price performance levels LOW_COST, ECONOMICAL, BALANCED, RESOURCEFUL, and HIGH_PERFORMANCE.- Returns:
this
-
status
@Stability(Stable) public CfnWorkgroupPropsMixin.PerformanceTargetProperty.Builder status(String status) Sets the value ofCfnWorkgroupPropsMixin.PerformanceTargetProperty.getStatus()- Parameters:
status- Whether the price performance target is enabled for the workgroup.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkgroupPropsMixin.PerformanceTargetProperty>- Returns:
- a new instance of
CfnWorkgroupPropsMixin.PerformanceTargetProperty - Throws:
NullPointerException- if any required attribute was not provided
-