Interface WorkspaceDirectory.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<WorkspaceDirectory.Builder,,- WorkspaceDirectory> - SdkBuilder<WorkspaceDirectory.Builder,,- WorkspaceDirectory> - SdkPojo
- Enclosing class:
- WorkspaceDirectory
- 
Method SummaryModifier and TypeMethodDescriptiondefault WorkspaceDirectory.BuilderactiveDirectoryConfig(Consumer<ActiveDirectoryConfig.Builder> activeDirectoryConfig) Information about the Active Directory config.activeDirectoryConfig(ActiveDirectoryConfig activeDirectoryConfig) Information about the Active Directory config.The directory alias.default WorkspaceDirectory.BuildercertificateBasedAuthProperties(Consumer<CertificateBasedAuthProperties.Builder> certificateBasedAuthProperties) The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory for WorkSpaces login.certificateBasedAuthProperties(CertificateBasedAuthProperties certificateBasedAuthProperties) The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory for WorkSpaces login.customerUserName(String customerUserName) The user name for the service account.directoryId(String directoryId) The directory identifier.directoryName(String directoryName) The name of the directory.directoryType(String directoryType) The directory type.directoryType(WorkspaceDirectoryType directoryType) The directory type.dnsIpAddresses(String... dnsIpAddresses) The IP addresses of the DNS servers for the directory.dnsIpAddresses(Collection<String> dnsIpAddresses) The IP addresses of the DNS servers for the directory.dnsIpv6Addresses(String... dnsIpv6Addresses) The IPv6 addresses of the DNS servers for the directory.dnsIpv6Addresses(Collection<String> dnsIpv6Addresses) The IPv6 addresses of the DNS servers for the directory.endpointEncryptionMode(String endpointEncryptionMode) Endpoint encryption mode that allows you to configure the specified directory between Standard TLS and FIPS 140-2 validated mode.endpointEncryptionMode(EndpointEncryptionMode endpointEncryptionMode) Endpoint encryption mode that allows you to configure the specified directory between Standard TLS and FIPS 140-2 validated mode.errorMessage(String errorMessage) The error message returned.The identifier of the IAM role.default WorkspaceDirectory.BuilderidcConfig(Consumer<IDCConfig.Builder> idcConfig) Specifies details about identity center configurations.Specifies details about identity center configurations.ipGroupIds(String... ipGroupIds) The identifiers of the IP access control groups associated with the directory.ipGroupIds(Collection<String> ipGroupIds) The identifiers of the IP access control groups associated with the directory.default WorkspaceDirectory.BuildermicrosoftEntraConfig(Consumer<MicrosoftEntraConfig.Builder> microsoftEntraConfig) Specifies details about Microsoft Entra configurations.microsoftEntraConfig(MicrosoftEntraConfig microsoftEntraConfig) Specifies details about Microsoft Entra configurations.registrationCode(String registrationCode) The registration code for the directory.default WorkspaceDirectory.BuildersamlProperties(Consumer<SamlProperties.Builder> samlProperties) Describes the enablement status, user access URL, and relay state parameter name that are used for configuring federation with an SAML 2.0 identity provider.samlProperties(SamlProperties samlProperties) Describes the enablement status, user access URL, and relay state parameter name that are used for configuring federation with an SAML 2.0 identity provider.default WorkspaceDirectory.BuilderselfservicePermissions(Consumer<SelfservicePermissions.Builder> selfservicePermissions) The default self-service permissions for WorkSpaces in the directory.selfservicePermissions(SelfservicePermissions selfservicePermissions) The default self-service permissions for WorkSpaces in the directory.The state of the directory's registration with Amazon WorkSpaces.state(WorkspaceDirectoryState state) The state of the directory's registration with Amazon WorkSpaces.default WorkspaceDirectory.BuilderstreamingProperties(Consumer<StreamingProperties.Builder> streamingProperties) The streaming properties to configure.streamingProperties(StreamingProperties streamingProperties) The streaming properties to configure.The identifiers of the subnets used with the directory.subnetIds(Collection<String> subnetIds) The identifiers of the subnets used with the directory.Specifies whether the directory is dedicated or shared.Specifies whether the directory is dedicated or shared.userIdentityType(String userIdentityType) Indicates the identity type of the specifired user.userIdentityType(UserIdentityType userIdentityType) Indicates the identity type of the specifired user.default WorkspaceDirectory.BuilderworkspaceAccessProperties(Consumer<WorkspaceAccessProperties.Builder> workspaceAccessProperties) The devices and operating systems that users can use to access WorkSpaces.workspaceAccessProperties(WorkspaceAccessProperties workspaceAccessProperties) The devices and operating systems that users can use to access WorkSpaces.default WorkspaceDirectory.BuilderworkspaceCreationProperties(Consumer<DefaultWorkspaceCreationProperties.Builder> workspaceCreationProperties) The default creation properties for all WorkSpaces in the directory.workspaceCreationProperties(DefaultWorkspaceCreationProperties workspaceCreationProperties) The default creation properties for all WorkSpaces in the directory.workspaceDirectoryDescription(String workspaceDirectoryDescription) The description of the WorkSpace directoryworkspaceDirectoryName(String workspaceDirectoryName) The name fo the WorkSpace directory.workspaceSecurityGroupId(String workspaceSecurityGroupId) The identifier of the security group that is assigned to new WorkSpaces.workspaceType(String workspaceType) Indicates whether the directory's WorkSpace type is personal or pools.workspaceType(WorkspaceType workspaceType) Indicates whether the directory's WorkSpace type is personal or pools.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
directoryIdThe directory identifier. - Parameters:
- directoryId- The directory identifier.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
aliasThe directory alias. - Parameters:
- alias- The directory alias.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
directoryNameThe name of the directory. - Parameters:
- directoryName- The name of the directory.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
registrationCodeThe registration code for the directory. This is the code that users enter in their Amazon WorkSpaces client application to connect to the directory. - Parameters:
- registrationCode- The registration code for the directory. This is the code that users enter in their Amazon WorkSpaces client application to connect to the directory.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
subnetIdsThe identifiers of the subnets used with the directory. - Parameters:
- subnetIds- The identifiers of the subnets used with the directory.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
subnetIdsThe identifiers of the subnets used with the directory. - Parameters:
- subnetIds- The identifiers of the subnets used with the directory.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
dnsIpAddressesThe IP addresses of the DNS servers for the directory. - Parameters:
- dnsIpAddresses- The IP addresses of the DNS servers for the directory.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
dnsIpAddressesThe IP addresses of the DNS servers for the directory. - Parameters:
- dnsIpAddresses- The IP addresses of the DNS servers for the directory.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
dnsIpv6AddressesThe IPv6 addresses of the DNS servers for the directory. - Parameters:
- dnsIpv6Addresses- The IPv6 addresses of the DNS servers for the directory.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
dnsIpv6AddressesThe IPv6 addresses of the DNS servers for the directory. - Parameters:
- dnsIpv6Addresses- The IPv6 addresses of the DNS servers for the directory.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
customerUserNameThe user name for the service account. - Parameters:
- customerUserName- The user name for the service account.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
iamRoleIdThe identifier of the IAM role. This is the role that allows Amazon WorkSpaces to make calls to other services, such as Amazon EC2, on your behalf. - Parameters:
- iamRoleId- The identifier of the IAM role. This is the role that allows Amazon WorkSpaces to make calls to other services, such as Amazon EC2, on your behalf.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
directoryTypeThe directory type. - Parameters:
- directoryType- The directory type.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
directoryTypeThe directory type. - Parameters:
- directoryType- The directory type.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
workspaceSecurityGroupIdThe identifier of the security group that is assigned to new WorkSpaces. - Parameters:
- workspaceSecurityGroupId- The identifier of the security group that is assigned to new WorkSpaces.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
stateThe state of the directory's registration with Amazon WorkSpaces. After a directory is deregistered, the DEREGISTEREDstate is returned very briefly before the directory metadata is cleaned up, so this state is rarely returned. To confirm that a directory is deregistered, check for the directory ID by using DescribeWorkspaceDirectories. If the directory ID isn't returned, then the directory has been successfully deregistered.- Parameters:
- state- The state of the directory's registration with Amazon WorkSpaces. After a directory is deregistered, the- DEREGISTEREDstate is returned very briefly before the directory metadata is cleaned up, so this state is rarely returned. To confirm that a directory is deregistered, check for the directory ID by using DescribeWorkspaceDirectories. If the directory ID isn't returned, then the directory has been successfully deregistered.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
stateThe state of the directory's registration with Amazon WorkSpaces. After a directory is deregistered, the DEREGISTEREDstate is returned very briefly before the directory metadata is cleaned up, so this state is rarely returned. To confirm that a directory is deregistered, check for the directory ID by using DescribeWorkspaceDirectories. If the directory ID isn't returned, then the directory has been successfully deregistered.- Parameters:
- state- The state of the directory's registration with Amazon WorkSpaces. After a directory is deregistered, the- DEREGISTEREDstate is returned very briefly before the directory metadata is cleaned up, so this state is rarely returned. To confirm that a directory is deregistered, check for the directory ID by using DescribeWorkspaceDirectories. If the directory ID isn't returned, then the directory has been successfully deregistered.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
workspaceCreationPropertiesWorkspaceDirectory.Builder workspaceCreationProperties(DefaultWorkspaceCreationProperties workspaceCreationProperties) The default creation properties for all WorkSpaces in the directory. - Parameters:
- workspaceCreationProperties- The default creation properties for all WorkSpaces in the directory.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
workspaceCreationPropertiesdefault WorkspaceDirectory.Builder workspaceCreationProperties(Consumer<DefaultWorkspaceCreationProperties.Builder> workspaceCreationProperties) The default creation properties for all WorkSpaces in the directory. This is a convenience method that creates an instance of theDefaultWorkspaceCreationProperties.Builderavoiding the need to create one manually viaDefaultWorkspaceCreationProperties.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toworkspaceCreationProperties(DefaultWorkspaceCreationProperties).- Parameters:
- workspaceCreationProperties- a consumer that will call methods on- DefaultWorkspaceCreationProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
ipGroupIdsThe identifiers of the IP access control groups associated with the directory. - Parameters:
- ipGroupIds- The identifiers of the IP access control groups associated with the directory.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
ipGroupIdsThe identifiers of the IP access control groups associated with the directory. - Parameters:
- ipGroupIds- The identifiers of the IP access control groups associated with the directory.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
workspaceAccessPropertiesWorkspaceDirectory.Builder workspaceAccessProperties(WorkspaceAccessProperties workspaceAccessProperties) The devices and operating systems that users can use to access WorkSpaces. - Parameters:
- workspaceAccessProperties- The devices and operating systems that users can use to access WorkSpaces.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
workspaceAccessPropertiesdefault WorkspaceDirectory.Builder workspaceAccessProperties(Consumer<WorkspaceAccessProperties.Builder> workspaceAccessProperties) The devices and operating systems that users can use to access WorkSpaces. This is a convenience method that creates an instance of theWorkspaceAccessProperties.Builderavoiding the need to create one manually viaWorkspaceAccessProperties.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toworkspaceAccessProperties(WorkspaceAccessProperties).- Parameters:
- workspaceAccessProperties- a consumer that will call methods on- WorkspaceAccessProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
tenancySpecifies whether the directory is dedicated or shared. To use Bring Your Own License (BYOL), this value must be set to DEDICATED. For more information, see Bring Your Own Windows Desktop Images.- Parameters:
- tenancy- Specifies whether the directory is dedicated or shared. To use Bring Your Own License (BYOL), this value must be set to- DEDICATED. For more information, see Bring Your Own Windows Desktop Images.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
tenancySpecifies whether the directory is dedicated or shared. To use Bring Your Own License (BYOL), this value must be set to DEDICATED. For more information, see Bring Your Own Windows Desktop Images.- Parameters:
- tenancy- Specifies whether the directory is dedicated or shared. To use Bring Your Own License (BYOL), this value must be set to- DEDICATED. For more information, see Bring Your Own Windows Desktop Images.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
selfservicePermissionsThe default self-service permissions for WorkSpaces in the directory. - Parameters:
- selfservicePermissions- The default self-service permissions for WorkSpaces in the directory.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
selfservicePermissionsdefault WorkspaceDirectory.Builder selfservicePermissions(Consumer<SelfservicePermissions.Builder> selfservicePermissions) The default self-service permissions for WorkSpaces in the directory. This is a convenience method that creates an instance of theSelfservicePermissions.Builderavoiding the need to create one manually viaSelfservicePermissions.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toselfservicePermissions(SelfservicePermissions).- Parameters:
- selfservicePermissions- a consumer that will call methods on- SelfservicePermissions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
samlPropertiesDescribes the enablement status, user access URL, and relay state parameter name that are used for configuring federation with an SAML 2.0 identity provider. - Parameters:
- samlProperties- Describes the enablement status, user access URL, and relay state parameter name that are used for configuring federation with an SAML 2.0 identity provider.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
samlPropertiesDescribes the enablement status, user access URL, and relay state parameter name that are used for configuring federation with an SAML 2.0 identity provider. This is a convenience method that creates an instance of theSamlProperties.Builderavoiding the need to create one manually viaSamlProperties.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosamlProperties(SamlProperties).- Parameters:
- samlProperties- a consumer that will call methods on- SamlProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
certificateBasedAuthPropertiesWorkspaceDirectory.Builder certificateBasedAuthProperties(CertificateBasedAuthProperties certificateBasedAuthProperties) The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory for WorkSpaces login. - Parameters:
- certificateBasedAuthProperties- The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory for WorkSpaces login.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
certificateBasedAuthPropertiesdefault WorkspaceDirectory.Builder certificateBasedAuthProperties(Consumer<CertificateBasedAuthProperties.Builder> certificateBasedAuthProperties) The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory for WorkSpaces login. This is a convenience method that creates an instance of theCertificateBasedAuthProperties.Builderavoiding the need to create one manually viaCertificateBasedAuthProperties.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocertificateBasedAuthProperties(CertificateBasedAuthProperties).- Parameters:
- certificateBasedAuthProperties- a consumer that will call methods on- CertificateBasedAuthProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
endpointEncryptionModeEndpoint encryption mode that allows you to configure the specified directory between Standard TLS and FIPS 140-2 validated mode. - Parameters:
- endpointEncryptionMode- Endpoint encryption mode that allows you to configure the specified directory between Standard TLS and FIPS 140-2 validated mode.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
endpointEncryptionModeEndpoint encryption mode that allows you to configure the specified directory between Standard TLS and FIPS 140-2 validated mode. - Parameters:
- endpointEncryptionMode- Endpoint encryption mode that allows you to configure the specified directory between Standard TLS and FIPS 140-2 validated mode.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
microsoftEntraConfigSpecifies details about Microsoft Entra configurations. - Parameters:
- microsoftEntraConfig- Specifies details about Microsoft Entra configurations.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
microsoftEntraConfigdefault WorkspaceDirectory.Builder microsoftEntraConfig(Consumer<MicrosoftEntraConfig.Builder> microsoftEntraConfig) Specifies details about Microsoft Entra configurations. This is a convenience method that creates an instance of theMicrosoftEntraConfig.Builderavoiding the need to create one manually viaMicrosoftEntraConfig.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomicrosoftEntraConfig(MicrosoftEntraConfig).- Parameters:
- microsoftEntraConfig- a consumer that will call methods on- MicrosoftEntraConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
workspaceDirectoryNameThe name fo the WorkSpace directory. - Parameters:
- workspaceDirectoryName- The name fo the WorkSpace directory.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
workspaceDirectoryDescriptionThe description of the WorkSpace directory - Parameters:
- workspaceDirectoryDescription- The description of the WorkSpace directory
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
userIdentityTypeIndicates the identity type of the specifired user. - Parameters:
- userIdentityType- Indicates the identity type of the specifired user.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
userIdentityTypeIndicates the identity type of the specifired user. - Parameters:
- userIdentityType- Indicates the identity type of the specifired user.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
workspaceTypeIndicates whether the directory's WorkSpace type is personal or pools. - Parameters:
- workspaceType- Indicates whether the directory's WorkSpace type is personal or pools.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
workspaceTypeIndicates whether the directory's WorkSpace type is personal or pools. - Parameters:
- workspaceType- Indicates whether the directory's WorkSpace type is personal or pools.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
idcConfigSpecifies details about identity center configurations. - Parameters:
- idcConfig- Specifies details about identity center configurations.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
idcConfigSpecifies details about identity center configurations. This is a convenience method that creates an instance of theIDCConfig.Builderavoiding the need to create one manually viaIDCConfig.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toidcConfig(IDCConfig).- Parameters:
- idcConfig- a consumer that will call methods on- IDCConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
activeDirectoryConfigInformation about the Active Directory config. - Parameters:
- activeDirectoryConfig- Information about the Active Directory config.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
activeDirectoryConfigdefault WorkspaceDirectory.Builder activeDirectoryConfig(Consumer<ActiveDirectoryConfig.Builder> activeDirectoryConfig) Information about the Active Directory config. This is a convenience method that creates an instance of theActiveDirectoryConfig.Builderavoiding the need to create one manually viaActiveDirectoryConfig.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactiveDirectoryConfig(ActiveDirectoryConfig).- Parameters:
- activeDirectoryConfig- a consumer that will call methods on- ActiveDirectoryConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
streamingPropertiesThe streaming properties to configure. - Parameters:
- streamingProperties- The streaming properties to configure.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
streamingPropertiesdefault WorkspaceDirectory.Builder streamingProperties(Consumer<StreamingProperties.Builder> streamingProperties) The streaming properties to configure. This is a convenience method that creates an instance of theStreamingProperties.Builderavoiding the need to create one manually viaStreamingProperties.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostreamingProperties(StreamingProperties).- Parameters:
- streamingProperties- a consumer that will call methods on- StreamingProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
errorMessageThe error message returned. - Parameters:
- errorMessage- The error message returned.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-