@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.
|
int |
hashCode() |
void |
setAccountIds(Collection<String> accountIds)
The account IDs that have permission to use this document.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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.
|
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 String toString()
toString
in class Object
Object.toString()
public DescribeDocumentPermissionResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.