Interface DescribeDocumentPermissionResponse.Builder

    • Method Detail

      • accountIds

        DescribeDocumentPermissionResponse.Builder accountIds​(Collection<String> accountIds)

        The account IDs that have permission to use this document. The ID can be either an Amazon Web Services account or All.

        Parameters:
        accountIds - The account IDs that have permission to use this document. The ID can be either an Amazon Web Services account or All.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accountIds

        DescribeDocumentPermissionResponse.Builder accountIds​(String... accountIds)

        The account IDs that have permission to use this document. The ID can be either an Amazon Web Services account or All.

        Parameters:
        accountIds - The account IDs that have permission to use this document. The ID can be either an Amazon Web Services account or All.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accountSharingInfoList

        DescribeDocumentPermissionResponse.Builder accountSharingInfoList​(Collection<AccountSharingInfo> accountSharingInfoList)

        A list of Amazon Web Services accounts where the current document is shared and the version shared with each account.

        Parameters:
        accountSharingInfoList - A list of Amazon Web Services accounts where the current document is shared and the version shared with each account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accountSharingInfoList

        DescribeDocumentPermissionResponse.Builder accountSharingInfoList​(AccountSharingInfo... accountSharingInfoList)

        A list of Amazon Web Services accounts where the current document is shared and the version shared with each account.

        Parameters:
        accountSharingInfoList - A list of Amazon Web Services accounts where the current document is shared and the version shared with each account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        DescribeDocumentPermissionResponse.Builder nextToken​(String nextToken)

        The token for the next set of items to return. Use this token to get the next set of results.

        Parameters:
        nextToken - The token for the next set of items to return. Use this token to get the next set of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.