@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDirectoryId()
Identifier of the Managed Microsoft AD directory that you want to share with other Amazon Web Services accounts.
|
String |
getShareMethod()
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
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 Managed Microsoft AD directory that you want to share with other Amazon Web Services accounts.
|
void |
setShareMethod(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
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 Managed Microsoft AD directory that you want to share with other Amazon Web Services accounts.
|
ShareDirectoryRequest |
withShareMethod(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
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 Amazon
Web Services organization (
ORGANIZATIONS ) or with any Amazon Web Services 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, 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, withSdkRequestTimeout
public void setDirectoryId(String directoryId)
Identifier of the Managed Microsoft AD directory that you want to share with other Amazon Web Services accounts.
directoryId
- Identifier of the Managed Microsoft AD directory that you want to share with other Amazon Web Services
accounts.public String getDirectoryId()
Identifier of the Managed Microsoft AD directory that you want to share with other Amazon Web Services accounts.
public ShareDirectoryRequest withDirectoryId(String directoryId)
Identifier of the Managed Microsoft AD directory that you want to share with other Amazon Web Services accounts.
directoryId
- Identifier of the Managed Microsoft AD directory that you want to share with other Amazon Web Services
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 Amazon
Web Services organization (ORGANIZATIONS
) or with any Amazon Web Services 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
Amazon Web Services organization (ORGANIZATIONS
) or with any Amazon Web Services account by
sending a directory sharing request (HANDSHAKE
).ShareMethod
public String getShareMethod()
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
directory sharing request (HANDSHAKE
).
ORGANIZATIONS
) or with any Amazon Web Services account by
sending a directory sharing request (HANDSHAKE
).ShareMethod
public ShareDirectoryRequest withShareMethod(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
directory sharing request (HANDSHAKE
).
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 directory sharing request (HANDSHAKE
).ShareMethod
public ShareDirectoryRequest withShareMethod(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
directory sharing request (HANDSHAKE
).
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 directory sharing request (HANDSHAKE
).ShareMethod
public String toString()
toString
in class Object
Object.toString()
public ShareDirectoryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()