Class PolicyTagName (1.37.0)

public class PolicyTagName implements ResourceName

Inheritance

Object > PolicyTagName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String taxonomy, String policyTag)

public static String format(String project, String location, String taxonomy, String policyTag)
Parameters
NameDescription
projectString
locationString
taxonomyString
policyTagString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String taxonomy, String policyTag)

public static PolicyTagName of(String project, String location, String taxonomy, String policyTag)
Parameters
NameDescription
projectString
locationString
taxonomyString
policyTagString
Returns
TypeDescription
PolicyTagName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<PolicyTagName> values)

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

Constructors

PolicyTagName() (deprecated)

protected PolicyTagName()

Methods

equals(Object o)

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

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

getPolicyTag()

public String getPolicyTag()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getTaxonomy()

public String getTaxonomy()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides