Interface WorkspaceDirectory.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<WorkspaceDirectory.Builder,WorkspaceDirectory>,SdkBuilder<WorkspaceDirectory.Builder,WorkspaceDirectory>,SdkPojo
- Enclosing class:
- WorkspaceDirectory
public static interface WorkspaceDirectory.Builder extends SdkPojo, CopyableBuilder<WorkspaceDirectory.Builder,WorkspaceDirectory>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default WorkspaceDirectory.BuilderactiveDirectoryConfig(Consumer<ActiveDirectoryConfig.Builder> activeDirectoryConfig)Information about the Active Directory config.WorkspaceDirectory.BuilderactiveDirectoryConfig(ActiveDirectoryConfig activeDirectoryConfig)Information about the Active Directory config.WorkspaceDirectory.Builderalias(String alias)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.WorkspaceDirectory.BuildercertificateBasedAuthProperties(CertificateBasedAuthProperties certificateBasedAuthProperties)The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory for WorkSpaces login.WorkspaceDirectory.BuildercustomerUserName(String customerUserName)The user name for the service account.WorkspaceDirectory.BuilderdirectoryId(String directoryId)The directory identifier.WorkspaceDirectory.BuilderdirectoryName(String directoryName)The name of the directory.WorkspaceDirectory.BuilderdirectoryType(String directoryType)The directory type.WorkspaceDirectory.BuilderdirectoryType(WorkspaceDirectoryType directoryType)The directory type.WorkspaceDirectory.BuilderdnsIpAddresses(String... dnsIpAddresses)The IP addresses of the DNS servers for the directory.WorkspaceDirectory.BuilderdnsIpAddresses(Collection<String> dnsIpAddresses)The IP addresses of the DNS servers for the directory.WorkspaceDirectory.BuildererrorMessage(String errorMessage)The error message returned.WorkspaceDirectory.BuilderiamRoleId(String iamRoleId)The identifier of the IAM role.default WorkspaceDirectory.BuilderidcConfig(Consumer<IDCConfig.Builder> idcConfig)Specifies details about identity center configurations.WorkspaceDirectory.BuilderidcConfig(IDCConfig idcConfig)Specifies details about identity center configurations.WorkspaceDirectory.BuilderipGroupIds(String... ipGroupIds)The identifiers of the IP access control groups associated with the directory.WorkspaceDirectory.BuilderipGroupIds(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.WorkspaceDirectory.BuildermicrosoftEntraConfig(MicrosoftEntraConfig microsoftEntraConfig)Specifies details about Microsoft Entra configurations.WorkspaceDirectory.BuilderregistrationCode(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.WorkspaceDirectory.BuildersamlProperties(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.WorkspaceDirectory.BuilderselfservicePermissions(SelfservicePermissions selfservicePermissions)The default self-service permissions for WorkSpaces in the directory.WorkspaceDirectory.Builderstate(String state)The state of the directory's registration with Amazon WorkSpaces.WorkspaceDirectory.Builderstate(WorkspaceDirectoryState state)The state of the directory's registration with Amazon WorkSpaces.default WorkspaceDirectory.BuilderstreamingProperties(Consumer<StreamingProperties.Builder> streamingProperties)The streaming properties to configure.WorkspaceDirectory.BuilderstreamingProperties(StreamingProperties streamingProperties)The streaming properties to configure.WorkspaceDirectory.BuildersubnetIds(String... subnetIds)The identifiers of the subnets used with the directory.WorkspaceDirectory.BuildersubnetIds(Collection<String> subnetIds)The identifiers of the subnets used with the directory.WorkspaceDirectory.Buildertenancy(String tenancy)Specifies whether the directory is dedicated or shared.WorkspaceDirectory.Buildertenancy(Tenancy tenancy)Specifies whether the directory is dedicated or shared.WorkspaceDirectory.BuilderuserIdentityType(String userIdentityType)Indicates the identity type of the specifired user.WorkspaceDirectory.BuilderuserIdentityType(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.WorkspaceDirectory.BuilderworkspaceAccessProperties(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.WorkspaceDirectory.BuilderworkspaceCreationProperties(DefaultWorkspaceCreationProperties workspaceCreationProperties)The default creation properties for all WorkSpaces in the directory.WorkspaceDirectory.BuilderworkspaceDirectoryDescription(String workspaceDirectoryDescription)The description of the WorkSpace directoryWorkspaceDirectory.BuilderworkspaceDirectoryName(String workspaceDirectoryName)The name fo the WorkSpace directory.WorkspaceDirectory.BuilderworkspaceSecurityGroupId(String workspaceSecurityGroupId)The identifier of the security group that is assigned to new WorkSpaces.WorkspaceDirectory.BuilderworkspaceType(String workspaceType)Indicates whether the directory's WorkSpace type is personal or pools.WorkspaceDirectory.BuilderworkspaceType(WorkspaceType workspaceType)Indicates whether the directory's WorkSpace type is personal or pools.-
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 Detail
-
directoryId
WorkspaceDirectory.Builder directoryId(String directoryId)
The directory identifier.
- Parameters:
directoryId- The directory identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alias
WorkspaceDirectory.Builder alias(String alias)
The directory alias.
- Parameters:
alias- The directory alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
directoryName
WorkspaceDirectory.Builder directoryName(String directoryName)
The 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.
-
registrationCode
WorkspaceDirectory.Builder registrationCode(String 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.
- 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.
-
subnetIds
WorkspaceDirectory.Builder subnetIds(Collection<String> subnetIds)
The 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.
-
subnetIds
WorkspaceDirectory.Builder subnetIds(String... subnetIds)
The 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.
-
dnsIpAddresses
WorkspaceDirectory.Builder dnsIpAddresses(Collection<String> dnsIpAddresses)
The 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.
-
dnsIpAddresses
WorkspaceDirectory.Builder dnsIpAddresses(String... dnsIpAddresses)
The 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.
-
customerUserName
WorkspaceDirectory.Builder customerUserName(String customerUserName)
The 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.
-
iamRoleId
WorkspaceDirectory.Builder iamRoleId(String 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.
- 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.
-
directoryType
WorkspaceDirectory.Builder directoryType(String directoryType)
The directory type.
- Parameters:
directoryType- The directory type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WorkspaceDirectoryType,WorkspaceDirectoryType
-
directoryType
WorkspaceDirectory.Builder directoryType(WorkspaceDirectoryType directoryType)
The directory type.
- Parameters:
directoryType- The directory type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WorkspaceDirectoryType,WorkspaceDirectoryType
-
workspaceSecurityGroupId
WorkspaceDirectory.Builder workspaceSecurityGroupId(String workspaceSecurityGroupId)
The 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.
-
state
WorkspaceDirectory.Builder state(String 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.- Parameters:
state- The state of the directory's registration with Amazon WorkSpaces. After a directory is deregistered, theDEREGISTEREDstate 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:
WorkspaceDirectoryState,WorkspaceDirectoryState
-
state
WorkspaceDirectory.Builder state(WorkspaceDirectoryState 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.- Parameters:
state- The state of the directory's registration with Amazon WorkSpaces. After a directory is deregistered, theDEREGISTEREDstate 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:
WorkspaceDirectoryState,WorkspaceDirectoryState
-
workspaceCreationProperties
WorkspaceDirectory.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.
-
workspaceCreationProperties
default 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 onDefaultWorkspaceCreationProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
workspaceCreationProperties(DefaultWorkspaceCreationProperties)
-
ipGroupIds
WorkspaceDirectory.Builder ipGroupIds(Collection<String> ipGroupIds)
The 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.
-
ipGroupIds
WorkspaceDirectory.Builder ipGroupIds(String... ipGroupIds)
The 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.
-
workspaceAccessProperties
WorkspaceDirectory.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.
-
workspaceAccessProperties
default 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 onWorkspaceAccessProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
workspaceAccessProperties(WorkspaceAccessProperties)
-
tenancy
WorkspaceDirectory.Builder tenancy(String 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.- Parameters:
tenancy- Specifies whether the directory is dedicated or shared. To use Bring Your Own License (BYOL), this value must be set toDEDICATED. 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:
Tenancy,Tenancy
-
tenancy
WorkspaceDirectory.Builder tenancy(Tenancy 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.- Parameters:
tenancy- Specifies whether the directory is dedicated or shared. To use Bring Your Own License (BYOL), this value must be set toDEDICATED. 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:
Tenancy,Tenancy
-
selfservicePermissions
WorkspaceDirectory.Builder selfservicePermissions(SelfservicePermissions selfservicePermissions)
The 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.
-
selfservicePermissions
default 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 onSelfservicePermissions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
selfservicePermissions(SelfservicePermissions)
-
samlProperties
WorkspaceDirectory.Builder 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.
- 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.
-
samlProperties
default WorkspaceDirectory.Builder samlProperties(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.
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 onSamlProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
samlProperties(SamlProperties)
-
certificateBasedAuthProperties
WorkspaceDirectory.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.
-
certificateBasedAuthProperties
default 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 onCertificateBasedAuthProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
certificateBasedAuthProperties(CertificateBasedAuthProperties)
-
microsoftEntraConfig
WorkspaceDirectory.Builder microsoftEntraConfig(MicrosoftEntraConfig microsoftEntraConfig)
Specifies 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.
-
microsoftEntraConfig
default 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 onMicrosoftEntraConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
microsoftEntraConfig(MicrosoftEntraConfig)
-
workspaceDirectoryName
WorkspaceDirectory.Builder workspaceDirectoryName(String workspaceDirectoryName)
The 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.
-
workspaceDirectoryDescription
WorkspaceDirectory.Builder workspaceDirectoryDescription(String workspaceDirectoryDescription)
The 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.
-
userIdentityType
WorkspaceDirectory.Builder userIdentityType(String userIdentityType)
Indicates 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:
UserIdentityType,UserIdentityType
-
userIdentityType
WorkspaceDirectory.Builder userIdentityType(UserIdentityType userIdentityType)
Indicates 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:
UserIdentityType,UserIdentityType
-
workspaceType
WorkspaceDirectory.Builder workspaceType(String workspaceType)
Indicates 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:
WorkspaceType,WorkspaceType
-
workspaceType
WorkspaceDirectory.Builder workspaceType(WorkspaceType workspaceType)
Indicates 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:
WorkspaceType,WorkspaceType
-
idcConfig
WorkspaceDirectory.Builder idcConfig(IDCConfig idcConfig)
Specifies 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.
-
idcConfig
default WorkspaceDirectory.Builder idcConfig(Consumer<IDCConfig.Builder> idcConfig)
Specifies 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 onIDCConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
idcConfig(IDCConfig)
-
activeDirectoryConfig
WorkspaceDirectory.Builder activeDirectoryConfig(ActiveDirectoryConfig activeDirectoryConfig)
Information 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.
-
activeDirectoryConfig
default 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 onActiveDirectoryConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
activeDirectoryConfig(ActiveDirectoryConfig)
-
streamingProperties
WorkspaceDirectory.Builder streamingProperties(StreamingProperties streamingProperties)
The 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.
-
streamingProperties
default 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 onStreamingProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
streamingProperties(StreamingProperties)
-
errorMessage
WorkspaceDirectory.Builder errorMessage(String errorMessage)
The error message returned.
- Parameters:
errorMessage- The error message returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-