public static SSECustomerKey generateSSECustomerKeyForPresignUrl ( String algorithm ) { if ( algorithm == null ) throw new IllegalArgumentException ( ) ; return new SSECustomerKey ( ) . withAlgorithm ( algorithm ) ; }
Constructs a new SSECustomerKey that can be used for generating the presigned URL s .