public static interface RegisterWorkspaceDirectoryRequest.Builder extends WorkSpacesRequest.Builder, SdkPojo, CopyableBuilder<RegisterWorkspaceDirectoryRequest.Builder,RegisterWorkspaceDirectoryRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildRegisterWorkspaceDirectoryRequest.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.
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.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.
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.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.
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.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
EnableWorkDocs to disabled, and try again.
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
EnableWorkDocs to disabled, and try again.RegisterWorkspaceDirectoryRequest.Builder enableSelfService(Boolean enableSelfService)
Indicates whether self-service capabilities are enabled or disabled.
enableSelfService - Indicates whether self-service capabilities are enabled or disabled.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 DEDICATED and 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.
tenancy - Indicates whether your WorkSpace directory is dedicated or shared. To use Bring Your Own License
(BYOL) images, this value must be set to DEDICATED and 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.Tenancy,
TenancyRegisterWorkspaceDirectoryRequest.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 DEDICATED and 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.
tenancy - Indicates whether your WorkSpace directory is dedicated or shared. To use Bring Your Own License
(BYOL) images, this value must be set to DEDICATED and 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.Tenancy,
TenancyRegisterWorkspaceDirectoryRequest.Builder tags(Collection<Tag> tags)
The tags associated with the directory.
tags - The tags associated with the directory.RegisterWorkspaceDirectoryRequest.Builder tags(Tag... tags)
The tags associated with the directory.
tags - The tags associated with the directory.RegisterWorkspaceDirectoryRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags associated with the directory.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually
via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) RegisterWorkspaceDirectoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderRegisterWorkspaceDirectoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.