public void setDestinationSSECustomerKey ( SSECustomerKey sseKey ) { if ( sseKey != null && this . sseAwsKeyManagementParams != null ) { throw new IllegalArgumentException ( "Either SSECustomerKey or SSEAwsKeyManagementParams must not be set at the same time." ) ; } this . destinationSSECustomerKey = sseKey ; }
Sets the optional customer - provided server - side encryption key to use to encrypt the destination object being copied .