I am trying to construct the below URL:
https://console.aws.amazon.com/elasticmapreduce/home?region=us-east-1#cluster-details:j-1IGU6572KT6LB
I am not sure how to include the :j-1IGU6572KT6LB
. When I include :`, it gets encoded. Trying to see if that can be avoided.
This is what I have:
UriBuilder
.fromPath("console.aws.amazon.com")
.path("elasticmapreduce")
.path("home")
.queryParam("region","us-east-1")
.fragment("cluster-details")
.port(-1)
.scheme("https")