@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccountSharingInfo extends Object implements Serializable, Cloneable, StructuredPojo
Information includes the AWS 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 AWS 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) |
void |
setAccountId(String accountId)
The AWS 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 AWS 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 AWS account ID where the current document is shared.
accountId
- The AWS account ID where the current document is shared.public String getAccountId()
The AWS account ID where the current document is shared.
public AccountSharingInfo withAccountId(String accountId)
The AWS account ID where the current document is shared.
accountId
- The AWS 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 Object
Object.toString()
public AccountSharingInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2020. All rights reserved.