org.jclouds.cloudstack.options
Class UpdateClusterOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.cloudstack.options.UpdateClusterOptions
- All Implemented Interfaces:
- HttpRequestOptions
public class UpdateClusterOptions
- extends BaseHttpRequestOptions
Options for the GlobalHostClient.updateCluster() API call.
- Author:
- Richard Downer
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions |
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString |
NONE
public static final UpdateClusterOptions NONE
UpdateClusterOptions
public UpdateClusterOptions()
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.