public static interface ShareDirectoryRequest.Builder extends DirectoryRequest.Builder, SdkPojo, CopyableBuilder<ShareDirectoryRequest.Builder,ShareDirectoryRequest>
| Modifier and Type | Method and Description |
|---|---|
ShareDirectoryRequest.Builder |
directoryId(String directoryId)
Identifier of the Managed Microsoft AD directory that you want to share with other Amazon Web Services
accounts.
|
ShareDirectoryRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ShareDirectoryRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
ShareDirectoryRequest.Builder |
shareMethod(ShareMethod shareMethod)
The method used when sharing a directory to determine whether the directory should be shared within your
Amazon Web Services organization (
ORGANIZATIONS) or with any Amazon Web Services account by
sending a directory sharing request (HANDSHAKE). |
ShareDirectoryRequest.Builder |
shareMethod(String shareMethod)
The method used when sharing a directory to determine whether the directory should be shared within your
Amazon Web Services organization (
ORGANIZATIONS) or with any Amazon Web Services account by
sending a directory sharing request (HANDSHAKE). |
ShareDirectoryRequest.Builder |
shareNotes(String shareNotes)
A directory share request that is sent by the directory owner to the directory consumer.
|
default ShareDirectoryRequest.Builder |
shareTarget(Consumer<ShareTarget.Builder> shareTarget)
Identifier for the directory consumer account with whom the directory is to be shared.
|
ShareDirectoryRequest.Builder |
shareTarget(ShareTarget shareTarget)
Identifier for the directory consumer account with whom the directory is to be shared.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildShareDirectoryRequest.Builder directoryId(String directoryId)
Identifier of the Managed Microsoft AD directory that you want to share with other Amazon Web Services accounts.
directoryId - Identifier of the Managed Microsoft AD directory that you want to share with other Amazon Web Services
accounts.ShareDirectoryRequest.Builder shareNotes(String shareNotes)
A directory share request that is sent by the directory owner to the directory consumer. The request includes a typed message to help the directory consumer administrator determine whether to approve or reject the share invitation.
shareNotes - A directory share request that is sent by the directory owner to the directory consumer. The request
includes a typed message to help the directory consumer administrator determine whether to approve or
reject the share invitation.ShareDirectoryRequest.Builder shareTarget(ShareTarget shareTarget)
Identifier for the directory consumer account with whom the directory is to be shared.
shareTarget - Identifier for the directory consumer account with whom the directory is to be shared.default ShareDirectoryRequest.Builder shareTarget(Consumer<ShareTarget.Builder> shareTarget)
Identifier for the directory consumer account with whom the directory is to be shared.
This is a convenience method that creates an instance of theShareTarget.Builder avoiding the need to
create one manually via ShareTarget.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to shareTarget(ShareTarget).
shareTarget - a consumer that will call methods on ShareTarget.BuildershareTarget(ShareTarget)ShareDirectoryRequest.Builder shareMethod(String shareMethod)
The method used when sharing a directory to determine whether the directory should be shared within your
Amazon Web Services organization (ORGANIZATIONS) or with any Amazon Web Services account by
sending a directory sharing request (HANDSHAKE).
shareMethod - The method used when sharing a directory to determine whether the directory should be shared within
your Amazon Web Services organization (ORGANIZATIONS) or with any Amazon Web Services
account by sending a directory sharing request (HANDSHAKE).ShareMethod,
ShareMethodShareDirectoryRequest.Builder shareMethod(ShareMethod shareMethod)
The method used when sharing a directory to determine whether the directory should be shared within your
Amazon Web Services organization (ORGANIZATIONS) or with any Amazon Web Services account by
sending a directory sharing request (HANDSHAKE).
shareMethod - The method used when sharing a directory to determine whether the directory should be shared within
your Amazon Web Services organization (ORGANIZATIONS) or with any Amazon Web Services
account by sending a directory sharing request (HANDSHAKE).ShareMethod,
ShareMethodShareDirectoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderShareDirectoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.