@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) |
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String ownerAccountId()
Identifier of the directory owner account, which contains the directory that has been shared to the consumer account.
public String ownerDirectoryId()
Identifier of the directory in the directory owner account.
public 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
).ShareMethod
public 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
).ShareMethod
public 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 String sharedDirectoryId()
Identifier of the shared directory in the directory consumer account. This identifier is different for each directory owner account.
public 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()
.
ShareStatus
public 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()
.
ShareStatus
public 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 Instant createdDateTime()
The date and time that the shared directory was created.
public Instant lastUpdatedDateTime()
The date and time that the shared directory was last updated.
public SharedDirectory.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SharedDirectory.Builder,SharedDirectory>
public static SharedDirectory.Builder builder()
public static Class<? extends SharedDirectory.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.