Class MappingRuleName (2.27.0)

public class MappingRuleName implements ResourceName

Inheritance

Object > MappingRuleName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String conversionWorkspace, String mappingRule)

public static String format(String project, String location, String conversionWorkspace, String mappingRule)
Parameters
NameDescription
projectString
locationString
conversionWorkspaceString
mappingRuleString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String conversionWorkspace, String mappingRule)

public static MappingRuleName of(String project, String location, String conversionWorkspace, String mappingRule)
Parameters
NameDescription
projectString
locationString
conversionWorkspaceString
mappingRuleString
Returns
TypeDescription
MappingRuleName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<MappingRuleName> values)

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

Constructors

MappingRuleName()

protected MappingRuleName()

Methods

equals(Object o)

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

getConversionWorkspace()

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

getMappingRule()

public String getMappingRule()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides