Class CfnComputeEnvironmentPropsMixin.ManagedInstancesProviderProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.batch.CfnComputeEnvironmentPropsMixin.ManagedInstancesProviderProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnComputeEnvironmentPropsMixin.ManagedInstancesProviderProperty>
- Enclosing interface:
CfnComputeEnvironmentPropsMixin.ManagedInstancesProviderProperty
@Stability(Stable)
public static final class CfnComputeEnvironmentPropsMixin.ManagedInstancesProviderProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnComputeEnvironmentPropsMixin.ManagedInstancesProviderProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.infrastructureOptimization(CfnComputeEnvironmentPropsMixin.InfrastructureOptimizationProperty infrastructureOptimization) infrastructureOptimization(IResolvable infrastructureOptimization) infrastructureRoleArn(String infrastructureRoleArn) instanceLaunchTemplate(CfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty instanceLaunchTemplate) instanceLaunchTemplate(IResolvable instanceLaunchTemplate) propagateTags(String propagateTags)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
infrastructureOptimization
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.ManagedInstancesProviderProperty.Builder infrastructureOptimization(IResolvable infrastructureOptimization) Sets the value ofCfnComputeEnvironmentPropsMixin.ManagedInstancesProviderProperty.getInfrastructureOptimization()- Parameters:
infrastructureOptimization- the value to be set.- Returns:
this
-
infrastructureOptimization
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.ManagedInstancesProviderProperty.Builder infrastructureOptimization(CfnComputeEnvironmentPropsMixin.InfrastructureOptimizationProperty infrastructureOptimization) Sets the value ofCfnComputeEnvironmentPropsMixin.ManagedInstancesProviderProperty.getInfrastructureOptimization()- Parameters:
infrastructureOptimization- the value to be set.- Returns:
this
-
infrastructureRoleArn
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.ManagedInstancesProviderProperty.Builder infrastructureRoleArn(String infrastructureRoleArn) Sets the value ofCfnComputeEnvironmentPropsMixin.ManagedInstancesProviderProperty.getInfrastructureRoleArn()- Parameters:
infrastructureRoleArn- the value to be set.- Returns:
this
-
instanceLaunchTemplate
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.ManagedInstancesProviderProperty.Builder instanceLaunchTemplate(IResolvable instanceLaunchTemplate) Sets the value ofCfnComputeEnvironmentPropsMixin.ManagedInstancesProviderProperty.getInstanceLaunchTemplate()- Parameters:
instanceLaunchTemplate- the value to be set.- Returns:
this
-
instanceLaunchTemplate
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.ManagedInstancesProviderProperty.Builder instanceLaunchTemplate(CfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty instanceLaunchTemplate) Sets the value ofCfnComputeEnvironmentPropsMixin.ManagedInstancesProviderProperty.getInstanceLaunchTemplate()- Parameters:
instanceLaunchTemplate- the value to be set.- Returns:
this
-
propagateTags
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.ManagedInstancesProviderProperty.Builder propagateTags(String propagateTags) Sets the value ofCfnComputeEnvironmentPropsMixin.ManagedInstancesProviderProperty.getPropagateTags()- Parameters:
propagateTags- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnComputeEnvironmentPropsMixin.ManagedInstancesProviderProperty>- Returns:
- a new instance of
CfnComputeEnvironmentPropsMixin.ManagedInstancesProviderProperty - Throws:
NullPointerException- if any required attribute was not provided
-