List of usage examples for com.amazonaws.services.codepipeline.model EncryptionKey getType
public String getType()
The type of encryption key, such as an AWS Key Management Service (AWS KMS) key.
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()); }