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 AWS Managed Microsoft AD directory that you want to share with other AWS accounts.
|
ShareDirectoryRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ShareDirectoryRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
ShareDirectoryRequest.Builder |
shareMethod(ShareMethod shareMethod)
The method used when sharing a directory to determine whether the directory should be shared within your AWS
organization (
ORGANIZATIONS ) or with any AWS 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 AWS
organization (
ORGANIZATIONS ) or with any AWS 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.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
ShareDirectoryRequest.Builder directoryId(String directoryId)
Identifier of the AWS Managed Microsoft AD directory that you want to share with other AWS accounts.
directoryId
- Identifier of the AWS Managed Microsoft AD directory that you want to share with other AWS 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 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.Builder
shareTarget(ShareTarget)
ShareDirectoryRequest.Builder shareMethod(String shareMethod)
The method used when sharing a directory to determine whether the directory should be shared within your AWS
organization (ORGANIZATIONS
) or with any AWS 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 AWS organization (ORGANIZATIONS
) or with any AWS account by sending a directory
sharing request (HANDSHAKE
).ShareMethod
,
ShareMethod
ShareDirectoryRequest.Builder shareMethod(ShareMethod shareMethod)
The method used when sharing a directory to determine whether the directory should be shared within your AWS
organization (ORGANIZATIONS
) or with any AWS 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 AWS organization (ORGANIZATIONS
) or with any AWS account by sending a directory
sharing request (HANDSHAKE
).ShareMethod
,
ShareMethod
ShareDirectoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ShareDirectoryRequest.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.