public final class ComputeCloudUser extends Object
/Compute-identityDomainName/user. The
special user /oracle/public is also accepted.| Modifier and Type | Field and Description |
|---|---|
static ComputeCloudUser |
ORACLE_PUBLIC |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getFullIdentityDomainName()
The full identity domain name in the form
Compute-acme for normal
accounts, or oracle for #ORACLE_PUBLIC. |
String |
getIdentityDomainName()
The short identity domain name, or null for
ORACLE_PUBLIC. |
String |
getString()
The full user string in the form
/Compute-identityDomainName/user. |
String |
getUsername() |
int |
hashCode() |
static ComputeCloudUser |
parse(String user)
Parse a two-part string.
|
String |
toString() |
static ComputeCloudUser |
valueOf(String identityDomainName,
String username)
Creates a user from an identity domain name and a user name.
|
public static final ComputeCloudUser ORACLE_PUBLIC
public static ComputeCloudUser parse(String user)
user - a string representing a userComputeCloudUser objectIllegalArgumentException - if the string cannot be parsed.public static ComputeCloudUser valueOf(String identityDomainName, String username)
identityDomainName - identity domain nameusername - user nameComputeCloudUser object createdIllegalArgumentException - if the identity domain name or user name
is invalidpublic String getString()
/Compute-identityDomainName/user.public String getFullIdentityDomainName()
Compute-acme for normal
accounts, or oracle for #ORACLE_PUBLIC.public String getIdentityDomainName()
ORACLE_PUBLIC.
For Compute-acme, this method returns acme.ORACLE_PUBLICpublic String getUsername()
Copyright © 2016–2018. All rights reserved.