Class ConnectionProfileName (2.4.0)

public class ConnectionProfileName implements ResourceName

Inheritance

Object > ConnectionProfileName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String connectionProfile)

public static String format(String project, String location, String connectionProfile)
Parameters
NameDescription
projectString
locationString
connectionProfileString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String connectionProfile)

public static ConnectionProfileName of(String project, String location, String connectionProfile)
Parameters
NameDescription
projectString
locationString
connectionProfileString
Returns
TypeDescription
ConnectionProfileName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ConnectionProfileName> values)

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

Constructors

ConnectionProfileName()

protected ConnectionProfileName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getConnectionProfile()

public String getConnectionProfile()
Returns
TypeDescription
String

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

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides