Interface Environment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Environment.Builder,
,Environment> SdkBuilder<Environment.Builder,
,Environment> SdkPojo
- Enclosing class:
Environment
-
Method Summary
Modifier and TypeMethodDescriptionactivationCode
(String activationCode) The activation code to register a device to the environment.The Amazon Resource Name (ARN) of the environment.The timestamp of when the environment was created.desiredSoftwareSetId
(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).desktopType
(String desktopType) The type of streaming desktop for the environment.desktopType
(DesktopType desktopType) The type of streaming desktop for the environment.deviceCreationTags
(Map<String, String> deviceCreationTags) The tag keys and optional values for the newly created devices for this environment.The ID of the environment.The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the environment.default Environment.Builder
maintenanceWindow
(Consumer<MaintenanceWindow.Builder> maintenanceWindow) A specification for a time window to apply software updates.maintenanceWindow
(MaintenanceWindow maintenanceWindow) A specification for a time window to apply software updates.The name of the environment.pendingSoftwareSetId
(String pendingSoftwareSetId) The ID of the software set that is pending to be installed.pendingSoftwareSetVersion
(String pendingSoftwareSetVersion) The version of the software set that is pending to be installed.registeredDevicesCount
(Integer registeredDevicesCount) The number of devices registered to the environment.softwareSetComplianceStatus
(String softwareSetComplianceStatus) Describes if the software currently installed on all devices in the environment is a supported version.softwareSetComplianceStatus
(EnvironmentSoftwareSetComplianceStatus softwareSetComplianceStatus) Describes if the software currently installed on all devices in the environment is a supported version.softwareSetUpdateMode
(String softwareSetUpdateMode) An option to define which software updates to apply.softwareSetUpdateMode
(SoftwareSetUpdateMode 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.softwareSetUpdateSchedule
(SoftwareSetUpdateSchedule softwareSetUpdateSchedule) An option to define if software updates should be applied within a maintenance window.The timestamp of when the device was updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
id
The ID of the environment.
- Parameters:
id
- The ID of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the environment.
- Parameters:
name
- The name of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
desktopArn
The 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
desktopEndpoint
The 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).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
desktopType
The type of streaming desktop for the environment.
- Parameters:
desktopType
- The type of streaming desktop for the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
desktopType
The type of streaming desktop for the environment.
- Parameters:
desktopType
- The type of streaming desktop for the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
activationCode
The activation code to register a device to the environment.
- Parameters:
activationCode
- The activation code to register a device to the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registeredDevicesCount
The number of devices registered to the environment.
- Parameters:
registeredDevicesCount
- The number of devices registered to the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maintenanceWindow
A specification for a time window to apply software updates.
- Parameters:
maintenanceWindow
- A specification for a time window to apply software updates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maintenanceWindow
default Environment.Builder maintenanceWindow(Consumer<MaintenanceWindow.Builder> maintenanceWindow) A specification for a time window to apply software updates.
This is a convenience method that creates an instance of theMaintenanceWindow.Builder
avoiding the need to create one manually viaMaintenanceWindow.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomaintenanceWindow(MaintenanceWindow)
.- Parameters:
maintenanceWindow
- a consumer that will call methods onMaintenanceWindow.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
softwareSetUpdateMode
An option to define which software updates to apply.
- Parameters:
softwareSetUpdateMode
- An option to define which software updates to apply.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
softwareSetUpdateMode
An option to define which software updates to apply.
- Parameters:
softwareSetUpdateMode
- An option to define which software updates to apply.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
desiredSoftwareSetId
The ID of the software set to apply.
- Parameters:
desiredSoftwareSetId
- The ID of the software set to apply.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingSoftwareSetId
The ID of the software set that is pending to be installed.
- Parameters:
pendingSoftwareSetId
- The ID of the software set that is pending to be installed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingSoftwareSetVersion
The version of the software set that is pending to be installed.
- Parameters:
pendingSoftwareSetVersion
- The version of the software set that is pending to be installed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
softwareSetComplianceStatus
Describes if the software currently installed on all devices in the environment is a supported version.
- Parameters:
softwareSetComplianceStatus
- Describes if the software currently installed on all devices in the environment is a supported version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
softwareSetComplianceStatus
Environment.Builder softwareSetComplianceStatus(EnvironmentSoftwareSetComplianceStatus softwareSetComplianceStatus) Describes if the software currently installed on all devices in the environment is a supported version.
- Parameters:
softwareSetComplianceStatus
- Describes if the software currently installed on all devices in the environment is a supported version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp of when the environment was created.
- Parameters:
createdAt
- The timestamp of when the environment was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp of when the device was updated.
- Parameters:
updatedAt
- The timestamp of when the device was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the environment.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyArn
The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the environment.
- Parameters:
kmsKeyArn
- The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceCreationTags
The tag keys and optional values for the newly created devices for this environment.
- Parameters:
deviceCreationTags
- The tag keys and optional values for the newly created devices for this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-