Class EntitlementName (3.25.0)

public class EntitlementName implements ResourceName

Inheritance

Object > EntitlementName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String account, String customer, String entitlement)

public static String format(String account, String customer, String entitlement)
Parameters
NameDescription
accountString
customerString
entitlementString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String account, String customer, String entitlement)

public static EntitlementName of(String account, String customer, String entitlement)
Parameters
NameDescription
accountString
customerString
entitlementString
Returns
TypeDescription
EntitlementName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<EntitlementName> values)

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

Constructors

EntitlementName()

protected EntitlementName()

Methods

equals(Object o)

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

getAccount()

public String getAccount()
Returns
TypeDescription
String

getCustomer()

public String getCustomer()
Returns
TypeDescription
String

getEntitlement()

public String getEntitlement()
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>

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides