Class PrivateConnectionName (0.31.0)

public class PrivateConnectionName implements ResourceName

Inheritance

Object > PrivateConnectionName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String privateConnection)

public static String format(String project, String location, String privateConnection)
Parameters
NameDescription
projectString
locationString
privateConnectionString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String privateConnection)

public static PrivateConnectionName of(String project, String location, String privateConnection)
Parameters
NameDescription
projectString
locationString
privateConnectionString
Returns
TypeDescription
PrivateConnectionName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<PrivateConnectionName> values)

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

Constructors

PrivateConnectionName() (deprecated)

protected PrivateConnectionName()

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

getPrivateConnection()

public String getPrivateConnection()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides