Class TenantName (2.13.0)

public class TenantName implements ResourceName

Inheritance

Object > TenantName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String tenant)

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

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String tenant)

public static TenantName of(String project, String tenant)
Parameters
NameDescription
projectString
tenantString
Returns
TypeDescription
TenantName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<TenantName> values)

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

Constructors

TenantName()

protected TenantName()

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>

getProject()

public String getProject()
Returns
TypeDescription
String

getTenant()

public String getTenant()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides