Class ProfileName (2.2.9)

public class ProfileName implements ResourceName

Inheritance

Object > ProfileName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String tenant, String profile)

public static String format(String project, String tenant, String profile)
Parameters
NameDescription
projectString
tenantString
profileString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
boolean

newBuilder()

public static ProfileName.Builder newBuilder()
Returns
TypeDescription
ProfileName.Builder

of(String project, String tenant, String profile)

public static ProfileName of(String project, String tenant, String profile)
Parameters
NameDescription
projectString
tenantString
profileString
Returns
TypeDescription
ProfileName

parse(String formattedString)

public static ProfileName parse(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
ProfileName

parseList(List<String> formattedStrings)

public static List<ProfileName> parseList(List<String> formattedStrings)
Parameter
NameDescription
formattedStringsList<String>
Returns
TypeDescription
List<ProfileName>

toStringList(List<ProfileName> values)

public static List<String> toStringList(List<ProfileName> values)
Parameter
NameDescription
valuesList<ProfileName>
Returns
TypeDescription
List<String>

Constructors

ProfileName()

protected ProfileName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
NameDescription
fieldNameString
Returns
TypeDescription
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
TypeDescription
Map<String,String>

getProfile()

public String getProfile()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getTenant()

public String getTenant()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public ProfileName.Builder toBuilder()
Returns
TypeDescription
ProfileName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides