Class AccessPolicyName (1.31.0)

public class AccessPolicyName implements ResourceName

Inheritance

Object > AccessPolicyName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String accessPolicy)

public static String format(String accessPolicy)
Parameter
NameDescription
accessPolicyString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String accessPolicy)

public static AccessPolicyName of(String accessPolicy)
Parameter
NameDescription
accessPolicyString
Returns
TypeDescription
AccessPolicyName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<AccessPolicyName> values)

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

Constructors

AccessPolicyName()

protected AccessPolicyName()

Methods

equals(Object o)

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

getAccessPolicy()

public String getAccessPolicy()
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 AccessPolicyName.Builder toBuilder()
Returns
TypeDescription
AccessPolicyName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides