Interface ModifyDocumentPermissionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ModifyDocumentPermissionRequest.Builder,ModifyDocumentPermissionRequest>,SdkBuilder<ModifyDocumentPermissionRequest.Builder,ModifyDocumentPermissionRequest>,SdkPojo,SdkRequest.Builder,SsmRequest.Builder
- Enclosing class:
- ModifyDocumentPermissionRequest
@Mutable @NotThreadSafe public static interface ModifyDocumentPermissionRequest.Builder extends SsmRequest.Builder, SdkPojo, CopyableBuilder<ModifyDocumentPermissionRequest.Builder,ModifyDocumentPermissionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModifyDocumentPermissionRequest.BuilderaccountIdsToAdd(String... accountIdsToAdd)The Amazon Web Services users that should have access to the document.ModifyDocumentPermissionRequest.BuilderaccountIdsToAdd(Collection<String> accountIdsToAdd)The Amazon Web Services users that should have access to the document.ModifyDocumentPermissionRequest.BuilderaccountIdsToRemove(String... accountIdsToRemove)The Amazon Web Services users that should no longer have access to the document.ModifyDocumentPermissionRequest.BuilderaccountIdsToRemove(Collection<String> accountIdsToRemove)The Amazon Web Services users that should no longer have access to the document.ModifyDocumentPermissionRequest.Buildername(String name)The name of the document that you want to share.ModifyDocumentPermissionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ModifyDocumentPermissionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ModifyDocumentPermissionRequest.BuilderpermissionType(String permissionType)The permission type for the document.ModifyDocumentPermissionRequest.BuilderpermissionType(DocumentPermissionType permissionType)The permission type for the document.ModifyDocumentPermissionRequest.BuildersharedDocumentVersion(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmRequest.Builder
build
-
-
-
-
Method Detail
-
name
ModifyDocumentPermissionRequest.Builder name(String 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
ModifyDocumentPermissionRequest.Builder permissionType(String 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:
DocumentPermissionType,DocumentPermissionType
-
permissionType
ModifyDocumentPermissionRequest.Builder permissionType(DocumentPermissionType 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:
DocumentPermissionType,DocumentPermissionType
-
accountIdsToAdd
ModifyDocumentPermissionRequest.Builder accountIdsToAdd(Collection<String> 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. You must specify a value for this parameter or the
AccountIdsToRemoveparameter.- 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. You must specify a value for this parameter or theAccountIdsToRemoveparameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountIdsToAdd
ModifyDocumentPermissionRequest.Builder accountIdsToAdd(String... 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. You must specify a value for this parameter or the
AccountIdsToRemoveparameter.- 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. You must specify a value for this parameter or theAccountIdsToRemoveparameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountIdsToRemove
ModifyDocumentPermissionRequest.Builder accountIdsToRemove(Collection<String> 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. You must specify a value for this parameter or theAccountIdsToAddparameter.- 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. You must specify a value for this parameter or theAccountIdsToAddparameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountIdsToRemove
ModifyDocumentPermissionRequest.Builder accountIdsToRemove(String... 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. You must specify a value for this parameter or theAccountIdsToAddparameter.- 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. You must specify a value for this parameter or theAccountIdsToAddparameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sharedDocumentVersion
ModifyDocumentPermissionRequest.Builder sharedDocumentVersion(String sharedDocumentVersion)
(Optional) The version of the document to share. If it isn't specified, the system choose the
Defaultversion to share.- Parameters:
sharedDocumentVersion- (Optional) The version of the document to share. If it isn't specified, the system choose theDefaultversion to share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ModifyDocumentPermissionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ModifyDocumentPermissionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-