Interface ShareDirectoryRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ShareDirectoryRequest.Builder,ShareDirectoryRequest>,DirectoryRequest.Builder,SdkBuilder<ShareDirectoryRequest.Builder,ShareDirectoryRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ShareDirectoryRequest
public static interface ShareDirectoryRequest.Builder extends DirectoryRequest.Builder, SdkPojo, CopyableBuilder<ShareDirectoryRequest.Builder,ShareDirectoryRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ShareDirectoryRequest.BuilderdirectoryId(String directoryId)Identifier of the Managed Microsoft AD directory that you want to share with other Amazon Web Services accounts.ShareDirectoryRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ShareDirectoryRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ShareDirectoryRequest.BuildershareMethod(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.BuildershareMethod(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.BuildershareNotes(String shareNotes)A directory share request that is sent by the directory owner to the directory consumer.default ShareDirectoryRequest.BuildershareTarget(Consumer<ShareTarget.Builder> shareTarget)Identifier for the directory consumer account with whom the directory is to be shared.ShareDirectoryRequest.BuildershareTarget(ShareTarget shareTarget)Identifier for the directory consumer account with whom the directory is to be shared.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.directory.model.DirectoryRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
directoryId
ShareDirectoryRequest.Builder directoryId(String directoryId)
Identifier of the Managed Microsoft AD directory that you want to share with other Amazon Web Services accounts.
- Parameters:
directoryId- Identifier of the Managed Microsoft AD directory that you want to share with other Amazon Web Services accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shareNotes
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shareTarget
ShareDirectoryRequest.Builder shareTarget(ShareTarget shareTarget)
Identifier for the directory consumer account with whom the directory is to be shared.
- Parameters:
shareTarget- Identifier for the directory consumer account with whom the directory is to be shared.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shareTarget
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.Builderavoiding the need to create one manually viaShareTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toshareTarget(ShareTarget).- Parameters:
shareTarget- a consumer that will call methods onShareTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
shareTarget(ShareTarget)
-
shareMethod
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).- Parameters:
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).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ShareMethod,ShareMethod
-
shareMethod
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).- Parameters:
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).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ShareMethod,ShareMethod
-
overrideConfiguration
ShareDirectoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ShareDirectoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-