Class CfnEnvironmentMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.workspacesthinclient.CfnEnvironmentMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEnvironmentMixinProps>
- Enclosing interface:
CfnEnvironmentMixinProps
@Stability(Stable)
public static final class CfnEnvironmentMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEnvironmentMixinProps>
A builder for
CfnEnvironmentMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.desiredSoftwareSetId(String desiredSoftwareSetId) Sets the value ofCfnEnvironmentMixinProps.getDesiredSoftwareSetId()desktopArn(String desktopArn) Sets the value ofCfnEnvironmentMixinProps.getDesktopArn()desktopEndpoint(String desktopEndpoint) Sets the value ofCfnEnvironmentMixinProps.getDesktopEndpoint()deviceCreationTags(List<? extends Object> deviceCreationTags) Sets the value ofCfnEnvironmentMixinProps.getDeviceCreationTags()deviceCreationTags(IResolvable deviceCreationTags) Sets the value ofCfnEnvironmentMixinProps.getDeviceCreationTags()Sets the value ofCfnEnvironmentMixinProps.getKmsKeyArn()maintenanceWindow(CfnEnvironmentPropsMixin.MaintenanceWindowProperty maintenanceWindow) Sets the value ofCfnEnvironmentMixinProps.getMaintenanceWindow()maintenanceWindow(IResolvable maintenanceWindow) Sets the value ofCfnEnvironmentMixinProps.getMaintenanceWindow()Sets the value ofCfnEnvironmentMixinProps.getName()softwareSetUpdateMode(String softwareSetUpdateMode) Sets the value ofCfnEnvironmentMixinProps.getSoftwareSetUpdateMode()softwareSetUpdateSchedule(String softwareSetUpdateSchedule) Sets the value ofCfnEnvironmentMixinProps.getSoftwareSetUpdateSchedule()Sets the value ofCfnEnvironmentMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
desiredSoftwareSetId
@Stability(Stable) public CfnEnvironmentMixinProps.Builder desiredSoftwareSetId(String desiredSoftwareSetId) Sets the value ofCfnEnvironmentMixinProps.getDesiredSoftwareSetId()- Parameters:
desiredSoftwareSetId- The ID of the software set to apply.- Returns:
this
-
desktopArn
Sets the value ofCfnEnvironmentMixinProps.getDesktopArn()- Parameters:
desktopArn- The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Secure Browser, or WorkSpaces Applications.- Returns:
this
-
desktopEndpoint
Sets the value ofCfnEnvironmentMixinProps.getDesktopEndpoint()- Parameters:
desktopEndpoint- The URL for the identity provider login (only for environments that use WorkSpaces Applications).- Returns:
this
-
deviceCreationTags
@Stability(Stable) public CfnEnvironmentMixinProps.Builder deviceCreationTags(IResolvable deviceCreationTags) Sets the value ofCfnEnvironmentMixinProps.getDeviceCreationTags()- Parameters:
deviceCreationTags- An array of key-value pairs to apply to the newly created devices for this environment.- Returns:
this
-
deviceCreationTags
@Stability(Stable) public CfnEnvironmentMixinProps.Builder deviceCreationTags(List<? extends Object> deviceCreationTags) Sets the value ofCfnEnvironmentMixinProps.getDeviceCreationTags()- Parameters:
deviceCreationTags- An array of key-value pairs to apply to the newly created devices for this environment.- Returns:
this
-
kmsKeyArn
Sets the value ofCfnEnvironmentMixinProps.getKmsKeyArn()- Parameters:
kmsKeyArn- The Amazon Resource Name (ARN) of the AWS Key Management Service key used to encrypt the environment.- Returns:
this
-
maintenanceWindow
@Stability(Stable) public CfnEnvironmentMixinProps.Builder maintenanceWindow(IResolvable maintenanceWindow) Sets the value ofCfnEnvironmentMixinProps.getMaintenanceWindow()- Parameters:
maintenanceWindow- A specification for a time window to apply software updates.- Returns:
this
-
maintenanceWindow
@Stability(Stable) public CfnEnvironmentMixinProps.Builder maintenanceWindow(CfnEnvironmentPropsMixin.MaintenanceWindowProperty maintenanceWindow) Sets the value ofCfnEnvironmentMixinProps.getMaintenanceWindow()- Parameters:
maintenanceWindow- A specification for a time window to apply software updates.- Returns:
this
-
name
Sets the value ofCfnEnvironmentMixinProps.getName()- Parameters:
name- The name of the environment.- Returns:
this
-
softwareSetUpdateMode
@Stability(Stable) public CfnEnvironmentMixinProps.Builder softwareSetUpdateMode(String softwareSetUpdateMode) Sets the value ofCfnEnvironmentMixinProps.getSoftwareSetUpdateMode()- Parameters:
softwareSetUpdateMode- An option to define which software updates to apply.- Returns:
this
-
softwareSetUpdateSchedule
@Stability(Stable) public CfnEnvironmentMixinProps.Builder softwareSetUpdateSchedule(String softwareSetUpdateSchedule) Sets the value ofCfnEnvironmentMixinProps.getSoftwareSetUpdateSchedule()- Parameters:
softwareSetUpdateSchedule- An option to define if software updates should be applied within a maintenance window.- Returns:
this
-
tags
Sets the value ofCfnEnvironmentMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEnvironmentMixinProps>- Returns:
- a new instance of
CfnEnvironmentMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-