Interface EncryptionConfigurationForRepositoryCreationTemplate.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EncryptionConfigurationForRepositoryCreationTemplate.Builder,EncryptionConfigurationForRepositoryCreationTemplate>,SdkBuilder<EncryptionConfigurationForRepositoryCreationTemplate.Builder,EncryptionConfigurationForRepositoryCreationTemplate>,SdkPojo
- Enclosing class:
- EncryptionConfigurationForRepositoryCreationTemplate
public static interface EncryptionConfigurationForRepositoryCreationTemplate.Builder extends SdkPojo, CopyableBuilder<EncryptionConfigurationForRepositoryCreationTemplate.Builder,EncryptionConfigurationForRepositoryCreationTemplate>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EncryptionConfigurationForRepositoryCreationTemplate.BuilderencryptionType(String encryptionType)The encryption type to use.EncryptionConfigurationForRepositoryCreationTemplate.BuilderencryptionType(EncryptionType encryptionType)The encryption type to use.EncryptionConfigurationForRepositoryCreationTemplate.BuilderkmsKey(String kmsKey)If you use theKMSencryption type, specify the KMS key to use for encryption.-
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
-
-
-
-
Method Detail
-
encryptionType
EncryptionConfigurationForRepositoryCreationTemplate.Builder encryptionType(String encryptionType)
The encryption type to use.
If you use the
KMSencryption type, the contents of the repository will be encrypted using server-side encryption with Key Management Service key stored in KMS. When you use KMS to encrypt your data, you can either use the default Amazon Web Services managed KMS key for Amazon ECR, or specify your own KMS key, which you already created. For more information, see Protecting data using server-side encryption with an KMS key stored in Key Management Service (SSE-KMS) in the Amazon Simple Storage Service Console Developer Guide.If you use the
AES256encryption type, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts the images in the repository using an AES256 encryption algorithm. For more information, see Protecting data using server-side encryption with Amazon S3-managed encryption keys (SSE-S3) in the Amazon Simple Storage Service Console Developer Guide.- Parameters:
encryptionType- The encryption type to use.If you use the
KMSencryption type, the contents of the repository will be encrypted using server-side encryption with Key Management Service key stored in KMS. When you use KMS to encrypt your data, you can either use the default Amazon Web Services managed KMS key for Amazon ECR, or specify your own KMS key, which you already created. For more information, see Protecting data using server-side encryption with an KMS key stored in Key Management Service (SSE-KMS) in the Amazon Simple Storage Service Console Developer Guide.If you use the
AES256encryption type, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts the images in the repository using an AES256 encryption algorithm. For more information, see Protecting data using server-side encryption with Amazon S3-managed encryption keys (SSE-S3) in the Amazon Simple Storage Service Console Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EncryptionType,EncryptionType
-
encryptionType
EncryptionConfigurationForRepositoryCreationTemplate.Builder encryptionType(EncryptionType encryptionType)
The encryption type to use.
If you use the
KMSencryption type, the contents of the repository will be encrypted using server-side encryption with Key Management Service key stored in KMS. When you use KMS to encrypt your data, you can either use the default Amazon Web Services managed KMS key for Amazon ECR, or specify your own KMS key, which you already created. For more information, see Protecting data using server-side encryption with an KMS key stored in Key Management Service (SSE-KMS) in the Amazon Simple Storage Service Console Developer Guide.If you use the
AES256encryption type, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts the images in the repository using an AES256 encryption algorithm. For more information, see Protecting data using server-side encryption with Amazon S3-managed encryption keys (SSE-S3) in the Amazon Simple Storage Service Console Developer Guide.- Parameters:
encryptionType- The encryption type to use.If you use the
KMSencryption type, the contents of the repository will be encrypted using server-side encryption with Key Management Service key stored in KMS. When you use KMS to encrypt your data, you can either use the default Amazon Web Services managed KMS key for Amazon ECR, or specify your own KMS key, which you already created. For more information, see Protecting data using server-side encryption with an KMS key stored in Key Management Service (SSE-KMS) in the Amazon Simple Storage Service Console Developer Guide.If you use the
AES256encryption type, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts the images in the repository using an AES256 encryption algorithm. For more information, see Protecting data using server-side encryption with Amazon S3-managed encryption keys (SSE-S3) in the Amazon Simple Storage Service Console Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EncryptionType,EncryptionType
-
kmsKey
EncryptionConfigurationForRepositoryCreationTemplate.Builder kmsKey(String kmsKey)
If you use the
KMSencryption type, specify the KMS key to use for encryption. The full ARN of the KMS key must be specified. The key must exist in the same Region as the repository. If no key is specified, the default Amazon Web Services managed KMS key for Amazon ECR will be used.- Parameters:
kmsKey- If you use theKMSencryption type, specify the KMS key to use for encryption. The full ARN of the KMS key must be specified. The key must exist in the same Region as the repository. If no key is specified, the default Amazon Web Services managed KMS key for Amazon ECR will be used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-