Class CfnEnvironment.Builder
java.lang.Object
software.amazon.awscdk.services.workspacesthinclient.CfnEnvironment.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnEnvironment>
- Enclosing class:
- CfnEnvironment
@Stability(Stable)
public static final class CfnEnvironment.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEnvironment>
A fluent builder for 
CfnEnvironment.- 
Method SummaryModifier and TypeMethodDescriptionbuild()static CfnEnvironment.BuilderdesiredSoftwareSetId(String desiredSoftwareSetId) The ID of the software set to apply.desktopArn(String desktopArn) The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Secure Browser, or AppStream 2.0.desktopEndpoint(String desktopEndpoint) The URL for the identity provider login (only for environments that use AppStream 2.0).deviceCreationTags(List<? extends Object> deviceCreationTags) An array of key-value pairs to apply to the newly created devices for this environment.deviceCreationTags(IResolvable deviceCreationTags) An array of key-value pairs to apply to the newly created devices for this environment.The Amazon Resource Name (ARN) of the AWS Key Management Service key used to encrypt the environment.maintenanceWindow(IResolvable maintenanceWindow) A specification for a time window to apply software updates.maintenanceWindow(CfnEnvironment.MaintenanceWindowProperty maintenanceWindow) A specification for a time window to apply software updates.The name of the environment.softwareSetUpdateMode(String softwareSetUpdateMode) An option to define which software updates to apply.softwareSetUpdateSchedule(String softwareSetUpdateSchedule) An option to define if software updates should be applied within a maintenance window.An array of key-value pairs to apply to this resource.
- 
Method Details- 
create@Stability(Stable) public static CfnEnvironment.Builder create(software.constructs.Construct scope, String id) - Parameters:
- scope- Scope in which this resource is defined. This parameter is required.
- id- Construct identifier for this resource (unique in its scope). This parameter is required.
- Returns:
- a new instance of CfnEnvironment.Builder.
 
- 
desktopArnThe Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Secure Browser, or AppStream 2.0.- Parameters:
- desktopArn- The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Secure Browser, or AppStream 2.0. This parameter is required.
- Returns:
- this
- See Also:
 
- 
desiredSoftwareSetIdThe ID of the software set to apply.- Parameters:
- desiredSoftwareSetId- The ID of the software set to apply. This parameter is required.
- Returns:
- this
- See Also:
 
- 
desktopEndpointThe URL for the identity provider login (only for environments that use AppStream 2.0).- Parameters:
- desktopEndpoint- The URL for the identity provider login (only for environments that use AppStream 2.0). This parameter is required.
- Returns:
- this
- See Also:
 
- 
deviceCreationTagsAn array of key-value pairs to apply to the newly created devices for this environment.- Parameters:
- deviceCreationTags- An array of key-value pairs to apply to the newly created devices for this environment. This parameter is required.
- Returns:
- this
- See Also:
 
- 
deviceCreationTags@Stability(Stable) public CfnEnvironment.Builder deviceCreationTags(List<? extends Object> deviceCreationTags) An array of key-value pairs to apply to the newly created devices for this environment.- Parameters:
- deviceCreationTags- An array of key-value pairs to apply to the newly created devices for this environment. This parameter is required.
- Returns:
- this
- See Also:
 
- 
kmsKeyArnThe Amazon Resource Name (ARN) of the AWS Key Management Service key used to encrypt the environment.- Parameters:
- kmsKeyArn- The Amazon Resource Name (ARN) of the AWS Key Management Service key used to encrypt the environment. This parameter is required.
- Returns:
- this
- See Also:
 
- 
maintenanceWindowA specification for a time window to apply software updates.- Parameters:
- maintenanceWindow- A specification for a time window to apply software updates. This parameter is required.
- Returns:
- this
- See Also:
 
- 
maintenanceWindow@Stability(Stable) public CfnEnvironment.Builder maintenanceWindow(CfnEnvironment.MaintenanceWindowProperty maintenanceWindow) A specification for a time window to apply software updates.- Parameters:
- maintenanceWindow- A specification for a time window to apply software updates. This parameter is required.
- Returns:
- this
- See Also:
 
- 
nameThe name of the environment.- Parameters:
- name- The name of the environment. This parameter is required.
- Returns:
- this
- See Also:
 
- 
softwareSetUpdateMode@Stability(Stable) public CfnEnvironment.Builder softwareSetUpdateMode(String softwareSetUpdateMode) An option to define which software updates to apply.- Parameters:
- softwareSetUpdateMode- An option to define which software updates to apply. This parameter is required.
- Returns:
- this
- See Also:
 
- 
softwareSetUpdateSchedule@Stability(Stable) public CfnEnvironment.Builder softwareSetUpdateSchedule(String softwareSetUpdateSchedule) An option to define if software updates should be applied within a maintenance window.- Parameters:
- softwareSetUpdateSchedule- An option to define if software updates should be applied within a maintenance window. This parameter is required.
- Returns:
- this
- See Also:
 
- 
tagsAn array of key-value pairs to apply to this resource.For more information, see Tag . - Parameters:
- tags- An array of key-value pairs to apply to this resource. This parameter is required.
- Returns:
- this
- See Also:
 
- 
build- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnEnvironment>
- Returns:
- a newly built instance of CfnEnvironment.
 
 
-