public static interface ModifyDocumentPermissionRequest.Builder extends SsmRequest.Builder, SdkPojo, CopyableBuilder<ModifyDocumentPermissionRequest.Builder,ModifyDocumentPermissionRequest>
| Modifier and Type | Method and Description |
|---|---|
ModifyDocumentPermissionRequest.Builder |
accountIdsToAdd(Collection<String> accountIdsToAdd)
The Amazon Web Services user accounts that should have access to the document.
|
ModifyDocumentPermissionRequest.Builder |
accountIdsToAdd(String... accountIdsToAdd)
The Amazon Web Services user accounts that should have access to the document.
|
ModifyDocumentPermissionRequest.Builder |
accountIdsToRemove(Collection<String> accountIdsToRemove)
The Amazon Web Services user accounts that should no longer have access to the document.
|
ModifyDocumentPermissionRequest.Builder |
accountIdsToRemove(String... accountIdsToRemove)
The Amazon Web Services user accounts that should no longer have access to the document.
|
ModifyDocumentPermissionRequest.Builder |
name(String name)
The name of the document that you want to share.
|
ModifyDocumentPermissionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ModifyDocumentPermissionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
ModifyDocumentPermissionRequest.Builder |
permissionType(DocumentPermissionType permissionType)
The permission type for the document.
|
ModifyDocumentPermissionRequest.Builder |
permissionType(String permissionType)
The permission type for the document.
|
ModifyDocumentPermissionRequest.Builder |
sharedDocumentVersion(String sharedDocumentVersion)
(Optional) The version of the document to share.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildModifyDocumentPermissionRequest.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,
DocumentPermissionTypeModifyDocumentPermissionRequest.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,
DocumentPermissionTypeModifyDocumentPermissionRequest.Builder accountIdsToAdd(Collection<String> accountIdsToAdd)
The Amazon Web Services user accounts that should have access to the document. The account IDs can either be a group of account IDs or All.
accountIdsToAdd - The Amazon Web Services 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 Amazon Web Services user accounts that should have access to the document. The account IDs can either be a group of account IDs or All.
accountIdsToAdd - The Amazon Web Services 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 Amazon Web Services user accounts that should no longer have access to the document. The Amazon Web Services 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 Amazon Web Services user accounts that should no longer have access to the document. The Amazon
Web Services 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 Amazon Web Services user accounts that should no longer have access to the document. The Amazon Web Services 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 Amazon Web Services user accounts that should no longer have access to the document. The Amazon
Web Services 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 isn't specified, the system choose the
Default version to share.
sharedDocumentVersion - (Optional) The version of the document to share. If it isn't specified, the system choose the
Default version to share.ModifyDocumentPermissionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderModifyDocumentPermissionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.