Interface UpdateRepositoryEncryptionKeyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodeCommitRequest.Builder
,CopyableBuilder<UpdateRepositoryEncryptionKeyRequest.Builder,
,UpdateRepositoryEncryptionKeyRequest> SdkBuilder<UpdateRepositoryEncryptionKeyRequest.Builder,
,UpdateRepositoryEncryptionKeyRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateRepositoryEncryptionKeyRequest
public static interface UpdateRepositoryEncryptionKeyRequest.Builder
extends CodeCommitRequest.Builder, SdkPojo, CopyableBuilder<UpdateRepositoryEncryptionKeyRequest.Builder,UpdateRepositoryEncryptionKeyRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the encryption key.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.repositoryName
(String repositoryName) The name of the repository for which you want to update the KMS encryption key used to encrypt and decrypt the repository.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.codecommit.model.CodeCommitRequest.Builder
build
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
-
Method Details
-
repositoryName
The name of the repository for which you want to update the KMS encryption key used to encrypt and decrypt the repository.
- Parameters:
repositoryName
- The name of the repository for which you want to update the KMS encryption key used to encrypt and decrypt the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
The ID of the encryption key. You can view the ID of an encryption key in the KMS console, or use the KMS APIs to programmatically retrieve a key ID. For more information about acceptable values for keyID, see KeyId in the Decrypt API description in the Key Management Service API Reference.
- Parameters:
kmsKeyId
- The ID of the encryption key. You can view the ID of an encryption key in the KMS console, or use the KMS APIs to programmatically retrieve a key ID. For more information about acceptable values for keyID, see KeyId in the Decrypt API description in the Key Management Service API Reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateRepositoryEncryptionKeyRequest.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
UpdateRepositoryEncryptionKeyRequest.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.
-