public static interface ModifyDocumentPermissionRequest.Builder extends SsmRequest.Builder, SdkPojo, CopyableBuilder<ModifyDocumentPermissionRequest.Builder,ModifyDocumentPermissionRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
ModifyDocumentPermissionRequest.Builder name(String name)
The name of the document that you want to share.
name
- The name of the document that you want to share.ModifyDocumentPermissionRequest.Builder permissionType(String permissionType)
The permission type for the document. The permission type can be Share.
permissionType
- The permission type for the document. The permission type can be Share.DocumentPermissionType
,
DocumentPermissionType
ModifyDocumentPermissionRequest.Builder permissionType(DocumentPermissionType permissionType)
The permission type for the document. The permission type can be Share.
permissionType
- The permission type for the document. The permission type can be Share.DocumentPermissionType
,
DocumentPermissionType
ModifyDocumentPermissionRequest.Builder accountIdsToAdd(Collection<String> accountIdsToAdd)
The AWS user accounts that should have access to the document. The account IDs can either be a group of account IDs or All.
accountIdsToAdd
- The AWS user accounts that should have access to the document. The account IDs can either be a group
of account IDs or All.ModifyDocumentPermissionRequest.Builder accountIdsToAdd(String... accountIdsToAdd)
The AWS user accounts that should have access to the document. The account IDs can either be a group of account IDs or All.
accountIdsToAdd
- The AWS user accounts that should have access to the document. The account IDs can either be a group
of account IDs or All.ModifyDocumentPermissionRequest.Builder accountIdsToRemove(Collection<String> accountIdsToRemove)
The AWS user accounts that should no longer have access to the document. The AWS user account can either be a group of account IDs or All. This action has a higher priority than AccountIdsToAdd. If you specify an account ID to add and the same ID to remove, the system removes access to the document.
accountIdsToRemove
- The AWS user accounts that should no longer have access to the document. The AWS user account can
either be a group of account IDs or All. This action has a higher priority than
AccountIdsToAdd. If you specify an account ID to add and the same ID to remove, the system
removes access to the document.ModifyDocumentPermissionRequest.Builder accountIdsToRemove(String... accountIdsToRemove)
The AWS user accounts that should no longer have access to the document. The AWS user account can either be a group of account IDs or All. This action has a higher priority than AccountIdsToAdd. If you specify an account ID to add and the same ID to remove, the system removes access to the document.
accountIdsToRemove
- The AWS user accounts that should no longer have access to the document. The AWS user account can
either be a group of account IDs or All. This action has a higher priority than
AccountIdsToAdd. If you specify an account ID to add and the same ID to remove, the system
removes access to the document.ModifyDocumentPermissionRequest.Builder sharedDocumentVersion(String sharedDocumentVersion)
(Optional) The version of the document to share. If it's not specified, the system choose the
Default
version to share.
sharedDocumentVersion
- (Optional) The version of the document to share. If it's not specified, the system choose the
Default
version to share.ModifyDocumentPermissionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
ModifyDocumentPermissionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2020. All rights reserved.