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:
  • Constructor Details

    • DescribeDocumentPermissionResult

      public DescribeDocumentPermissionResult()
  • Method Details

    • 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) or withAccountIds(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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object