@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SharedDirectory extends Object implements Serializable, Cloneable, StructuredPojo
Details about the shared directory in the directory owner account for which the share request in the directory consumer account has been accepted.
Constructor and Description |
---|
SharedDirectory() |
Modifier and Type | Method and Description |
---|---|
SharedDirectory |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedDateTime()
The date and time that the shared directory was created.
|
Date |
getLastUpdatedDateTime()
The date and time that the shared directory was last updated.
|
String |
getOwnerAccountId()
Identifier of the directory owner account, which contains the directory that has been shared to the consumer
account.
|
String |
getOwnerDirectoryId()
Identifier of the directory in the directory owner account.
|
String |
getSharedAccountId()
Identifier of the directory consumer account that has access to the shared directory (
OwnerDirectoryId ) in the directory owner account. |
String |
getSharedDirectoryId()
Identifier of the shared directory in the directory consumer account.
|
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
shared directory request (HANDSHAKE ). |
String |
getShareNotes()
A directory share request that is sent by the directory owner to the directory consumer.
|
String |
getShareStatus()
Current directory status of the shared Managed Microsoft AD directory.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedDateTime(Date createdDateTime)
The date and time that the shared directory was created.
|
void |
setLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time that the shared directory was last updated.
|
void |
setOwnerAccountId(String ownerAccountId)
Identifier of the directory owner account, which contains the directory that has been shared to the consumer
account.
|
void |
setOwnerDirectoryId(String ownerDirectoryId)
Identifier of the directory in the directory owner account.
|
void |
setSharedAccountId(String sharedAccountId)
Identifier of the directory consumer account that has access to the shared directory (
OwnerDirectoryId ) in the directory owner account. |
void |
setSharedDirectoryId(String sharedDirectoryId)
Identifier of the shared directory in the directory consumer account.
|
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
shared directory request (HANDSHAKE ). |
void |
setShareNotes(String shareNotes)
A directory share request that is sent by the directory owner to the directory consumer.
|
void |
setShareStatus(String shareStatus)
Current directory status of the shared Managed Microsoft AD directory.
|
String |
toString()
Returns a string representation of this object.
|
SharedDirectory |
withCreatedDateTime(Date createdDateTime)
The date and time that the shared directory was created.
|
SharedDirectory |
withLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time that the shared directory was last updated.
|
SharedDirectory |
withOwnerAccountId(String ownerAccountId)
Identifier of the directory owner account, which contains the directory that has been shared to the consumer
account.
|
SharedDirectory |
withOwnerDirectoryId(String ownerDirectoryId)
Identifier of the directory in the directory owner account.
|
SharedDirectory |
withSharedAccountId(String sharedAccountId)
Identifier of the directory consumer account that has access to the shared directory (
OwnerDirectoryId ) in the directory owner account. |
SharedDirectory |
withSharedDirectoryId(String sharedDirectoryId)
Identifier of the shared directory in the directory consumer account.
|
SharedDirectory |
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
shared directory request (HANDSHAKE ). |
SharedDirectory |
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
shared directory request (HANDSHAKE ). |
SharedDirectory |
withShareNotes(String shareNotes)
A directory share request that is sent by the directory owner to the directory consumer.
|
SharedDirectory |
withShareStatus(ShareStatus shareStatus)
Current directory status of the shared Managed Microsoft AD directory.
|
SharedDirectory |
withShareStatus(String shareStatus)
Current directory status of the shared Managed Microsoft AD directory.
|
public void setOwnerAccountId(String ownerAccountId)
Identifier of the directory owner account, which contains the directory that has been shared to the consumer account.
ownerAccountId
- Identifier of the directory owner account, which contains the directory that has been shared to the
consumer account.public String getOwnerAccountId()
Identifier of the directory owner account, which contains the directory that has been shared to the consumer account.
public SharedDirectory withOwnerAccountId(String ownerAccountId)
Identifier of the directory owner account, which contains the directory that has been shared to the consumer account.
ownerAccountId
- Identifier of the directory owner account, which contains the directory that has been shared to the
consumer account.public void setOwnerDirectoryId(String ownerDirectoryId)
Identifier of the directory in the directory owner account.
ownerDirectoryId
- Identifier of the directory in the directory owner account.public String getOwnerDirectoryId()
Identifier of the directory in the directory owner account.
public SharedDirectory withOwnerDirectoryId(String ownerDirectoryId)
Identifier of the directory in the directory owner account.
ownerDirectoryId
- Identifier of the directory in the directory owner account.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
shared directory 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 shared directory 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
shared directory request (HANDSHAKE
).
ORGANIZATIONS
) or with any Amazon Web Services account by
sending a shared directory request (HANDSHAKE
).ShareMethod
public SharedDirectory 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
shared directory 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 shared directory request (HANDSHAKE
).ShareMethod
public SharedDirectory 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
shared directory 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 shared directory request (HANDSHAKE
).ShareMethod
public void setSharedAccountId(String sharedAccountId)
Identifier of the directory consumer account that has access to the shared directory (
OwnerDirectoryId
) in the directory owner account.
sharedAccountId
- Identifier of the directory consumer account that has access to the shared directory (
OwnerDirectoryId
) in the directory owner account.public String getSharedAccountId()
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 SharedDirectory withSharedAccountId(String sharedAccountId)
Identifier of the directory consumer account that has access to the shared directory (
OwnerDirectoryId
) in the directory owner account.
sharedAccountId
- Identifier of the directory consumer account that has access to the shared directory (
OwnerDirectoryId
) in the directory owner account.public void setSharedDirectoryId(String sharedDirectoryId)
Identifier of the shared directory in the directory consumer account. This identifier is different for each directory owner account.
sharedDirectoryId
- Identifier of the shared directory in the directory consumer account. This identifier is different for
each directory owner account.public String getSharedDirectoryId()
Identifier of the shared directory in the directory consumer account. This identifier is different for each directory owner account.
public SharedDirectory withSharedDirectoryId(String sharedDirectoryId)
Identifier of the shared directory in the directory consumer account. This identifier is different for each directory owner account.
sharedDirectoryId
- Identifier of the shared directory in the directory consumer account. This identifier is different for
each directory owner account.public void setShareStatus(String shareStatus)
Current directory status of the shared Managed Microsoft AD directory.
shareStatus
- Current directory status of the shared Managed Microsoft AD directory.ShareStatus
public String getShareStatus()
Current directory status of the shared Managed Microsoft AD directory.
ShareStatus
public SharedDirectory withShareStatus(String shareStatus)
Current directory status of the shared Managed Microsoft AD directory.
shareStatus
- Current directory status of the shared Managed Microsoft AD directory.ShareStatus
public SharedDirectory withShareStatus(ShareStatus shareStatus)
Current directory status of the shared Managed Microsoft AD directory.
shareStatus
- Current directory status of the shared Managed Microsoft AD directory.ShareStatus
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 SharedDirectory 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 setCreatedDateTime(Date createdDateTime)
The date and time that the shared directory was created.
createdDateTime
- The date and time that the shared directory was created.public Date getCreatedDateTime()
The date and time that the shared directory was created.
public SharedDirectory withCreatedDateTime(Date createdDateTime)
The date and time that the shared directory was created.
createdDateTime
- The date and time that the shared directory was created.public void setLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time that the shared directory was last updated.
lastUpdatedDateTime
- The date and time that the shared directory was last updated.public Date getLastUpdatedDateTime()
The date and time that the shared directory was last updated.
public SharedDirectory withLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time that the shared directory was last updated.
lastUpdatedDateTime
- The date and time that the shared directory was last updated.public String toString()
toString
in class Object
Object.toString()
public SharedDirectory clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.