public static interface ConnectDirectoryRequest.Builder extends DirectoryRequest.Builder, SdkPojo, CopyableBuilder<ConnectDirectoryRequest.Builder,ConnectDirectoryRequest>
Modifier and Type | Method and Description |
---|---|
default ConnectDirectoryRequest.Builder |
connectSettings(Consumer<DirectoryConnectSettings.Builder> connectSettings)
A DirectoryConnectSettings object that contains additional information for the operation.
|
ConnectDirectoryRequest.Builder |
connectSettings(DirectoryConnectSettings connectSettings)
A DirectoryConnectSettings object that contains additional information for the operation.
|
ConnectDirectoryRequest.Builder |
description(String description)
A description for the directory.
|
ConnectDirectoryRequest.Builder |
name(String name)
The fully qualified name of the on-premises directory, such as
corp.example.com . |
ConnectDirectoryRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ConnectDirectoryRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
ConnectDirectoryRequest.Builder |
password(String password)
The password for the on-premises user account.
|
ConnectDirectoryRequest.Builder |
shortName(String shortName)
The NetBIOS name of the on-premises directory, such as
CORP . |
ConnectDirectoryRequest.Builder |
size(DirectorySize size)
The size of the directory.
|
ConnectDirectoryRequest.Builder |
size(String size)
The size of the directory.
|
ConnectDirectoryRequest.Builder |
tags(Collection<Tag> tags)
The tags to be assigned to AD Connector.
|
ConnectDirectoryRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags to be assigned to AD Connector.
|
ConnectDirectoryRequest.Builder |
tags(Tag... tags)
The tags to be assigned to AD Connector.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
ConnectDirectoryRequest.Builder name(String name)
The fully qualified name of the on-premises directory, such as corp.example.com
.
name
- The fully qualified name of the on-premises directory, such as corp.example.com
.ConnectDirectoryRequest.Builder shortName(String shortName)
The NetBIOS name of the on-premises directory, such as CORP
.
shortName
- The NetBIOS name of the on-premises directory, such as CORP
.ConnectDirectoryRequest.Builder password(String password)
The password for the on-premises user account.
password
- The password for the on-premises user account.ConnectDirectoryRequest.Builder description(String description)
A description for the directory.
description
- A description for the directory.ConnectDirectoryRequest.Builder size(String size)
The size of the directory.
size
- The size of the directory.DirectorySize
,
DirectorySize
ConnectDirectoryRequest.Builder size(DirectorySize size)
The size of the directory.
size
- The size of the directory.DirectorySize
,
DirectorySize
ConnectDirectoryRequest.Builder connectSettings(DirectoryConnectSettings connectSettings)
A DirectoryConnectSettings object that contains additional information for the operation.
connectSettings
- A DirectoryConnectSettings object that contains additional information for the operation.default ConnectDirectoryRequest.Builder connectSettings(Consumer<DirectoryConnectSettings.Builder> connectSettings)
A DirectoryConnectSettings object that contains additional information for the operation.
This is a convenience that creates an instance of theDirectoryConnectSettings.Builder
avoiding the
need to create one manually via DirectoryConnectSettings.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to connectSettings(DirectoryConnectSettings)
.connectSettings
- a consumer that will call methods on DirectoryConnectSettings.Builder
connectSettings(DirectoryConnectSettings)
ConnectDirectoryRequest.Builder tags(Collection<Tag> tags)
The tags to be assigned to AD Connector.
tags
- The tags to be assigned to AD Connector.ConnectDirectoryRequest.Builder tags(Tag... tags)
The tags to be assigned to AD Connector.
tags
- The tags to be assigned to AD Connector.ConnectDirectoryRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags to be assigned to AD Connector.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
ConnectDirectoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ConnectDirectoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.