public static interface DirectoryConfig.Builder extends CopyableBuilder<DirectoryConfig.Builder,DirectoryConfig>
Modifier and Type | Method and Description |
---|---|
DirectoryConfig.Builder |
createdTime(Instant createdTime)
The time the directory configuration was created.
|
DirectoryConfig.Builder |
directoryName(String directoryName)
The fully qualified name of the directory (for example, corp.example.com).
|
DirectoryConfig.Builder |
organizationalUnitDistinguishedNames(Collection<String> organizationalUnitDistinguishedNames)
The distinguished names of the organizational units for computer accounts.
|
DirectoryConfig.Builder |
organizationalUnitDistinguishedNames(String... organizationalUnitDistinguishedNames)
The distinguished names of the organizational units for computer accounts.
|
default DirectoryConfig.Builder |
serviceAccountCredentials(Consumer<ServiceAccountCredentials.Builder> serviceAccountCredentials)
The credentials for the service account used by the streaming instance to connect to the directory.
|
DirectoryConfig.Builder |
serviceAccountCredentials(ServiceAccountCredentials serviceAccountCredentials)
The credentials for the service account used by the streaming instance to connect to the directory.
|
copy
applyMutation, build
DirectoryConfig.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).DirectoryConfig.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.DirectoryConfig.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.DirectoryConfig.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 DirectoryConfig.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)
DirectoryConfig.Builder createdTime(Instant createdTime)
The time the directory configuration was created.
createdTime
- The time the directory configuration was created.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.