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 Details

    • 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

      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:
    • 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

      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:
    • 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.