@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 Amazon Web Services accounts where the current document is shared and the version shared with each
account.
|
String |
getNextToken()
The token for the next set of items to return.
|
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 Amazon Web Services accounts where the current document is shared and the version shared with each
account.
|
void |
setNextToken(String nextToken)
The token for the next set of items to return.
|
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 Amazon Web Services accounts where the current document is shared and the version shared with each
account.
|
DescribeDocumentPermissionResult |
withAccountSharingInfoList(Collection<AccountSharingInfo> accountSharingInfoList)
A list of Amazon Web Services accounts where the current document is shared and the version shared with each
account.
|
DescribeDocumentPermissionResult |
withNextToken(String nextToken)
The token for the next set of items to return.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getAccountIds()
The account IDs that have permission to use this document. The ID can be either an Amazon Web Services 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 Amazon Web Services account or All.
accountIds
- The account IDs that have permission to use this document. The ID can be either an Amazon Web Services
account or All.public DescribeDocumentPermissionResult withAccountIds(String... accountIds)
The account IDs that have permission to use this document. The ID can be either an Amazon Web Services 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 Amazon Web Services
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 Amazon Web Services account or All.
accountIds
- The account IDs that have permission to use this document. The ID can be either an Amazon Web Services
account or All.public List<AccountSharingInfo> getAccountSharingInfoList()
A list of Amazon Web Services accounts where the current document is shared and the version shared with each account.
public void setAccountSharingInfoList(Collection<AccountSharingInfo> accountSharingInfoList)
A list of Amazon Web Services accounts where the current document is shared and the version shared with each account.
accountSharingInfoList
- A list of Amazon Web Services accounts where the current document is shared and the version shared with
each account.public DescribeDocumentPermissionResult withAccountSharingInfoList(AccountSharingInfo... accountSharingInfoList)
A list of Amazon Web Services 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 Amazon Web Services accounts where the current document is shared and the version shared with
each account.public DescribeDocumentPermissionResult withAccountSharingInfoList(Collection<AccountSharingInfo> accountSharingInfoList)
A list of Amazon Web Services accounts where the current document is shared and the version shared with each account.
accountSharingInfoList
- A list of Amazon Web Services accounts where the current document is shared and the version shared with
each account.public void setNextToken(String nextToken)
The token for the next set of items to return. Use this token to get the next set of results.
nextToken
- The token for the next set of items to return. Use this token to get the next set of results.public String getNextToken()
The token for the next set of items to return. Use this token to get the next set of results.
public DescribeDocumentPermissionResult withNextToken(String nextToken)
The token for the next set of items to return. Use this token to get the next set of results.
nextToken
- The token for the next set of items to return. Use this token to get the next set of results.public String toString()
toString
in class Object
Object.toString()
public DescribeDocumentPermissionResult clone()
Copyright © 2023. All rights reserved.