Interface DescribeDocumentPermissionResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<DescribeDocumentPermissionResponse.Builder,DescribeDocumentPermissionResponse>, SdkBuilder<DescribeDocumentPermissionResponse.Builder,DescribeDocumentPermissionResponse>, SdkPojo, SdkResponse.Builder, SsmResponse.Builder
Enclosing class:
DescribeDocumentPermissionResponse

public static interface DescribeDocumentPermissionResponse.Builder extends SsmResponse.Builder, SdkPojo, CopyableBuilder<DescribeDocumentPermissionResponse.Builder,DescribeDocumentPermissionResponse>
  • Method Details

    • 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

      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.
    • accountSharingInfoList

      DescribeDocumentPermissionResponse.Builder accountSharingInfoList(Consumer<AccountSharingInfo.Builder>... accountSharingInfoList)

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

      This is a convenience method that creates an instance of the AccountSharingInfo.Builder avoiding the need to create one manually via AccountSharingInfo.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to accountSharingInfoList(List<AccountSharingInfo>).

      Parameters:
      accountSharingInfoList - a consumer that will call methods on AccountSharingInfo.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.