@Generated(value="software.amazon.awssdk:codegen") public final class SharedDirectory extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SharedDirectory.Builder,SharedDirectory>
Details about the shared directory in the directory owner account for which the share request in the directory consumer account has been accepted.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SharedDirectory.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SharedDirectory.Builder |
builder() |
Instant |
createdDateTime()
The date and time that the shared directory was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdatedDateTime()
The date and time that the shared directory was last updated.
|
String |
ownerAccountId()
Identifier of the directory owner account, which contains the directory that has been shared to the consumer
account.
|
String |
ownerDirectoryId()
Identifier of the directory in the directory owner account.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SharedDirectory.Builder> |
serializableBuilderClass() |
String |
sharedAccountId()
Identifier of the directory consumer account that has access to the shared directory (
OwnerDirectoryId) in the directory owner account. |
String |
sharedDirectoryId()
Identifier of the shared directory in the directory consumer account.
|
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 shared directory request (
HANDSHAKE). |
String |
shareMethodAsString()
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 shared directory request (
HANDSHAKE). |
String |
shareNotes()
A directory share request that is sent by the directory owner to the directory consumer.
|
ShareStatus |
shareStatus()
Current directory status of the shared AWS Managed Microsoft AD directory.
|
String |
shareStatusAsString()
Current directory status of the shared AWS Managed Microsoft AD directory.
|
SharedDirectory.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String ownerAccountId()
Identifier of the directory owner account, which contains the directory that has been shared to the consumer account.
public final String ownerDirectoryId()
Identifier of the directory in the directory owner account.
public final 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 shared directory request (
HANDSHAKE).
If the service returns an enum value that is not available in the current SDK version, shareMethod will
return ShareMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
shareMethodAsString().
ORGANIZATIONS) or with any AWS account by sending a shared directory
request (HANDSHAKE).ShareMethodpublic final String shareMethodAsString()
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 shared directory request (
HANDSHAKE).
If the service returns an enum value that is not available in the current SDK version, shareMethod will
return ShareMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
shareMethodAsString().
ORGANIZATIONS) or with any AWS account by sending a shared directory
request (HANDSHAKE).ShareMethodpublic final String sharedAccountId()
Identifier of the directory consumer account that has access to the shared directory (
OwnerDirectoryId) in the directory owner account.
OwnerDirectoryId) in the directory owner account.public final String sharedDirectoryId()
Identifier of the shared directory in the directory consumer account. This identifier is different for each directory owner account.
public final ShareStatus shareStatus()
Current directory status of the shared AWS Managed Microsoft AD directory.
If the service returns an enum value that is not available in the current SDK version, shareStatus will
return ShareStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
shareStatusAsString().
ShareStatuspublic final String shareStatusAsString()
Current directory status of the shared AWS Managed Microsoft AD directory.
If the service returns an enum value that is not available in the current SDK version, shareStatus will
return ShareStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
shareStatusAsString().
ShareStatuspublic final 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.
public final Instant createdDateTime()
The date and time that the shared directory was created.
public final Instant lastUpdatedDateTime()
The date and time that the shared directory was last updated.
public SharedDirectory.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SharedDirectory.Builder,SharedDirectory>public static SharedDirectory.Builder builder()
public static Class<? extends SharedDirectory.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.