Interface RegisterWorkspaceDirectoryRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<RegisterWorkspaceDirectoryRequest.Builder,RegisterWorkspaceDirectoryRequest>,SdkBuilder<RegisterWorkspaceDirectoryRequest.Builder,RegisterWorkspaceDirectoryRequest>,SdkPojo,SdkRequest.Builder,WorkSpacesRequest.Builder
- Enclosing class:
- RegisterWorkspaceDirectoryRequest
public static interface RegisterWorkspaceDirectoryRequest.Builder extends WorkSpacesRequest.Builder, SdkPojo, CopyableBuilder<RegisterWorkspaceDirectoryRequest.Builder,RegisterWorkspaceDirectoryRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RegisterWorkspaceDirectoryRequest.BuilderactiveDirectoryConfig(Consumer<ActiveDirectoryConfig.Builder> activeDirectoryConfig)The active directory config of the directory.RegisterWorkspaceDirectoryRequest.BuilderactiveDirectoryConfig(ActiveDirectoryConfig activeDirectoryConfig)The active directory config of the directory.RegisterWorkspaceDirectoryRequest.BuilderdirectoryId(String directoryId)The identifier of the directory.RegisterWorkspaceDirectoryRequest.BuilderenableSelfService(Boolean enableSelfService)Indicates whether self-service capabilities are enabled or disabled.RegisterWorkspaceDirectoryRequest.BuilderenableWorkDocs(Boolean enableWorkDocs)Indicates whether Amazon WorkDocs is enabled or disabled.RegisterWorkspaceDirectoryRequest.BuilderidcInstanceArn(String idcInstanceArn)The Amazon Resource Name (ARN) of the identity center instance.default RegisterWorkspaceDirectoryRequest.BuildermicrosoftEntraConfig(Consumer<MicrosoftEntraConfig.Builder> microsoftEntraConfig)The details about Microsoft Entra config.RegisterWorkspaceDirectoryRequest.BuildermicrosoftEntraConfig(MicrosoftEntraConfig microsoftEntraConfig)The details about Microsoft Entra config.RegisterWorkspaceDirectoryRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)RegisterWorkspaceDirectoryRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)RegisterWorkspaceDirectoryRequest.BuildersubnetIds(String... subnetIds)The identifiers of the subnets for your virtual private cloud (VPC).RegisterWorkspaceDirectoryRequest.BuildersubnetIds(Collection<String> subnetIds)The identifiers of the subnets for your virtual private cloud (VPC).RegisterWorkspaceDirectoryRequest.Buildertags(Collection<Tag> tags)The tags associated with the directory.RegisterWorkspaceDirectoryRequest.Buildertags(Consumer<Tag.Builder>... tags)The tags associated with the directory.RegisterWorkspaceDirectoryRequest.Buildertags(Tag... tags)The tags associated with the directory.RegisterWorkspaceDirectoryRequest.Buildertenancy(String tenancy)Indicates whether your WorkSpace directory is dedicated or shared.RegisterWorkspaceDirectoryRequest.Buildertenancy(Tenancy tenancy)Indicates whether your WorkSpace directory is dedicated or shared.RegisterWorkspaceDirectoryRequest.BuilderuserIdentityType(String userIdentityType)The type of identity management the user is using.RegisterWorkspaceDirectoryRequest.BuilderuserIdentityType(UserIdentityType userIdentityType)The type of identity management the user is using.RegisterWorkspaceDirectoryRequest.BuilderworkspaceDirectoryDescription(String workspaceDirectoryDescription)Description of the directory to register.RegisterWorkspaceDirectoryRequest.BuilderworkspaceDirectoryName(String workspaceDirectoryName)The name of the directory to register.RegisterWorkspaceDirectoryRequest.BuilderworkspaceType(String workspaceType)Indicates whether the directory's WorkSpace type is personal or pools.RegisterWorkspaceDirectoryRequest.BuilderworkspaceType(WorkspaceType workspaceType)Indicates whether the directory's WorkSpace type is personal or pools.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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
-
Methods inherited from interface software.amazon.awssdk.services.workspaces.model.WorkSpacesRequest.Builder
build
-
-
-
-
Method Detail
-
directoryId
RegisterWorkspaceDirectoryRequest.Builder directoryId(String directoryId)
The identifier of the directory. You cannot register a directory if it does not have a status of Active. If the directory does not have a status of Active, you will receive an InvalidResourceStateException error. If you have already registered the maximum number of directories that you can register with Amazon WorkSpaces, you will receive a ResourceLimitExceededException error. Deregister directories that you are not using for WorkSpaces, and try again.
- Parameters:
directoryId- The identifier of the directory. You cannot register a directory if it does not have a status of Active. If the directory does not have a status of Active, you will receive an InvalidResourceStateException error. If you have already registered the maximum number of directories that you can register with Amazon WorkSpaces, you will receive a ResourceLimitExceededException error. Deregister directories that you are not using for WorkSpaces, and try again.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
RegisterWorkspaceDirectoryRequest.Builder subnetIds(Collection<String> subnetIds)
The identifiers of the subnets for your virtual private cloud (VPC). Make sure that the subnets are in supported Availability Zones. The subnets must also be in separate Availability Zones. If these conditions are not met, you will receive an OperationNotSupportedException error.
- Parameters:
subnetIds- The identifiers of the subnets for your virtual private cloud (VPC). Make sure that the subnets are in supported Availability Zones. The subnets must also be in separate Availability Zones. If these conditions are not met, you will receive an OperationNotSupportedException error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
RegisterWorkspaceDirectoryRequest.Builder subnetIds(String... subnetIds)
The identifiers of the subnets for your virtual private cloud (VPC). Make sure that the subnets are in supported Availability Zones. The subnets must also be in separate Availability Zones. If these conditions are not met, you will receive an OperationNotSupportedException error.
- Parameters:
subnetIds- The identifiers of the subnets for your virtual private cloud (VPC). Make sure that the subnets are in supported Availability Zones. The subnets must also be in separate Availability Zones. If these conditions are not met, you will receive an OperationNotSupportedException error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableWorkDocs
RegisterWorkspaceDirectoryRequest.Builder enableWorkDocs(Boolean enableWorkDocs)
Indicates whether Amazon WorkDocs is enabled or disabled. If you have enabled this parameter and WorkDocs is not available in the Region, you will receive an OperationNotSupportedException error. Set
EnableWorkDocsto disabled, and try again.- Parameters:
enableWorkDocs- Indicates whether Amazon WorkDocs is enabled or disabled. If you have enabled this parameter and WorkDocs is not available in the Region, you will receive an OperationNotSupportedException error. SetEnableWorkDocsto disabled, and try again.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableSelfService
RegisterWorkspaceDirectoryRequest.Builder enableSelfService(Boolean enableSelfService)
Indicates whether self-service capabilities are enabled or disabled.
- Parameters:
enableSelfService- Indicates whether self-service capabilities are enabled or disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tenancy
RegisterWorkspaceDirectoryRequest.Builder tenancy(String tenancy)
Indicates whether your WorkSpace directory is dedicated or shared. To use Bring Your Own License (BYOL) images, this value must be set to
DEDICATEDand your Amazon Web Services account must be enabled for BYOL. If your account has not been enabled for BYOL, you will receive an InvalidParameterValuesException error. For more information about BYOL images, see Bring Your Own Windows Desktop Images.- Parameters:
tenancy- Indicates whether your WorkSpace directory is dedicated or shared. To use Bring Your Own License (BYOL) images, this value must be set toDEDICATEDand your Amazon Web Services account must be enabled for BYOL. If your account has not been enabled for BYOL, you will receive an InvalidParameterValuesException error. For more information about BYOL images, 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
RegisterWorkspaceDirectoryRequest.Builder tenancy(Tenancy tenancy)
Indicates whether your WorkSpace directory is dedicated or shared. To use Bring Your Own License (BYOL) images, this value must be set to
DEDICATEDand your Amazon Web Services account must be enabled for BYOL. If your account has not been enabled for BYOL, you will receive an InvalidParameterValuesException error. For more information about BYOL images, see Bring Your Own Windows Desktop Images.- Parameters:
tenancy- Indicates whether your WorkSpace directory is dedicated or shared. To use Bring Your Own License (BYOL) images, this value must be set toDEDICATEDand your Amazon Web Services account must be enabled for BYOL. If your account has not been enabled for BYOL, you will receive an InvalidParameterValuesException error. For more information about BYOL images, 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
-
tags
RegisterWorkspaceDirectoryRequest.Builder tags(Collection<Tag> tags)
The tags associated with the directory.
- Parameters:
tags- The tags associated with the directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
RegisterWorkspaceDirectoryRequest.Builder tags(Tag... tags)
The tags associated with the directory.
- Parameters:
tags- The tags associated with the directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
RegisterWorkspaceDirectoryRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags associated with the directory.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
workspaceDirectoryName
RegisterWorkspaceDirectoryRequest.Builder workspaceDirectoryName(String workspaceDirectoryName)
The name of the directory to register.
- Parameters:
workspaceDirectoryName- The name of the directory to register.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaceDirectoryDescription
RegisterWorkspaceDirectoryRequest.Builder workspaceDirectoryDescription(String workspaceDirectoryDescription)
Description of the directory to register.
- Parameters:
workspaceDirectoryDescription- Description of the directory to register.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userIdentityType
RegisterWorkspaceDirectoryRequest.Builder userIdentityType(String userIdentityType)
The type of identity management the user is using.
- Parameters:
userIdentityType- The type of identity management the user is using.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
UserIdentityType,UserIdentityType
-
userIdentityType
RegisterWorkspaceDirectoryRequest.Builder userIdentityType(UserIdentityType userIdentityType)
The type of identity management the user is using.
- Parameters:
userIdentityType- The type of identity management the user is using.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
UserIdentityType,UserIdentityType
-
idcInstanceArn
RegisterWorkspaceDirectoryRequest.Builder idcInstanceArn(String idcInstanceArn)
The Amazon Resource Name (ARN) of the identity center instance.
- Parameters:
idcInstanceArn- The Amazon Resource Name (ARN) of the identity center instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
microsoftEntraConfig
RegisterWorkspaceDirectoryRequest.Builder microsoftEntraConfig(MicrosoftEntraConfig microsoftEntraConfig)
The details about Microsoft Entra config.
- Parameters:
microsoftEntraConfig- The details about Microsoft Entra config.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
microsoftEntraConfig
default RegisterWorkspaceDirectoryRequest.Builder microsoftEntraConfig(Consumer<MicrosoftEntraConfig.Builder> microsoftEntraConfig)
The details about Microsoft Entra config.
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)
-
workspaceType
RegisterWorkspaceDirectoryRequest.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
RegisterWorkspaceDirectoryRequest.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
-
activeDirectoryConfig
RegisterWorkspaceDirectoryRequest.Builder activeDirectoryConfig(ActiveDirectoryConfig activeDirectoryConfig)
The active directory config of the directory.
- Parameters:
activeDirectoryConfig- The active directory config of the directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activeDirectoryConfig
default RegisterWorkspaceDirectoryRequest.Builder activeDirectoryConfig(Consumer<ActiveDirectoryConfig.Builder> activeDirectoryConfig)
The active directory config of the directory.
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)
-
overrideConfiguration
RegisterWorkspaceDirectoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
RegisterWorkspaceDirectoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-