Code review comment: These code snippets would need a valid `jsonWebKeyToImport`  to work. @g2vinay do we have a good working example for this or should we just keep these in the code files for now?

Code under review:
public void createKey() {
        KeyClient keyClient = createClient();
        
        Key key = keyClient.createKey("keyName", KeyType.EC);
        System.out.printf("Key is created with name %s and id %s %n", key.name(), key.id());
        

        
        KeyCreateOptions keyCreateOptions = new KeyCreateOptions("keyName", KeyType.RSA)
            .notBefore(OffsetDateTime.now().plusDays(1))
            .expires(OffsetDateTime.now().plusYears(1));
        Key optionsKey = keyClient.createKey(keyCreateOptions);
        System.out.printf("Key is created with name %s and id %s \n", optionsKey.name(), optionsKey.id());
        

        
        RsaKeyCreateOptions rsaKeyCreateOptions = new RsaKeyCreateOptions("keyName")
            .keySize(2048)
            .notBefore(OffsetDateTime.now().plusDays(1))
            .expires(OffsetDateTime.now().plusYears(1));
        Key rsaKey = keyClient.createRsaKey(rsaKeyCreateOptions);
        System.out.printf("Key is created with name %s and id %s \n", rsaKey.name(), rsaKey.id());
        

        
        EcKeyCreateOptions ecKeyCreateOptions = new EcKeyCreateOptions("keyName")
            .curve(KeyCurveName.P_384)
            .notBefore(OffsetDateTime.now().plusDays(1))
            .expires(OffsetDateTime.now().plusYears(1));
        Key ecKey = keyClient.createEcKey(ecKeyCreateOptions);
        System.out.printf("Key is created with name %s and id %s \n", ecKey.name(), ecKey.id());
        

        
        
        
        
        
        
        
        

        
        
        
        
        
        
        
        
}


Revised code:
public void createKey() {
        KeyClient keyClient = createClient();
        
        Key key = keyClient.createKey("keyName", KeyType.EC);
        System.out.printf("Key is created with name %s and id %s %n", key.name(), key.id());
        

        
        KeyCreateOptions keyCreateOptions = new KeyCreateOptions("keyName", KeyType.RSA)
            .notBefore(OffsetDateTime.now().plusDays(1))
            .expires(OffsetDateTime.now().plusYears(1));
        Key optionsKey = keyClient.createKey(keyCreateOptions);
        System.out.printf("Key is created with name %s and id %s \n", optionsKey.name(), optionsKey.id());
        

        
        RsaKeyCreateOptions rsaKeyCreateOptions = new RsaKeyCreateOptions("keyName")
            .keySize(2048)
            .notBefore(OffsetDateTime.now().plusDays(1))
            .expires(OffsetDateTime.now().plusYears(1));
        Key rsaKey = keyClient.createRsaKey(rsaKeyCreateOptions);
        System.out.printf("Key is created with name %s and id %s \n", rsaKey.name(), rsaKey.id());
        

        
        EcKeyCreateOptions ecKeyCreateOptions = new EcKeyCreateOptions("keyName")
            .curve(KeyCurveName.P_384)
            .notBefore(OffsetDateTime.now().plusDays(1))
            .expires(OffsetDateTime.now().plusYears(1));
        Key ecKey = keyClient.createEcKey(ecKeyCreateOptions);
        System.out.printf("Key is created with name %s and id %s \n", ecKey.name(), ecKey.id());
        


    }