|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vmware.vcloud.sdk.VcloudResource<T>
com.vmware.vcloud.sdk.VcloudEntity<com.vmware.vcloud.api.rest.schema.RoleType>
com.vmware.vcloud.sdk.admin.Role
public class Role
Helper class for the Role Resource in vCloud Admin API.
RoleType| Method Summary | |
|---|---|
void |
delete()
Delete Role |
static void |
delete(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType roleRef)
Delete Role |
static Role |
getRoleById(VcloudClient client,
String vCloudId)
Get Role helper using the vCloud ID |
static Role |
getRoleByReference(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType roleRef)
Returns the Role by ReferenceType |
Role |
updateRole(com.vmware.vcloud.api.rest.schema.RoleType roleType)
Updating the Role |
| Methods inherited from class com.vmware.vcloud.sdk.VcloudEntity |
|---|
getMetadata, getReference, getTasks |
| Methods inherited from class com.vmware.vcloud.sdk.VcloudResource |
|---|
getResource |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Role getRoleByReference(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType roleRef)
throws VCloudException
client - VcloudClientroleRef - ReferenceType
Role
VCloudException
public static Role getRoleById(VcloudClient client,
String vCloudId)
throws VCloudException
client - VcloudClientvCloudId - format - The vCloud ID is of the form: "urn:vcloud:type:uuid". For example:
"urn:vcloud:media:d9d976ba-e0ec-4682-a67d-380af49b54e1". String
Role
VCloudException
public Role updateRole(com.vmware.vcloud.api.rest.schema.RoleType roleType)
throws VCloudException
roleType - RoleType
Role
VCloudException
public void delete()
throws VCloudException
VCloudException
public static void delete(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType roleRef)
throws VCloudException
client - vCloud Client VcloudClientroleRef - Role Ref
VCloudException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||