Class AuthorizationPolicyName (0.4.4)

public class AuthorizationPolicyName implements ResourceName

Inheritance

Object > AuthorizationPolicyName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String authorizationPolicy)

public static String format(String project, String location, String authorizationPolicy)
Parameters
NameDescription
projectString
locationString
authorizationPolicyString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String authorizationPolicy)

public static AuthorizationPolicyName of(String project, String location, String authorizationPolicy)
Parameters
NameDescription
projectString
locationString
authorizationPolicyString
Returns
TypeDescription
AuthorizationPolicyName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<AuthorizationPolicyName> values)

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

Constructors

AuthorizationPolicyName()

protected AuthorizationPolicyName()

Methods

equals(Object o)

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

getAuthorizationPolicy()

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

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides