@Generated(value="software.amazon.awssdk:codegen") public final class ShareDirectoryRequest extends DirectoryRequest implements ToCopyableBuilder<ShareDirectoryRequest.Builder,ShareDirectoryRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ShareDirectoryRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ShareDirectoryRequest.Builder |
builder() |
String |
directoryId()
Identifier of the AWS Managed Microsoft AD directory that you want to share with other AWS accounts.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ShareDirectoryRequest.Builder> |
serializableBuilderClass() |
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 directory sharing 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 directory sharing request (
HANDSHAKE). |
String |
shareNotes()
A directory share request that is sent by the directory owner to the directory consumer.
|
ShareTarget |
shareTarget()
Identifier for the directory consumer account with whom the directory is to be shared.
|
ShareDirectoryRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String directoryId()
Identifier of the AWS Managed Microsoft AD directory that you want to share with other AWS accounts.
public 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 ShareTarget shareTarget()
Identifier for the directory consumer account with whom the directory is to be shared.
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 directory sharing 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 directory sharing
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 directory sharing 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 directory sharing
request (HANDSHAKE).ShareMethodpublic ShareDirectoryRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ShareDirectoryRequest.Builder,ShareDirectoryRequest>toBuilder in class DirectoryRequestpublic static ShareDirectoryRequest.Builder builder()
public static Class<? extends ShareDirectoryRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.