@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccountSharingInfo extends Object implements Serializable, Cloneable, StructuredPojo
Information includes the Amazon Web Services account ID where the current document is shared and the version shared with that account.
| Constructor and Description |
|---|
AccountSharingInfo() |
| Modifier and Type | Method and Description |
|---|---|
AccountSharingInfo |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The Amazon Web Services account ID where the current document is shared.
|
String |
getSharedDocumentVersion()
The version of the current document shared with the account.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAccountId(String accountId)
The Amazon Web Services account ID where the current document is shared.
|
void |
setSharedDocumentVersion(String sharedDocumentVersion)
The version of the current document shared with the account.
|
String |
toString()
Returns a string representation of this object.
|
AccountSharingInfo |
withAccountId(String accountId)
The Amazon Web Services account ID where the current document is shared.
|
AccountSharingInfo |
withSharedDocumentVersion(String sharedDocumentVersion)
The version of the current document shared with the account.
|
public void setAccountId(String accountId)
The Amazon Web Services account ID where the current document is shared.
accountId - The Amazon Web Services account ID where the current document is shared.public String getAccountId()
The Amazon Web Services account ID where the current document is shared.
public AccountSharingInfo withAccountId(String accountId)
The Amazon Web Services account ID where the current document is shared.
accountId - The Amazon Web Services account ID where the current document is shared.public void setSharedDocumentVersion(String sharedDocumentVersion)
The version of the current document shared with the account.
sharedDocumentVersion - The version of the current document shared with the account.public String getSharedDocumentVersion()
The version of the current document shared with the account.
public AccountSharingInfo withSharedDocumentVersion(String sharedDocumentVersion)
The version of the current document shared with the account.
sharedDocumentVersion - The version of the current document shared with the account.public String toString()
toString in class ObjectObject.toString()public AccountSharingInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.