Class PolicyName (1.5.1)

public class PolicyName implements ResourceName

Inheritance

Object > PolicyName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String policy)

public static String format(String policy)
Parameter
NameDescription
policyString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String policy)

public static PolicyName of(String policy)
Parameter
NameDescription
policyString
Returns
TypeDescription
PolicyName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<PolicyName> values)

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

Constructors

PolicyName()

protected PolicyName()

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>

getPolicy()

public String getPolicy()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides