Class TenantName (2.44.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
Name Description
project String
tenant String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

public static TenantName.Builder newBuilder()
Returns
Type Description
TenantName.Builder

of(String project, String tenant)

public static TenantName of(String project, String tenant)
Parameters
Name Description
project String
tenant String
Returns
Type Description
TenantName

parse(String formattedString)

public static TenantName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
TenantName

parseList(List<String> formattedStrings)

public static List<TenantName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<TenantName>

toStringList(List<TenantName> values)

public static List<String> toStringList(List<TenantName> values)
Parameter
Name Description
values List<TenantName>
Returns
Type Description
List<String>

Constructors

TenantName() (deprecated)

protected TenantName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
Type Description
Map<String,String>

getProject()

public String getProject()
Returns
Type Description
String

getTenant()

public String getTenant()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public TenantName.Builder toBuilder()
Returns
Type Description
TenantName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides