Class CustomerName (0.19.0)

public class CustomerName implements ResourceName

Inheritance

Object > CustomerName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String organization, String location, String customer)

public static String format(String organization, String location, String customer)
Parameters
Name Description
organization String
location String
customer 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 CustomerName.Builder newBuilder()
Returns
Type Description
CustomerName.Builder

of(String organization, String location, String customer)

public static CustomerName of(String organization, String location, String customer)
Parameters
Name Description
organization String
location String
customer String
Returns
Type Description
CustomerName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<CustomerName> values)

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

Constructors

CustomerName() (deprecated)

protected CustomerName()

Methods

equals(Object o)

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

getCustomer()

public String getCustomer()
Returns
Type Description
String

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>

getLocation()

public String getLocation()
Returns
Type Description
String

getOrganization()

public String getOrganization()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
Type Description
String
Overrides