Class CfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.batch.CfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty>
- Enclosing interface:
CfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty
@Stability(Stable)
public static final class CfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.capacityOptionType(String capacityOptionType) capacityReservations(CfnComputeEnvironmentPropsMixin.CapacityReservationsProperty capacityReservations) capacityReservations(IResolvable capacityReservations) ec2InstanceProfileArn(String ec2InstanceProfileArn) fipsEnabled(Boolean fipsEnabled) fipsEnabled(IResolvable fipsEnabled) instanceMetadataTagsPropagation(Boolean instanceMetadataTagsPropagation) instanceMetadataTagsPropagation(IResolvable instanceMetadataTagsPropagation) instanceRequirements(CfnComputeEnvironmentPropsMixin.InstanceRequirementsProperty instanceRequirements) instanceRequirements(IResolvable instanceRequirements) localStorageConfiguration(CfnComputeEnvironmentPropsMixin.ManagedInstancesLocalStorageConfigurationProperty localStorageConfiguration) localStorageConfiguration(IResolvable localStorageConfiguration) monitoring(String monitoring) networkConfiguration(CfnComputeEnvironmentPropsMixin.ManagedInstancesNetworkConfigurationProperty networkConfiguration) networkConfiguration(IResolvable networkConfiguration) storageConfiguration(CfnComputeEnvironmentPropsMixin.ManagedInstancesStorageConfigurationProperty storageConfiguration) storageConfiguration(IResolvable storageConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
capacityOptionType
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.Builder capacityOptionType(String capacityOptionType) Sets the value ofCfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.getCapacityOptionType()- Parameters:
capacityOptionType- the value to be set.- Returns:
this
-
capacityReservations
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.Builder capacityReservations(IResolvable capacityReservations) Sets the value ofCfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.getCapacityReservations()- Parameters:
capacityReservations- the value to be set.- Returns:
this
-
capacityReservations
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.Builder capacityReservations(CfnComputeEnvironmentPropsMixin.CapacityReservationsProperty capacityReservations) Sets the value ofCfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.getCapacityReservations()- Parameters:
capacityReservations- the value to be set.- Returns:
this
-
ec2InstanceProfileArn
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.Builder ec2InstanceProfileArn(String ec2InstanceProfileArn) Sets the value ofCfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.getEc2InstanceProfileArn()- Parameters:
ec2InstanceProfileArn- the value to be set.- Returns:
this
-
fipsEnabled
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.Builder fipsEnabled(Boolean fipsEnabled) - Parameters:
fipsEnabled- the value to be set.- Returns:
this
-
fipsEnabled
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.Builder fipsEnabled(IResolvable fipsEnabled) - Parameters:
fipsEnabled- the value to be set.- Returns:
this
-
instanceMetadataTagsPropagation
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.Builder instanceMetadataTagsPropagation(Boolean instanceMetadataTagsPropagation) Sets the value ofCfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.getInstanceMetadataTagsPropagation()- Parameters:
instanceMetadataTagsPropagation- the value to be set.- Returns:
this
-
instanceMetadataTagsPropagation
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.Builder instanceMetadataTagsPropagation(IResolvable instanceMetadataTagsPropagation) Sets the value ofCfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.getInstanceMetadataTagsPropagation()- Parameters:
instanceMetadataTagsPropagation- the value to be set.- Returns:
this
-
instanceRequirements
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.Builder instanceRequirements(IResolvable instanceRequirements) Sets the value ofCfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.getInstanceRequirements()- Parameters:
instanceRequirements- the value to be set.- Returns:
this
-
instanceRequirements
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.Builder instanceRequirements(CfnComputeEnvironmentPropsMixin.InstanceRequirementsProperty instanceRequirements) Sets the value ofCfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.getInstanceRequirements()- Parameters:
instanceRequirements- the value to be set.- Returns:
this
-
localStorageConfiguration
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.Builder localStorageConfiguration(IResolvable localStorageConfiguration) Sets the value ofCfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.getLocalStorageConfiguration()- Parameters:
localStorageConfiguration- the value to be set.- Returns:
this
-
localStorageConfiguration
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.Builder localStorageConfiguration(CfnComputeEnvironmentPropsMixin.ManagedInstancesLocalStorageConfigurationProperty localStorageConfiguration) Sets the value ofCfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.getLocalStorageConfiguration()- Parameters:
localStorageConfiguration- the value to be set.- Returns:
this
-
monitoring
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.Builder monitoring(String monitoring) - Parameters:
monitoring- the value to be set.- Returns:
this
-
networkConfiguration
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.Builder networkConfiguration(IResolvable networkConfiguration) Sets the value ofCfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.getNetworkConfiguration()- Parameters:
networkConfiguration- the value to be set.- Returns:
this
-
networkConfiguration
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.Builder networkConfiguration(CfnComputeEnvironmentPropsMixin.ManagedInstancesNetworkConfigurationProperty networkConfiguration) Sets the value ofCfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.getNetworkConfiguration()- Parameters:
networkConfiguration- the value to be set.- Returns:
this
-
storageConfiguration
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.Builder storageConfiguration(IResolvable storageConfiguration) Sets the value ofCfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.getStorageConfiguration()- Parameters:
storageConfiguration- the value to be set.- Returns:
this
-
storageConfiguration
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.Builder storageConfiguration(CfnComputeEnvironmentPropsMixin.ManagedInstancesStorageConfigurationProperty storageConfiguration) Sets the value ofCfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty.getStorageConfiguration()- Parameters:
storageConfiguration- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty>- Returns:
- a new instance of
CfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty - Throws:
NullPointerException- if any required attribute was not provided
-