@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeDocumentPermissionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeDocumentPermissionResult() |
Modifier and Type | Method and Description |
---|---|
DescribeDocumentPermissionResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAccountIds()
The account IDs that have permission to use this document.
|
List<AccountSharingInfo> |
getAccountSharingInfoList()
A list of of AWS accounts where the current document is shared and the version shared with each account.
|
int |
hashCode() |
void |
setAccountIds(Collection<String> accountIds)
The account IDs that have permission to use this document.
|
void |
setAccountSharingInfoList(Collection<AccountSharingInfo> accountSharingInfoList)
A list of of AWS accounts where the current document is shared and the version shared with each account.
|
String |
toString()
Returns a string representation of this object.
|
DescribeDocumentPermissionResult |
withAccountIds(Collection<String> accountIds)
The account IDs that have permission to use this document.
|
DescribeDocumentPermissionResult |
withAccountIds(String... accountIds)
The account IDs that have permission to use this document.
|
DescribeDocumentPermissionResult |
withAccountSharingInfoList(AccountSharingInfo... accountSharingInfoList)
A list of of AWS accounts where the current document is shared and the version shared with each account.
|
DescribeDocumentPermissionResult |
withAccountSharingInfoList(Collection<AccountSharingInfo> accountSharingInfoList)
A list of of AWS accounts where the current document is shared and the version shared with each account.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getAccountIds()
The account IDs that have permission to use this document. The ID can be either an AWS account or All.
public void setAccountIds(Collection<String> accountIds)
The account IDs that have permission to use this document. The ID can be either an AWS account or All.
accountIds
- The account IDs that have permission to use this document. The ID can be either an AWS account or
All.public DescribeDocumentPermissionResult withAccountIds(String... accountIds)
The account IDs that have permission to use this document. The ID can be either an AWS account or All.
NOTE: This method appends the values to the existing list (if any). Use
setAccountIds(java.util.Collection)
or withAccountIds(java.util.Collection)
if you want to
override the existing values.
accountIds
- The account IDs that have permission to use this document. The ID can be either an AWS account or
All.public DescribeDocumentPermissionResult withAccountIds(Collection<String> accountIds)
The account IDs that have permission to use this document. The ID can be either an AWS account or All.
accountIds
- The account IDs that have permission to use this document. The ID can be either an AWS account or
All.public List<AccountSharingInfo> getAccountSharingInfoList()
A list of of AWS accounts where the current document is shared and the version shared with each account.
public void setAccountSharingInfoList(Collection<AccountSharingInfo> accountSharingInfoList)
A list of of AWS accounts where the current document is shared and the version shared with each account.
accountSharingInfoList
- A list of of AWS accounts where the current document is shared and the version shared with each account.public DescribeDocumentPermissionResult withAccountSharingInfoList(AccountSharingInfo... accountSharingInfoList)
A list of of AWS accounts where the current document is shared and the version shared with each account.
NOTE: This method appends the values to the existing list (if any). Use
setAccountSharingInfoList(java.util.Collection)
or
withAccountSharingInfoList(java.util.Collection)
if you want to override the existing values.
accountSharingInfoList
- A list of of AWS accounts where the current document is shared and the version shared with each account.public DescribeDocumentPermissionResult withAccountSharingInfoList(Collection<AccountSharingInfo> accountSharingInfoList)
A list of of AWS accounts where the current document is shared and the version shared with each account.
accountSharingInfoList
- A list of of AWS accounts where the current document is shared and the version shared with each account.public String toString()
toString
in class Object
Object.toString()
public DescribeDocumentPermissionResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.