Class DescribeDocumentPermissionResult
- java.lang.Object
-
- com.amazonaws.services.simplesystemsmanagement.model.DescribeDocumentPermissionResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DescribeDocumentPermissionResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeDocumentPermissionResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeDocumentPermissionResultclone()booleanequals(Object obj)List<String>getAccountIds()The account IDs that have permission to use this document.inthashCode()voidsetAccountIds(Collection<String> accountIds)The account IDs that have permission to use this document.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeDocumentPermissionResultwithAccountIds(String... accountIds)The account IDs that have permission to use this document.DescribeDocumentPermissionResultwithAccountIds(Collection<String> accountIds)The account IDs that have permission to use this document.
-
-
-
Method Detail
-
getAccountIds
public List<String> getAccountIds()
The account IDs that have permission to use this document. The ID can be either an AWS account or All.
- Returns:
- The account IDs that have permission to use this document. The ID can be either an AWS account or All.
-
setAccountIds
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.
- Parameters:
accountIds- The account IDs that have permission to use this document. The ID can be either an AWS account or All.
-
withAccountIds
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)orwithAccountIds(java.util.Collection)if you want to override the existing values.- Parameters:
accountIds- The account IDs that have permission to use this document. The ID can be either an AWS account or All.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAccountIds
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.
- Parameters:
accountIds- The account IDs that have permission to use this document. The ID can be either an AWS account or All.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeDocumentPermissionResult clone()
-
-