Class VpnConnectionName (0.36.0)

public class VpnConnectionName implements ResourceName

Inheritance

Object > VpnConnectionName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String vpnConnection)

public static String format(String project, String location, String vpnConnection)
Parameters
NameDescription
projectString
locationString
vpnConnectionString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String vpnConnection)

public static VpnConnectionName of(String project, String location, String vpnConnection)
Parameters
NameDescription
projectString
locationString
vpnConnectionString
Returns
TypeDescription
VpnConnectionName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<VpnConnectionName> values)

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

Constructors

VpnConnectionName() (deprecated)

protected VpnConnectionName()

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

getProject()

public String getProject()
Returns
TypeDescription
String

getVpnConnection()

public String getVpnConnection()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides