Package 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 GlobalHostApi.updateCluster() API call.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateClusterOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static UpdateClusterOptionsNONE-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description UpdateClusterOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateClusterOptionsallocationState(AllocationState allocationState)UpdateClusterOptionsclusterName(String clusterName)UpdateClusterOptionsclusterType(Host.ClusterType clusterType)UpdateClusterOptionshypervisor(String hypervisor)UpdateClusterOptionsmanagedState(Cluster.ManagedState managedState)-
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
-
-
-
-
Field Detail
-
NONE
public static final UpdateClusterOptions NONE
-
-
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
-
-