public class ClusterAdmin
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ClusterAdmin.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
ClusterAdmin() |
ClusterAdmin(java.lang.String authMethod,
java.lang.String[] access,
java.lang.Long clusterAdminID,
java.lang.String username,
Optional<Attributes> attributes) |
Modifier and Type | Method and Description |
---|---|
ClusterAdmin.Builder |
asBuilder() |
static ClusterAdmin.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.String[] |
getAccess()
Controls which methods this cluster admin can use.
|
Optional<Attributes> |
getAttributes()
List of Name/Value pairs in JSON object format.
|
java.lang.String |
getAuthMethod()
Method in which the cluster admin can be authenticated.
|
java.lang.Long |
getClusterAdminID()
Unique identifier for the cluster admin
|
java.lang.String |
getUsername()
Username, LDAP DN, or SAML Attribute for the cluster admin.
|
int |
hashCode() |
void |
setAccess(java.lang.String[] access) |
void |
setAttributes(Optional<Attributes> attributes) |
void |
setAuthMethod(java.lang.String authMethod) |
void |
setClusterAdminID(java.lang.Long clusterAdminID) |
void |
setUsername(java.lang.String username) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public ClusterAdmin(java.lang.String authMethod, java.lang.String[] access, java.lang.Long clusterAdminID, java.lang.String username, Optional<Attributes> attributes)
public java.lang.String getAuthMethod()
public void setAuthMethod(java.lang.String authMethod)
public java.lang.String[] getAccess()
public void setAccess(java.lang.String[] access)
public java.lang.Long getClusterAdminID()
public void setClusterAdminID(java.lang.Long clusterAdminID)
public java.lang.String getUsername()
public void setUsername(java.lang.String username)
public Optional<Attributes> getAttributes()
public void setAttributes(Optional<Attributes> attributes)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public java.lang.String toString()
toString
in class java.lang.Object
public static ClusterAdmin.Builder builder()
public final ClusterAdmin.Builder asBuilder()