public class Role extends Object implements Comparable<Role>
Modifier and Type | Class and Description |
---|---|
static class |
Role.Builder |
Modifier and Type | Field and Description |
---|---|
protected String |
id |
protected String |
name |
protected String |
serviceId |
protected String |
tenantId |
protected String |
tenantName
Deprecated.
|
Modifier | Constructor and Description |
---|---|
protected |
Role(String id,
String name,
String serviceId,
String tenantId) |
Modifier and Type | Method and Description |
---|---|
static Role.Builder |
builder() |
int |
compareTo(Role that) |
boolean |
equals(Object object) |
String |
getId()
When providing an ID, it is assumed that the role exists in the current OpenStack deployment
|
String |
getName() |
String |
getServiceId() |
String |
getTenantId() |
int |
hashCode() |
Role.Builder |
toBuilder() |
String |
toString() |
protected final String id
protected final String name
protected final String serviceId
@Deprecated protected String tenantName
protected final String tenantId
public static Role.Builder builder()
public Role.Builder toBuilder()
public String getId()
public String getName()
@Nullable public String getServiceId()
@Nullable public String getTenantId()
public int compareTo(Role that)
compareTo
in interface Comparable<Role>
Copyright © 2009-2012 jclouds. All Rights Reserved.