List of usage examples for com.amazonaws.services.codepipeline.model EncryptionKeyType KMS
EncryptionKeyType KMS
To view the source code for com.amazonaws.services.codepipeline.model EncryptionKeyType KMS.
Click Source Link
From source file:jetbrains.buildServer.codepipeline.CodePipelineBuildListener.java
License:Apache License
@NotNull private static SSEAwsKeyManagementParams getSSEAwsKeyManagementParams(@Nullable EncryptionKey encryptionKey) { return encryptionKey == null || encryptionKey.getId() == null || encryptionKey.getType() == null || !EncryptionKeyType.KMS.toString().equals(encryptionKey.getType()) ? new SSEAwsKeyManagementParams() : new SSEAwsKeyManagementParams(encryptionKey.getId()); }