@Sashin Sahasra Presently you can manage the Azure Blob storage lifecycle management through following methods: Azure portal, Azure PowerShell, Azure CLI, REST APIs.
So you could call this REST API to create lifecycle with Java code. You need to get access token, then call the API. See the sample code, note to change the HTTP request
Manage blobs with Java v12 SDK
If you still find any difficulties, please let me know I would like work closer on this issue.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.