org.jclouds.cloudstack.options
Class UpdateClusterOptions

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

public class UpdateClusterOptions
extends BaseHttpRequestOptions

Options for the GlobalHostClient.updateCluster() API call.

Author:
Richard Downer

Nested Class Summary
static class UpdateClusterOptions.Builder
           
 
Field Summary
static UpdateClusterOptions NONE
           
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
 
Constructor Summary
UpdateClusterOptions()
           
 
Method Summary
 UpdateClusterOptions allocationState(AllocationState allocationState)
           
 UpdateClusterOptions clusterName(String clusterName)
           
 UpdateClusterOptions clusterType(Host.ClusterType clusterType)
           
 UpdateClusterOptions hypervisor(String hypervisor)
           
 UpdateClusterOptions managedState(Cluster.ManagedState managedState)
           
 
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 UpdateClusterOptions NONE
Constructor Detail

UpdateClusterOptions

public UpdateClusterOptions()
Method Detail

allocationState

public UpdateClusterOptions allocationState(AllocationState allocationState)
Parameters:
allocationState - Allocation state of this cluster for allocation of new resources

clusterName

public UpdateClusterOptions clusterName(String clusterName)
Parameters:
clusterName - the cluster name

clusterType

public UpdateClusterOptions clusterType(Host.ClusterType clusterType)
Parameters:
clusterType - type of the cluster

hypervisor

public UpdateClusterOptions hypervisor(String hypervisor)
Parameters:
hypervisor - hypervisor type of the cluster

managedState

public UpdateClusterOptions managedState(Cluster.ManagedState managedState)
Parameters:
managedState - whether this cluster is managed by cloudstack


Copyright © 2009-2012 jclouds. All Rights Reserved.