Class ExternalAccessRuleName (0.43.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
Name Description
project String
location String
networkPolicy String
externalAccessRule 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 ExternalAccessRuleName.Builder newBuilder()
Returns
Type Description
ExternalAccessRuleName.Builder

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

public static ExternalAccessRuleName of(String project, String location, String networkPolicy, String externalAccessRule)
Parameters
Name Description
project String
location String
networkPolicy String
externalAccessRule String
Returns
Type Description
ExternalAccessRuleName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ExternalAccessRuleName> values)

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

Constructors

ExternalAccessRuleName() (deprecated)

protected ExternalAccessRuleName()

Methods

equals(Object o)

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

getExternalAccessRule()

public String getExternalAccessRule()
Returns
Type Description
String

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

getNetworkPolicy()

public String getNetworkPolicy()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
Type Description
String
Overrides