public static class AddClusterOptions.Builder extends Object
Constructor and Description |
---|
AddClusterOptions.Builder() |
Modifier and Type | Method and Description |
---|---|
static AddClusterOptions |
allocationState(AllocationState allocationState) |
static AddClusterOptions |
password(String password) |
static AddClusterOptions |
podId(String podId) |
static AddClusterOptions |
url(String url) |
static AddClusterOptions |
username(String username) |
public static AddClusterOptions allocationState(AllocationState allocationState)
allocationState
- Allocation state of this Host for allocation of new resourcespublic static AddClusterOptions password(String password)
password
- the password for the hostpublic static AddClusterOptions podId(String podId)
podId
- the Pod ID for the hostpublic static AddClusterOptions url(String url)
url
- the URLpublic static AddClusterOptions username(String username)
username
- the username for the clusterCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.