Class FirewallPolicyName (3.28.0)

public class FirewallPolicyName implements ResourceName

Inheritance

Object > FirewallPolicyName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String firewallpolicy)

public static String format(String project, String firewallpolicy)
Parameters
NameDescription
projectString
firewallpolicyString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String firewallpolicy)

public static FirewallPolicyName of(String project, String firewallpolicy)
Parameters
NameDescription
projectString
firewallpolicyString
Returns
TypeDescription
FirewallPolicyName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<FirewallPolicyName> values)

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

Constructors

FirewallPolicyName() (deprecated)

protected FirewallPolicyName()

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>

getFirewallpolicy()

public String getFirewallpolicy()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides