Package org.jclouds.cloudstack.options
Class AddHostOptions.Builder
- java.lang.Object
-
- org.jclouds.cloudstack.options.AddHostOptions.Builder
-
- Enclosing class:
- AddHostOptions
public static class AddHostOptions.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AddHostOptionsallocationState(AllocationState allocationState)static AddHostOptionsclusterId(String clusterId)static AddHostOptionsclusterName(String clusterName)static AddHostOptionshostTags(Set<String> hostTags)static AddHostOptionspodId(String podId)
-
-
-
Method Detail
-
allocationState
public static AddHostOptions allocationState(AllocationState allocationState)
- Parameters:
allocationState- Allocation state of this Host for allocation of new resources
-
clusterId
public static AddHostOptions clusterId(String clusterId)
- Parameters:
clusterId- the cluster ID for the host
-
clusterName
public static AddHostOptions clusterName(String clusterName)
- Parameters:
clusterName- the cluster name for the host
-
hostTags
public static AddHostOptions hostTags(Set<String> hostTags)
- Parameters:
hostTags- list of tags to be added to the host
-
podId
public static AddHostOptions podId(String podId)
- Parameters:
podId- the Pod ID for the host
-
-