@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ShareDirectoryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ShareDirectoryRequest() |
| Modifier and Type | Method and Description |
|---|---|
ShareDirectoryRequest |
clone() |
boolean |
equals(Object obj) |
String |
getDirectoryId()
Identifier of the AWS Managed Microsoft AD directory that you want to share with other AWS accounts.
|
String |
getShareMethod()
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 |
getShareNotes()
A directory share request that is sent by the directory owner to the directory consumer.
|
ShareTarget |
getShareTarget()
Identifier for the directory consumer account with whom the directory is to be shared.
|
int |
hashCode() |
void |
setDirectoryId(String directoryId)
Identifier of the AWS Managed Microsoft AD directory that you want to share with other AWS accounts.
|
void |
setShareMethod(String 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). |
void |
setShareNotes(String shareNotes)
A directory share request that is sent by the directory owner to the directory consumer.
|
void |
setShareTarget(ShareTarget shareTarget)
Identifier for the directory consumer account with whom the directory is to be shared.
|
String |
toString()
Returns a string representation of this object.
|
ShareDirectoryRequest |
withDirectoryId(String directoryId)
Identifier of the AWS Managed Microsoft AD directory that you want to share with other AWS accounts.
|
ShareDirectoryRequest |
withShareMethod(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). |
ShareDirectoryRequest |
withShareMethod(String 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). |
ShareDirectoryRequest |
withShareNotes(String shareNotes)
A directory share request that is sent by the directory owner to the directory consumer.
|
ShareDirectoryRequest |
withShareTarget(ShareTarget shareTarget)
Identifier for the directory consumer account with whom the directory is to be shared.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setDirectoryId(String directoryId)
Identifier of the AWS Managed Microsoft AD directory that you want to share with other AWS accounts.
directoryId - Identifier of the AWS Managed Microsoft AD directory that you want to share with other AWS accounts.public String getDirectoryId()
Identifier of the AWS Managed Microsoft AD directory that you want to share with other AWS accounts.
public ShareDirectoryRequest withDirectoryId(String directoryId)
Identifier of the AWS Managed Microsoft AD directory that you want to share with other AWS accounts.
directoryId - Identifier of the AWS Managed Microsoft AD directory that you want to share with other AWS accounts.public void setShareNotes(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.
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 String getShareNotes()
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 ShareDirectoryRequest withShareNotes(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.
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 void setShareTarget(ShareTarget shareTarget)
Identifier for the directory consumer account with whom the directory is to be shared.
shareTarget - Identifier for the directory consumer account with whom the directory is to be shared.public ShareTarget getShareTarget()
Identifier for the directory consumer account with whom the directory is to be shared.
public ShareDirectoryRequest withShareTarget(ShareTarget shareTarget)
Identifier for the directory consumer account with whom the directory is to be shared.
shareTarget - Identifier for the directory consumer account with whom the directory is to be shared.public void setShareMethod(String 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).
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).ShareMethodpublic String getShareMethod()
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).
ORGANIZATIONS) or with any AWS account by sending a directory sharing
request (HANDSHAKE).ShareMethodpublic ShareDirectoryRequest withShareMethod(String 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).
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).ShareMethodpublic ShareDirectoryRequest withShareMethod(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).
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).ShareMethodpublic String toString()
toString in class ObjectObject.toString()public ShareDirectoryRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2019. All rights reserved.