public static interface ModifyDocumentPermissionRequest.Builder extends SsmRequest.Builder, CopyableBuilder<ModifyDocumentPermissionRequest.Builder,ModifyDocumentPermissionRequest>
Modifier and Type | Method and Description |
---|---|
ModifyDocumentPermissionRequest.Builder |
accountIdsToAdd(Collection<String> accountIdsToAdd)
The AWS user accounts that should have access to the document.
|
ModifyDocumentPermissionRequest.Builder |
accountIdsToAdd(String... accountIdsToAdd)
The AWS user accounts that should have access to the document.
|
ModifyDocumentPermissionRequest.Builder |
accountIdsToRemove(Collection<String> accountIdsToRemove)
The AWS user accounts that should no longer have access to the document.
|
ModifyDocumentPermissionRequest.Builder |
accountIdsToRemove(String... accountIdsToRemove)
The AWS 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)
Add an optional request override configuration.
|
ModifyDocumentPermissionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
ModifyDocumentPermissionRequest.Builder |
permissionType(DocumentPermissionType permissionType)
The permission type for the document.
|
ModifyDocumentPermissionRequest.Builder |
permissionType(String permissionType)
The permission type for the document.
|
build
overrideConfiguration
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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ModifyDocumentPermissionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.