Class CustomerName (0.1.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
NameDescription
organizationString
locationString
customerString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String organization, String location, String customer)

public static CustomerName of(String organization, String location, String customer)
Parameters
NameDescription
organizationString
locationString
customerString
Returns
TypeDescription
CustomerName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<CustomerName> values)

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

Constructors

CustomerName() (deprecated)

protected CustomerName()

Methods

equals(Object o)

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

getCustomer()

public String getCustomer()
Returns
TypeDescription
String

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>

getLocation()

public String getLocation()
Returns
TypeDescription
String

getOrganization()

public String getOrganization()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides