Class ClusterRegionName (4.18.0)

public class ClusterRegionName implements ResourceName

Inheritance

Object > ClusterRegionName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String region, String cluster)

public static String format(String project, String region, String cluster)
Parameters
NameDescription
projectString
regionString
clusterString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String region, String cluster)

public static ClusterRegionName of(String project, String region, String cluster)
Parameters
NameDescription
projectString
regionString
clusterString
Returns
TypeDescription
ClusterRegionName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ClusterRegionName> values)

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

Constructors

ClusterRegionName()

protected ClusterRegionName()

Methods

equals(Object o)

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

getCluster()

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

getProject()

public String getProject()
Returns
TypeDescription
String

getRegion()

public String getRegion()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides