public static interface CreateDirectoryConfigRequest.Builder extends AppStreamRequest.Builder, CopyableBuilder<CreateDirectoryConfigRequest.Builder,CreateDirectoryConfigRequest>
Modifier and Type | Method and Description |
---|---|
CreateDirectoryConfigRequest.Builder |
directoryName(String directoryName)
The fully qualified name of the directory (for example, corp.example.com).
|
CreateDirectoryConfigRequest.Builder |
organizationalUnitDistinguishedNames(Collection<String> organizationalUnitDistinguishedNames)
The distinguished names of the organizational units for computer accounts.
|
CreateDirectoryConfigRequest.Builder |
organizationalUnitDistinguishedNames(String... organizationalUnitDistinguishedNames)
The distinguished names of the organizational units for computer accounts.
|
CreateDirectoryConfigRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateDirectoryConfigRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
default CreateDirectoryConfigRequest.Builder |
serviceAccountCredentials(Consumer<ServiceAccountCredentials.Builder> serviceAccountCredentials)
The credentials for the service account used by the streaming instance to connect to the directory.
|
CreateDirectoryConfigRequest.Builder |
serviceAccountCredentials(ServiceAccountCredentials serviceAccountCredentials)
The credentials for the service account used by the streaming instance to connect to the directory.
|
build
requestOverrideConfig
copy
apply, build
CreateDirectoryConfigRequest.Builder directoryName(String directoryName)
The fully qualified name of the directory (for example, corp.example.com).
directoryName
- The fully qualified name of the directory (for example, corp.example.com).CreateDirectoryConfigRequest.Builder organizationalUnitDistinguishedNames(Collection<String> organizationalUnitDistinguishedNames)
The distinguished names of the organizational units for computer accounts.
organizationalUnitDistinguishedNames
- The distinguished names of the organizational units for computer accounts.CreateDirectoryConfigRequest.Builder organizationalUnitDistinguishedNames(String... organizationalUnitDistinguishedNames)
The distinguished names of the organizational units for computer accounts.
organizationalUnitDistinguishedNames
- The distinguished names of the organizational units for computer accounts.CreateDirectoryConfigRequest.Builder serviceAccountCredentials(ServiceAccountCredentials serviceAccountCredentials)
The credentials for the service account used by the streaming instance to connect to the directory.
serviceAccountCredentials
- The credentials for the service account used by the streaming instance to connect to the directory.default CreateDirectoryConfigRequest.Builder serviceAccountCredentials(Consumer<ServiceAccountCredentials.Builder> serviceAccountCredentials)
The credentials for the service account used by the streaming instance to connect to the directory.
This is a convenience that creates an instance of theServiceAccountCredentials.Builder
avoiding the
need to create one manually via ServiceAccountCredentials.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to serviceAccountCredentials(ServiceAccountCredentials)
.serviceAccountCredentials
- a consumer that will call methods on ServiceAccountCredentials.Builder
serviceAccountCredentials(ServiceAccountCredentials)
CreateDirectoryConfigRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.CreateDirectoryConfigRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.