> + @Path("/health_monitors/{id}") > + @Fallback(FalseOnNotFoundOr404.class) > + boolean deleteHealthMonitor(@PathParam("id") String id); > + > + /** > + * Associate a HealthMonitor to a Pool. > + * > + * @param poolId the id of the Pool to associate. > + * @param healthMonitor the HealthMonitor to associate. > + * @return the newly associated HealthMonitor. > + */ > + @Named("pool:associate_health_monitor") > + @POST > + @Path("/pools/{pool-id}/health_monitors") > + @SelectJson("health_monitor") > + HealthMonitor associateHealthMonitor(@PathParam("pool-id") String poolId,
> how to simplify the method signature (without AssociateBuilder) and generate > a json payload with health_monitor object in the same time: I see. Question: Will using something similar to https://github.com/jclouds/jclouds-labs-openstack/blob/master/openstack-neutron/src/main/java/org/jclouds/openstack/neutron/v2/extensions/RouterApi.java#L153 work? If not, there are ways to either specify the json in the annotations or use a more complex MapBinder. --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-openstack/pull/146/files#r18003448