public class DescribeDocumentPermissionResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
accountIds
The account IDs that have permission to use this document.
|
Constructor and Description |
---|
DescribeDocumentPermissionResult() |
Modifier and Type | Method and Description |
---|---|
DescribeDocumentPermissionResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getAccountIds()
The account IDs that have permission to use this document.
|
int |
hashCode() |
void |
setAccountIds(java.util.Collection<java.lang.String> accountIds)
The account IDs that have permission to use this document.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeDocumentPermissionResult |
withAccountIds(java.util.Collection<java.lang.String> accountIds)
The account IDs that have permission to use this document.
|
DescribeDocumentPermissionResult |
withAccountIds(java.lang.String... accountIds)
The account IDs that have permission to use this document.
|
private SdkInternalList<java.lang.String> accountIds
The account IDs that have permission to use this document. The ID can be either an AWS account or All.
public java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeDocumentPermissionResult clone()
clone
in class java.lang.Object