Class NetworkPolicyName (0.18.0)

public class NetworkPolicyName implements ResourceName

Inheritance

Object > NetworkPolicyName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String networkPolicy)

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

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String networkPolicy)

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

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<NetworkPolicyName> values)

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

Constructors

NetworkPolicyName()

protected NetworkPolicyName()

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>

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 NetworkPolicyName.Builder toBuilder()
Returns
TypeDescription
NetworkPolicyName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides