public class DeleteServerMetadataRequest extends AbstractOpenstackRequest<Void>
Server's metadata.| Constructor and Description |
|---|
DeleteServerMetadataRequest(OSClientFactory clientFactory,
String serverId,
List<String> metadataKeysToDelete)
Constructs a
DeleteServerMetadataRequest. |
| Modifier and Type | Method and Description |
|---|---|
Void |
doRequest(org.openstack4j.api.OSClient api)
Carries out the request and returns the response.
|
call, getApiAccessConfig, getClientFactorypublic DeleteServerMetadataRequest(OSClientFactory clientFactory, String serverId, List<String> metadataKeysToDelete)
DeleteServerMetadataRequest.clientFactory - OpenStack API client factory.serverId - The server whose metadata is to be updated.metadataKeysToDelete - Meta data tags to be removed from the server.public Void doRequest(org.openstack4j.api.OSClient api) throws NotFoundException
AbstractOpenstackRequestdoRequest in class AbstractOpenstackRequest<Void>api - An authenticated OpenStack API client that is instructed to
operate against the configured region.NotFoundExceptionCopyright © 2011–2016 elastisys. All rights reserved.