public class ComputeCloudObjectName extends Object
/Compute-identityDomainName/user/name.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getName() |
String |
getString()
Returns the three-part string.
|
ComputeCloudUser |
getUser() |
int |
hashCode() |
static ComputeCloudObjectName |
parse(String string)
Parses a three-part string.
|
String |
toString() |
static ComputeCloudObjectName |
valueOf(ComputeCloudUser user,
String name)
Creates an object name from a user and name.
|
public static ComputeCloudObjectName parse(String string)
string - a three-part stringComputeCloudObjectName objectIllegalArgumentException - if the string cannot be parsed.public static ComputeCloudObjectName valueOf(ComputeCloudUser user, String name)
user - the username - the nameComputeCloudObjectName objectIllegalArgumentException - if the name is invalidpublic String getString()
public ComputeCloudUser getUser()
public String getName()
Copyright © 2016–2018. All rights reserved.