Class PolicyTagName (1.59.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
Name Description
project String
location String
taxonomy String
policyTag 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 PolicyTagName.Builder newBuilder()
Returns
Type Description
PolicyTagName.Builder

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

public static PolicyTagName of(String project, String location, String taxonomy, String policyTag)
Parameters
Name Description
project String
location String
taxonomy String
policyTag String
Returns
Type Description
PolicyTagName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<PolicyTagName> values)

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

Constructors

PolicyTagName() (deprecated)

protected PolicyTagName()

Methods

equals(Object o)

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

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

getPolicyTag()

public String getPolicyTag()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

getTaxonomy()

public String getTaxonomy()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
Type Description
String
Overrides