Class CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.workspacesinstances.CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty>
- Enclosing interface:
CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty
@Stability(Stable)
public static final class CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty>
A builder for
CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionblockDeviceMappings(List<? extends Object> blockDeviceMappings) blockDeviceMappings(IResolvable blockDeviceMappings) build()Builds the configured instance.capacityReservationSpecification(CfnWorkspaceInstancePropsMixin.CapacityReservationSpecificationProperty capacityReservationSpecification) capacityReservationSpecification(IResolvable capacityReservationSpecification) Sets the value ofCfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.getCpuOptions()cpuOptions(IResolvable cpuOptions) Sets the value ofCfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.getCpuOptions()creditSpecification(CfnWorkspaceInstancePropsMixin.CreditSpecificationRequestProperty creditSpecification) creditSpecification(IResolvable creditSpecification) disableApiStop(Boolean disableApiStop) disableApiStop(IResolvable disableApiStop) ebsOptimized(Boolean ebsOptimized) Sets the value ofCfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.getEbsOptimized()ebsOptimized(IResolvable ebsOptimized) Sets the value ofCfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.getEbsOptimized()enablePrimaryIpv6(Boolean enablePrimaryIpv6) enablePrimaryIpv6(IResolvable enablePrimaryIpv6) enclaveOptions(IResolvable enclaveOptions) hibernationOptions(CfnWorkspaceInstancePropsMixin.HibernationOptionsRequestProperty hibernationOptions) hibernationOptions(IResolvable hibernationOptions) iamInstanceProfile(CfnWorkspaceInstancePropsMixin.IamInstanceProfileSpecificationProperty iamInstanceProfile) iamInstanceProfile(IResolvable iamInstanceProfile) Sets the value ofCfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.getImageId()instanceMarketOptions(CfnWorkspaceInstancePropsMixin.InstanceMarketOptionsRequestProperty instanceMarketOptions) instanceMarketOptions(IResolvable instanceMarketOptions) instanceType(String instanceType) Sets the value ofCfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.getInstanceType()ipv6AddressCount(Number ipv6AddressCount) Sets the value ofCfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.getKeyName()licenseSpecifications(List<? extends Object> licenseSpecifications) licenseSpecifications(IResolvable licenseSpecifications) maintenanceOptions(CfnWorkspaceInstancePropsMixin.InstanceMaintenanceOptionsRequestProperty maintenanceOptions) maintenanceOptions(IResolvable maintenanceOptions) metadataOptions(CfnWorkspaceInstancePropsMixin.InstanceMetadataOptionsRequestProperty metadataOptions) metadataOptions(IResolvable metadataOptions) Sets the value ofCfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.getMonitoring()monitoring(IResolvable monitoring) Sets the value ofCfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.getMonitoring()networkInterfaces(List<? extends Object> networkInterfaces) networkInterfaces(IResolvable networkInterfaces) networkPerformanceOptions(CfnWorkspaceInstancePropsMixin.InstanceNetworkPerformanceOptionsRequestProperty networkPerformanceOptions) networkPerformanceOptions(IResolvable networkPerformanceOptions) Sets the value ofCfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.getPlacement()placement(IResolvable placement) Sets the value ofCfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.getPlacement()privateDnsNameOptions(CfnWorkspaceInstancePropsMixin.PrivateDnsNameOptionsRequestProperty privateDnsNameOptions) privateDnsNameOptions(IResolvable privateDnsNameOptions) Sets the value ofCfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.getSubnetId()tagSpecifications(List<? extends Object> tagSpecifications) tagSpecifications(IResolvable tagSpecifications) Sets the value ofCfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.getUserData()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
blockDeviceMappings
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder blockDeviceMappings(IResolvable blockDeviceMappings) - Parameters:
blockDeviceMappings- the value to be set.- Returns:
this
-
blockDeviceMappings
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder blockDeviceMappings(List<? extends Object> blockDeviceMappings) - Parameters:
blockDeviceMappings- the value to be set.- Returns:
this
-
capacityReservationSpecification
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder capacityReservationSpecification(IResolvable capacityReservationSpecification) Sets the value ofCfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.getCapacityReservationSpecification()- Parameters:
capacityReservationSpecification- the value to be set.- Returns:
this
-
capacityReservationSpecification
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder capacityReservationSpecification(CfnWorkspaceInstancePropsMixin.CapacityReservationSpecificationProperty capacityReservationSpecification) Sets the value ofCfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.getCapacityReservationSpecification()- Parameters:
capacityReservationSpecification- the value to be set.- Returns:
this
-
cpuOptions
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder cpuOptions(IResolvable cpuOptions) Sets the value ofCfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.getCpuOptions()- Parameters:
cpuOptions- the value to be set.- Returns:
this
-
cpuOptions
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder cpuOptions(CfnWorkspaceInstancePropsMixin.CpuOptionsRequestProperty cpuOptions) Sets the value ofCfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.getCpuOptions()- Parameters:
cpuOptions- the value to be set.- Returns:
this
-
creditSpecification
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder creditSpecification(IResolvable creditSpecification) - Parameters:
creditSpecification- the value to be set.- Returns:
this
-
creditSpecification
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder creditSpecification(CfnWorkspaceInstancePropsMixin.CreditSpecificationRequestProperty creditSpecification) - Parameters:
creditSpecification- the value to be set.- Returns:
this
-
disableApiStop
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder disableApiStop(Boolean disableApiStop) - Parameters:
disableApiStop- the value to be set.- Returns:
this
-
disableApiStop
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder disableApiStop(IResolvable disableApiStop) - Parameters:
disableApiStop- the value to be set.- Returns:
this
-
ebsOptimized
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder ebsOptimized(Boolean ebsOptimized) Sets the value ofCfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.getEbsOptimized()- Parameters:
ebsOptimized- the value to be set.- Returns:
this
-
ebsOptimized
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder ebsOptimized(IResolvable ebsOptimized) Sets the value ofCfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.getEbsOptimized()- Parameters:
ebsOptimized- the value to be set.- Returns:
this
-
enablePrimaryIpv6
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder enablePrimaryIpv6(Boolean enablePrimaryIpv6) - Parameters:
enablePrimaryIpv6- the value to be set.- Returns:
this
-
enablePrimaryIpv6
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder enablePrimaryIpv6(IResolvable enablePrimaryIpv6) - Parameters:
enablePrimaryIpv6- the value to be set.- Returns:
this
-
enclaveOptions
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder enclaveOptions(IResolvable enclaveOptions) - Parameters:
enclaveOptions- the value to be set.- Returns:
this
-
enclaveOptions
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder enclaveOptions(CfnWorkspaceInstancePropsMixin.EnclaveOptionsRequestProperty enclaveOptions) - Parameters:
enclaveOptions- the value to be set.- Returns:
this
-
hibernationOptions
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder hibernationOptions(IResolvable hibernationOptions) - Parameters:
hibernationOptions- the value to be set.- Returns:
this
-
hibernationOptions
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder hibernationOptions(CfnWorkspaceInstancePropsMixin.HibernationOptionsRequestProperty hibernationOptions) - Parameters:
hibernationOptions- the value to be set.- Returns:
this
-
iamInstanceProfile
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder iamInstanceProfile(IResolvable iamInstanceProfile) - Parameters:
iamInstanceProfile- the value to be set.- Returns:
this
-
iamInstanceProfile
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder iamInstanceProfile(CfnWorkspaceInstancePropsMixin.IamInstanceProfileSpecificationProperty iamInstanceProfile) - Parameters:
iamInstanceProfile- the value to be set.- Returns:
this
-
imageId
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder imageId(String imageId) Sets the value ofCfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.getImageId()- Parameters:
imageId- the value to be set.- Returns:
this
-
instanceMarketOptions
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder instanceMarketOptions(IResolvable instanceMarketOptions) - Parameters:
instanceMarketOptions- the value to be set.- Returns:
this
-
instanceMarketOptions
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder instanceMarketOptions(CfnWorkspaceInstancePropsMixin.InstanceMarketOptionsRequestProperty instanceMarketOptions) - Parameters:
instanceMarketOptions- the value to be set.- Returns:
this
-
instanceType
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder instanceType(String instanceType) Sets the value ofCfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.getInstanceType()- Parameters:
instanceType- the value to be set.- Returns:
this
-
ipv6AddressCount
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder ipv6AddressCount(Number ipv6AddressCount) - Parameters:
ipv6AddressCount- the value to be set.- Returns:
this
-
keyName
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder keyName(String keyName) Sets the value ofCfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.getKeyName()- Parameters:
keyName- the value to be set.- Returns:
this
-
licenseSpecifications
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder licenseSpecifications(IResolvable licenseSpecifications) - Parameters:
licenseSpecifications- the value to be set.- Returns:
this
-
licenseSpecifications
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder licenseSpecifications(List<? extends Object> licenseSpecifications) - Parameters:
licenseSpecifications- the value to be set.- Returns:
this
-
maintenanceOptions
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder maintenanceOptions(IResolvable maintenanceOptions) - Parameters:
maintenanceOptions- the value to be set.- Returns:
this
-
maintenanceOptions
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder maintenanceOptions(CfnWorkspaceInstancePropsMixin.InstanceMaintenanceOptionsRequestProperty maintenanceOptions) - Parameters:
maintenanceOptions- the value to be set.- Returns:
this
-
metadataOptions
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder metadataOptions(IResolvable metadataOptions) - Parameters:
metadataOptions- the value to be set.- Returns:
this
-
metadataOptions
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder metadataOptions(CfnWorkspaceInstancePropsMixin.InstanceMetadataOptionsRequestProperty metadataOptions) - Parameters:
metadataOptions- the value to be set.- Returns:
this
-
monitoring
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder monitoring(IResolvable monitoring) Sets the value ofCfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.getMonitoring()- Parameters:
monitoring- the value to be set.- Returns:
this
-
monitoring
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder monitoring(CfnWorkspaceInstancePropsMixin.RunInstancesMonitoringEnabledProperty monitoring) Sets the value ofCfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.getMonitoring()- Parameters:
monitoring- the value to be set.- Returns:
this
-
networkInterfaces
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder networkInterfaces(IResolvable networkInterfaces) - Parameters:
networkInterfaces- the value to be set.- Returns:
this
-
networkInterfaces
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder networkInterfaces(List<? extends Object> networkInterfaces) - Parameters:
networkInterfaces- the value to be set.- Returns:
this
-
networkPerformanceOptions
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder networkPerformanceOptions(IResolvable networkPerformanceOptions) Sets the value ofCfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.getNetworkPerformanceOptions()- Parameters:
networkPerformanceOptions- the value to be set.- Returns:
this
-
networkPerformanceOptions
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder networkPerformanceOptions(CfnWorkspaceInstancePropsMixin.InstanceNetworkPerformanceOptionsRequestProperty networkPerformanceOptions) Sets the value ofCfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.getNetworkPerformanceOptions()- Parameters:
networkPerformanceOptions- the value to be set.- Returns:
this
-
placement
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder placement(IResolvable placement) Sets the value ofCfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.getPlacement()- Parameters:
placement- the value to be set.- Returns:
this
-
placement
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder placement(CfnWorkspaceInstancePropsMixin.PlacementProperty placement) Sets the value ofCfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.getPlacement()- Parameters:
placement- the value to be set.- Returns:
this
-
privateDnsNameOptions
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder privateDnsNameOptions(IResolvable privateDnsNameOptions) - Parameters:
privateDnsNameOptions- the value to be set.- Returns:
this
-
privateDnsNameOptions
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder privateDnsNameOptions(CfnWorkspaceInstancePropsMixin.PrivateDnsNameOptionsRequestProperty privateDnsNameOptions) - Parameters:
privateDnsNameOptions- the value to be set.- Returns:
this
-
subnetId
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder subnetId(String subnetId) Sets the value ofCfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.getSubnetId()- Parameters:
subnetId- the value to be set.- Returns:
this
-
tagSpecifications
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder tagSpecifications(IResolvable tagSpecifications) - Parameters:
tagSpecifications- the value to be set.- Returns:
this
-
tagSpecifications
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder tagSpecifications(List<? extends Object> tagSpecifications) - Parameters:
tagSpecifications- the value to be set.- Returns:
this
-
userData
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.Builder userData(String userData) Sets the value ofCfnWorkspaceInstancePropsMixin.ManagedInstanceProperty.getUserData()- Parameters:
userData- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty>- Returns:
- a new instance of
CfnWorkspaceInstancePropsMixin.ManagedInstanceProperty - Throws:
NullPointerException- if any required attribute was not provided
-