org.jclouds.cloudstack.options
Class DeleteHostOptions

java.lang.Object
  extended by org.jclouds.http.options.BaseHttpRequestOptions
      extended by org.jclouds.cloudstack.options.DeleteHostOptions
All Implemented Interfaces:
HttpRequestOptions

public class DeleteHostOptions
extends BaseHttpRequestOptions

Options to the GlobalHostClient.deleteHost() API call

Author:
Richard Downer

Nested Class Summary
static class DeleteHostOptions.Builder
           
 
Field Summary
static DeleteHostOptions NONE
           
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
 
Constructor Summary
DeleteHostOptions()
           
 
Method Summary
 DeleteHostOptions forced(boolean forced)
           
 DeleteHostOptions forceDestroyLocalStorage(boolean forceDestroyLocalStorage)
           
 
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final DeleteHostOptions NONE
Constructor Detail

DeleteHostOptions

public DeleteHostOptions()
Method Detail

forced

public DeleteHostOptions forced(boolean forced)
Parameters:
forced - Force delete the host. All HA enabled vms running on the host will be put to HA; HA disabled ones will be stopped

forceDestroyLocalStorage

public DeleteHostOptions forceDestroyLocalStorage(boolean forceDestroyLocalStorage)
Parameters:
forceDestroyLocalStorage - Force destroy local storage on this host. All VMs created on this local storage will be destroyed


Copyright © 2009-2012 jclouds. All Rights Reserved.