public static interface WorkspaceDirectory.Builder extends SdkPojo, CopyableBuilder<WorkspaceDirectory.Builder,WorkspaceDirectory>
Modifier and Type | Method and Description |
---|---|
WorkspaceDirectory.Builder |
alias(String alias)
The directory alias.
|
WorkspaceDirectory.Builder |
customerUserName(String customerUserName)
The user name for the service account.
|
WorkspaceDirectory.Builder |
directoryId(String directoryId)
The directory identifier.
|
WorkspaceDirectory.Builder |
directoryName(String directoryName)
The name of the directory.
|
WorkspaceDirectory.Builder |
directoryType(String directoryType)
The directory type.
|
WorkspaceDirectory.Builder |
directoryType(WorkspaceDirectoryType directoryType)
The directory type.
|
WorkspaceDirectory.Builder |
dnsIpAddresses(Collection<String> dnsIpAddresses)
The IP addresses of the DNS servers for the directory.
|
WorkspaceDirectory.Builder |
dnsIpAddresses(String... dnsIpAddresses)
The IP addresses of the DNS servers for the directory.
|
WorkspaceDirectory.Builder |
iamRoleId(String iamRoleId)
The identifier of the IAM role.
|
WorkspaceDirectory.Builder |
ipGroupIds(Collection<String> ipGroupIds)
The identifiers of the IP access control groups associated with the directory.
|
WorkspaceDirectory.Builder |
ipGroupIds(String... ipGroupIds)
The identifiers of the IP access control groups associated with the directory.
|
WorkspaceDirectory.Builder |
registrationCode(String registrationCode)
The registration code for the directory.
|
WorkspaceDirectory.Builder |
state(String state)
The state of the directory's registration with Amazon WorkSpaces
|
WorkspaceDirectory.Builder |
state(WorkspaceDirectoryState state)
The state of the directory's registration with Amazon WorkSpaces
|
WorkspaceDirectory.Builder |
subnetIds(Collection<String> subnetIds)
The identifiers of the subnets used with the directory.
|
WorkspaceDirectory.Builder |
subnetIds(String... subnetIds)
The identifiers of the subnets used with the directory.
|
default WorkspaceDirectory.Builder |
workspaceCreationProperties(Consumer<DefaultWorkspaceCreationProperties.Builder> workspaceCreationProperties)
The default creation properties for all WorkSpaces in the directory.
|
WorkspaceDirectory.Builder |
workspaceCreationProperties(DefaultWorkspaceCreationProperties workspaceCreationProperties)
The default creation properties for all WorkSpaces in the directory.
|
WorkspaceDirectory.Builder |
workspaceSecurityGroupId(String workspaceSecurityGroupId)
The identifier of the security group that is assigned to new WorkSpaces.
|
copy
applyMutation, build
WorkspaceDirectory.Builder directoryId(String directoryId)
The directory identifier.
directoryId
- The directory identifier.WorkspaceDirectory.Builder alias(String alias)
The directory alias.
alias
- The directory alias.WorkspaceDirectory.Builder directoryName(String directoryName)
The name of the directory.
directoryName
- The name of the directory.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.
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.WorkspaceDirectory.Builder subnetIds(Collection<String> subnetIds)
The identifiers of the subnets used with the directory.
subnetIds
- The identifiers of the subnets used with the directory.WorkspaceDirectory.Builder subnetIds(String... subnetIds)
The identifiers of the subnets used with the directory.
subnetIds
- The identifiers of the subnets used with the directory.WorkspaceDirectory.Builder dnsIpAddresses(Collection<String> dnsIpAddresses)
The IP addresses of the DNS servers for the directory.
dnsIpAddresses
- The IP addresses of the DNS servers for the directory.WorkspaceDirectory.Builder dnsIpAddresses(String... dnsIpAddresses)
The IP addresses of the DNS servers for the directory.
dnsIpAddresses
- The IP addresses of the DNS servers for the directory.WorkspaceDirectory.Builder customerUserName(String customerUserName)
The user name for the service account.
customerUserName
- The user name for the service account.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.
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.WorkspaceDirectory.Builder directoryType(String directoryType)
The directory type.
directoryType
- The directory type.WorkspaceDirectoryType
,
WorkspaceDirectoryType
WorkspaceDirectory.Builder directoryType(WorkspaceDirectoryType directoryType)
The directory type.
directoryType
- The directory type.WorkspaceDirectoryType
,
WorkspaceDirectoryType
WorkspaceDirectory.Builder workspaceSecurityGroupId(String workspaceSecurityGroupId)
The identifier of the security group that is assigned to new WorkSpaces.
workspaceSecurityGroupId
- The identifier of the security group that is assigned to new WorkSpaces.WorkspaceDirectory.Builder state(String state)
The state of the directory's registration with Amazon WorkSpaces
state
- The state of the directory's registration with Amazon WorkSpacesWorkspaceDirectoryState
,
WorkspaceDirectoryState
WorkspaceDirectory.Builder state(WorkspaceDirectoryState state)
The state of the directory's registration with Amazon WorkSpaces
state
- The state of the directory's registration with Amazon WorkSpacesWorkspaceDirectoryState
,
WorkspaceDirectoryState
WorkspaceDirectory.Builder workspaceCreationProperties(DefaultWorkspaceCreationProperties workspaceCreationProperties)
The default creation properties for all WorkSpaces in the directory.
workspaceCreationProperties
- The default creation properties for all WorkSpaces in the directory.default WorkspaceDirectory.Builder workspaceCreationProperties(Consumer<DefaultWorkspaceCreationProperties.Builder> workspaceCreationProperties)
The default creation properties for all WorkSpaces in the directory.
This is a convenience that creates an instance of theDefaultWorkspaceCreationProperties.Builder
avoiding the need to create one manually via DefaultWorkspaceCreationProperties.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to
workspaceCreationProperties(DefaultWorkspaceCreationProperties)
.workspaceCreationProperties
- a consumer that will call methods on DefaultWorkspaceCreationProperties.Builder
workspaceCreationProperties(DefaultWorkspaceCreationProperties)
WorkspaceDirectory.Builder ipGroupIds(Collection<String> ipGroupIds)
The identifiers of the IP access control groups associated with the directory.
ipGroupIds
- The identifiers of the IP access control groups associated with the directory.WorkspaceDirectory.Builder ipGroupIds(String... ipGroupIds)
The identifiers of the IP access control groups associated with the directory.
ipGroupIds
- The identifiers of the IP access control groups associated with the directory.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.