Class ExternalAccessRuleName (0.29.0)

public class ExternalAccessRuleName implements ResourceName

Inheritance

Object > ExternalAccessRuleName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String networkPolicy, String externalAccessRule)

public static String format(String project, String location, String networkPolicy, String externalAccessRule)
Parameters
NameDescription
projectString
locationString
networkPolicyString
externalAccessRuleString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String networkPolicy, String externalAccessRule)

public static ExternalAccessRuleName of(String project, String location, String networkPolicy, String externalAccessRule)
Parameters
NameDescription
projectString
locationString
networkPolicyString
externalAccessRuleString
Returns
TypeDescription
ExternalAccessRuleName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ExternalAccessRuleName> values)

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

Constructors

ExternalAccessRuleName() (deprecated)

protected ExternalAccessRuleName()

Methods

equals(Object o)

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

getExternalAccessRule()

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

getNetworkPolicy()

public String getNetworkPolicy()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides