Class DatacenterConnectorName (1.33.0)

public class DatacenterConnectorName implements ResourceName

Inheritance

Object > DatacenterConnectorName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String source, String datacenterConnector)

public static String format(String project, String location, String source, String datacenterConnector)
Parameters
NameDescription
projectString
locationString
sourceString
datacenterConnectorString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String source, String datacenterConnector)

public static DatacenterConnectorName of(String project, String location, String source, String datacenterConnector)
Parameters
NameDescription
projectString
locationString
sourceString
datacenterConnectorString
Returns
TypeDescription
DatacenterConnectorName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<DatacenterConnectorName> values)

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

Constructors

DatacenterConnectorName() (deprecated)

protected DatacenterConnectorName()

Methods

equals(Object o)

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

getDatacenterConnector()

public String getDatacenterConnector()
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

getSource()

public String getSource()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides