Interface SharedDirectory.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SharedDirectory.Builder,SharedDirectory>,SdkBuilder<SharedDirectory.Builder,SharedDirectory>,SdkPojo
- Enclosing class:
- SharedDirectory
public static interface SharedDirectory.Builder extends SdkPojo, CopyableBuilder<SharedDirectory.Builder,SharedDirectory>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SharedDirectory.BuildercreatedDateTime(Instant createdDateTime)The date and time that the shared directory was created.SharedDirectory.BuilderlastUpdatedDateTime(Instant lastUpdatedDateTime)The date and time that the shared directory was last updated.SharedDirectory.BuilderownerAccountId(String ownerAccountId)Identifier of the directory owner account, which contains the directory that has been shared to the consumer account.SharedDirectory.BuilderownerDirectoryId(String ownerDirectoryId)Identifier of the directory in the directory owner account.SharedDirectory.BuildersharedAccountId(String sharedAccountId)Identifier of the directory consumer account that has access to the shared directory (OwnerDirectoryId) in the directory owner account.SharedDirectory.BuildersharedDirectoryId(String sharedDirectoryId)Identifier of the shared directory in the directory consumer account.SharedDirectory.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 shared directory request (HANDSHAKE).SharedDirectory.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 shared directory request (HANDSHAKE).SharedDirectory.BuildershareNotes(String shareNotes)A directory share request that is sent by the directory owner to the directory consumer.SharedDirectory.BuildershareStatus(String shareStatus)Current directory status of the shared Managed Microsoft AD directory.SharedDirectory.BuildershareStatus(ShareStatus shareStatus)Current directory status of the shared Managed Microsoft AD directory.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
ownerAccountId
SharedDirectory.Builder ownerAccountId(String ownerAccountId)
Identifier of the directory owner account, which contains the directory that has been shared to the consumer account.
- Parameters:
ownerAccountId- Identifier of the directory owner account, which contains the directory that has been shared to the consumer account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerDirectoryId
SharedDirectory.Builder ownerDirectoryId(String ownerDirectoryId)
Identifier of the directory in the directory owner account.
- Parameters:
ownerDirectoryId- Identifier of the directory in the directory owner account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shareMethod
SharedDirectory.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 shared directory 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 shared directory request (HANDSHAKE).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ShareMethod,ShareMethod
-
shareMethod
SharedDirectory.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 shared directory 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 shared directory request (HANDSHAKE).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ShareMethod,ShareMethod
-
sharedAccountId
SharedDirectory.Builder sharedAccountId(String sharedAccountId)
Identifier of the directory consumer account that has access to the shared directory (
OwnerDirectoryId) in the directory owner account.- Parameters:
sharedAccountId- Identifier of the directory consumer account that has access to the shared directory (OwnerDirectoryId) in the directory owner account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sharedDirectoryId
SharedDirectory.Builder sharedDirectoryId(String sharedDirectoryId)
Identifier of the shared directory in the directory consumer account. This identifier is different for each directory owner account.
- Parameters:
sharedDirectoryId- Identifier of the shared directory in the directory consumer account. This identifier is different for each directory owner account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shareStatus
SharedDirectory.Builder shareStatus(String shareStatus)
Current directory status of the shared Managed Microsoft AD directory.
- Parameters:
shareStatus- Current directory status of the shared Managed Microsoft AD directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ShareStatus,ShareStatus
-
shareStatus
SharedDirectory.Builder shareStatus(ShareStatus shareStatus)
Current directory status of the shared Managed Microsoft AD directory.
- Parameters:
shareStatus- Current directory status of the shared Managed Microsoft AD directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ShareStatus,ShareStatus
-
shareNotes
SharedDirectory.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.
-
createdDateTime
SharedDirectory.Builder createdDateTime(Instant createdDateTime)
The date and time that the shared directory was created.
- Parameters:
createdDateTime- The date and time that the shared directory was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedDateTime
SharedDirectory.Builder lastUpdatedDateTime(Instant lastUpdatedDateTime)
The date and time that the shared directory was last updated.
- Parameters:
lastUpdatedDateTime- The date and time that the shared directory was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-