Class CfnCapacityProviderMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lambda.CfnCapacityProviderMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCapacityProviderMixinProps>
- Enclosing interface:
CfnCapacityProviderMixinProps
@Stability(Stable)
public static final class CfnCapacityProviderMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCapacityProviderMixinProps>
A builder for
CfnCapacityProviderMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.capacityProviderName(String capacityProviderName) Sets the value ofCfnCapacityProviderMixinProps.getCapacityProviderName()capacityProviderScalingConfig(CfnCapacityProviderPropsMixin.CapacityProviderScalingConfigProperty capacityProviderScalingConfig) Sets the value ofCfnCapacityProviderMixinProps.getCapacityProviderScalingConfig()capacityProviderScalingConfig(IResolvable capacityProviderScalingConfig) Sets the value ofCfnCapacityProviderMixinProps.getCapacityProviderScalingConfig()instanceRequirements(CfnCapacityProviderPropsMixin.InstanceRequirementsProperty instanceRequirements) Sets the value ofCfnCapacityProviderMixinProps.getInstanceRequirements()instanceRequirements(IResolvable instanceRequirements) Sets the value ofCfnCapacityProviderMixinProps.getInstanceRequirements()Sets the value ofCfnCapacityProviderMixinProps.getKmsKeyArn()permissionsConfig(CfnCapacityProviderPropsMixin.CapacityProviderPermissionsConfigProperty permissionsConfig) Sets the value ofCfnCapacityProviderMixinProps.getPermissionsConfig()permissionsConfig(IResolvable permissionsConfig) Sets the value ofCfnCapacityProviderMixinProps.getPermissionsConfig()Sets the value ofCfnCapacityProviderMixinProps.getTags()Sets the value ofCfnCapacityProviderMixinProps.getVpcConfig()vpcConfig(IResolvable vpcConfig) Sets the value ofCfnCapacityProviderMixinProps.getVpcConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
capacityProviderName
@Stability(Stable) public CfnCapacityProviderMixinProps.Builder capacityProviderName(String capacityProviderName) Sets the value ofCfnCapacityProviderMixinProps.getCapacityProviderName()- Parameters:
capacityProviderName- the value to be set.- Returns:
this
-
capacityProviderScalingConfig
@Stability(Stable) public CfnCapacityProviderMixinProps.Builder capacityProviderScalingConfig(IResolvable capacityProviderScalingConfig) Sets the value ofCfnCapacityProviderMixinProps.getCapacityProviderScalingConfig()- Parameters:
capacityProviderScalingConfig- The scaling configuration for the capacity provider.- Returns:
this
-
capacityProviderScalingConfig
@Stability(Stable) public CfnCapacityProviderMixinProps.Builder capacityProviderScalingConfig(CfnCapacityProviderPropsMixin.CapacityProviderScalingConfigProperty capacityProviderScalingConfig) Sets the value ofCfnCapacityProviderMixinProps.getCapacityProviderScalingConfig()- Parameters:
capacityProviderScalingConfig- The scaling configuration for the capacity provider.- Returns:
this
-
instanceRequirements
@Stability(Stable) public CfnCapacityProviderMixinProps.Builder instanceRequirements(IResolvable instanceRequirements) Sets the value ofCfnCapacityProviderMixinProps.getInstanceRequirements()- Parameters:
instanceRequirements- The instance requirements for compute resources managed by the capacity provider.- Returns:
this
-
instanceRequirements
@Stability(Stable) public CfnCapacityProviderMixinProps.Builder instanceRequirements(CfnCapacityProviderPropsMixin.InstanceRequirementsProperty instanceRequirements) Sets the value ofCfnCapacityProviderMixinProps.getInstanceRequirements()- Parameters:
instanceRequirements- The instance requirements for compute resources managed by the capacity provider.- Returns:
this
-
kmsKeyArn
Sets the value ofCfnCapacityProviderMixinProps.getKmsKeyArn()- Parameters:
kmsKeyArn- The ARN of the KMS key used to encrypt the capacity provider's resources.- Returns:
this
-
permissionsConfig
@Stability(Stable) public CfnCapacityProviderMixinProps.Builder permissionsConfig(IResolvable permissionsConfig) Sets the value ofCfnCapacityProviderMixinProps.getPermissionsConfig()- Parameters:
permissionsConfig- The permissions configuration for the capacity provider.- Returns:
this
-
permissionsConfig
@Stability(Stable) public CfnCapacityProviderMixinProps.Builder permissionsConfig(CfnCapacityProviderPropsMixin.CapacityProviderPermissionsConfigProperty permissionsConfig) Sets the value ofCfnCapacityProviderMixinProps.getPermissionsConfig()- Parameters:
permissionsConfig- The permissions configuration for the capacity provider.- Returns:
this
-
tags
Sets the value ofCfnCapacityProviderMixinProps.getTags()- Parameters:
tags- A key-value pair that provides metadata for the capacity provider.- Returns:
this
-
vpcConfig
Sets the value ofCfnCapacityProviderMixinProps.getVpcConfig()- Parameters:
vpcConfig- The VPC configuration for the capacity provider.- Returns:
this
-
vpcConfig
@Stability(Stable) public CfnCapacityProviderMixinProps.Builder vpcConfig(CfnCapacityProviderPropsMixin.CapacityProviderVpcConfigProperty vpcConfig) Sets the value ofCfnCapacityProviderMixinProps.getVpcConfig()- Parameters:
vpcConfig- The VPC configuration for the capacity provider.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCapacityProviderMixinProps>- Returns:
- a new instance of
CfnCapacityProviderMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-