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 AddHostOptions
allocationState(AllocationState allocationState)
static AddHostOptions
clusterId(String clusterId)
static AddHostOptions
clusterName(String clusterName)
static AddHostOptions
hostTags(Set<String> hostTags)
static AddHostOptions
podId(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
-
-