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 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(String... accountIds)
The account IDs that have permission to use this document.DescribeDocumentPermissionResult
withAccountIds(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeDocumentPermissionResult clone()
-
-