Interface DescribeDocumentPermissionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeDocumentPermissionResponse.Builder,
,DescribeDocumentPermissionResponse> SdkBuilder<DescribeDocumentPermissionResponse.Builder,
,DescribeDocumentPermissionResponse> SdkPojo
,SdkResponse.Builder
,SsmResponse.Builder
- Enclosing class:
DescribeDocumentPermissionResponse
-
Method Summary
Modifier and TypeMethodDescriptionaccountIds
(String... accountIds) The account IDs that have permission to use this document.accountIds
(Collection<String> accountIds) The account IDs that have permission to use this document.accountSharingInfoList
(Collection<AccountSharingInfo> accountSharingInfoList) A list of Amazon Web Services accounts where the current document is shared and the version shared with each account.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.accountSharingInfoList
(AccountSharingInfo... accountSharingInfoList) A list of Amazon Web Services accounts where the current document is shared and the version shared with each account.The token for the next set of items to return.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmResponse.Builder
build, responseMetadata, responseMetadata
-
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 theAccountSharingInfo.Builder
avoiding the need to create one manually viaAccountSharingInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccountSharingInfoList(List<AccountSharingInfo>)
.- Parameters:
accountSharingInfoList
- a consumer that will call methods onAccountSharingInfo.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.
-