public static interface DescribeDocumentPermissionResponse.Builder extends SsmResponse.Builder, SdkPojo, CopyableBuilder<DescribeDocumentPermissionResponse.Builder,DescribeDocumentPermissionResponse>
Modifier and Type | Method and Description |
---|---|
DescribeDocumentPermissionResponse.Builder |
accountIds(Collection<String> accountIds)
The account IDs that have permission to use this document.
|
DescribeDocumentPermissionResponse.Builder |
accountIds(String... accountIds)
The account IDs that have permission to use this document.
|
DescribeDocumentPermissionResponse.Builder |
accountSharingInfoList(AccountSharingInfo... accountSharingInfoList)
A list of AWS accounts where the current document is shared and the version shared with each account.
|
DescribeDocumentPermissionResponse.Builder |
accountSharingInfoList(Collection<AccountSharingInfo> accountSharingInfoList)
A list of AWS accounts where the current document is shared and the version shared with each account.
|
DescribeDocumentPermissionResponse.Builder |
accountSharingInfoList(Consumer<AccountSharingInfo.Builder>... accountSharingInfoList)
A list of AWS accounts where the current document is shared and the version shared with each account.
|
DescribeDocumentPermissionResponse.Builder |
nextToken(String nextToken)
The token for the next set of items to return.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeDocumentPermissionResponse.Builder accountIds(Collection<String> accountIds)
The account IDs that have permission to use this document. The ID can be either an AWS account or All.
accountIds
- The account IDs that have permission to use this document. The ID can be either an AWS account or
All.DescribeDocumentPermissionResponse.Builder accountIds(String... accountIds)
The account IDs that have permission to use this document. The ID can be either an AWS account or All.
accountIds
- The account IDs that have permission to use this document. The ID can be either an AWS account or
All.DescribeDocumentPermissionResponse.Builder accountSharingInfoList(Collection<AccountSharingInfo> accountSharingInfoList)
A list of AWS accounts where the current document is shared and the version shared with each account.
accountSharingInfoList
- A list of AWS accounts where the current document is shared and the version shared with each account.DescribeDocumentPermissionResponse.Builder accountSharingInfoList(AccountSharingInfo... accountSharingInfoList)
A list of AWS accounts where the current document is shared and the version shared with each account.
accountSharingInfoList
- A list of AWS accounts where the current document is shared and the version shared with each account.DescribeDocumentPermissionResponse.Builder accountSharingInfoList(Consumer<AccountSharingInfo.Builder>... accountSharingInfoList)
A list of AWS accounts where the current document is shared and the version shared with each account.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #accountSharingInfoList(List)
.accountSharingInfoList
- a consumer that will call methods on List.Builder
#accountSharingInfoList(List)
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.
nextToken
- The token for the next set of items to return. Use this token to get the next set of results.Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.