Interface ModifyDocumentPermissionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ModifyDocumentPermissionRequest.Builder,
,ModifyDocumentPermissionRequest> SdkBuilder<ModifyDocumentPermissionRequest.Builder,
,ModifyDocumentPermissionRequest> SdkPojo
,SdkRequest.Builder
,SsmRequest.Builder
- Enclosing class:
ModifyDocumentPermissionRequest
-
Method Summary
Modifier and TypeMethodDescriptionaccountIdsToAdd
(String... accountIdsToAdd) The Amazon Web Services users that should have access to the document.accountIdsToAdd
(Collection<String> accountIdsToAdd) The Amazon Web Services users that should have access to the document.accountIdsToRemove
(String... accountIdsToRemove) The Amazon Web Services users that should no longer have access to the document.accountIdsToRemove
(Collection<String> accountIdsToRemove) The Amazon Web Services users that should no longer have access to the document.The name of the document that you want to share.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.permissionType
(String permissionType) The permission type for the document.permissionType
(DocumentPermissionType permissionType) The permission type for the document.sharedDocumentVersion
(String sharedDocumentVersion) (Optional) The version of the document to share.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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.services.ssm.model.SsmRequest.Builder
build
-
Method Details
-
name
The name of the document that you want to share.
- Parameters:
name
- The name of the document that you want to share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionType
The permission type for the document. The permission type can be Share.
- Parameters:
permissionType
- The permission type for the document. The permission type can be Share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
permissionType
The permission type for the document. The permission type can be Share.
- Parameters:
permissionType
- The permission type for the document. The permission type can be Share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accountIdsToAdd
The Amazon Web Services users that should have access to the document. The account IDs can either be a group of account IDs or All.
- Parameters:
accountIdsToAdd
- The Amazon Web Services users that should have access to the document. The account IDs can either be a group of account IDs or All.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountIdsToAdd
The Amazon Web Services users that should have access to the document. The account IDs can either be a group of account IDs or All.
- Parameters:
accountIdsToAdd
- The Amazon Web Services users that should have access to the document. The account IDs can either be a group of account IDs or All.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountIdsToRemove
The Amazon Web Services users that should no longer have access to the document. The Amazon Web Services user can either be a group of account IDs or All. This action has a higher priority than
AccountIdsToAdd
. If you specify an ID to add and the same ID to remove, the system removes access to the document.- Parameters:
accountIdsToRemove
- The Amazon Web Services users that should no longer have access to the document. The Amazon Web Services user can either be a group of account IDs or All. This action has a higher priority thanAccountIdsToAdd
. If you specify an ID to add and the same ID to remove, the system removes access to the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountIdsToRemove
The Amazon Web Services users that should no longer have access to the document. The Amazon Web Services user can either be a group of account IDs or All. This action has a higher priority than
AccountIdsToAdd
. If you specify an ID to add and the same ID to remove, the system removes access to the document.- Parameters:
accountIdsToRemove
- The Amazon Web Services users that should no longer have access to the document. The Amazon Web Services user can either be a group of account IDs or All. This action has a higher priority thanAccountIdsToAdd
. If you specify an ID to add and the same ID to remove, the system removes access to the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ModifyDocumentPermissionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ModifyDocumentPermissionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-