Class ClusterName (0.11.0)

public class ClusterName implements ResourceName

Inheritance

Object > ClusterName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String cluster)

public static String format(String project, String location, String cluster)
Parameters
NameDescription
projectString
locationString
clusterString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String cluster)

public static ClusterName of(String project, String location, String cluster)
Parameters
NameDescription
projectString
locationString
clusterString
Returns
TypeDescription
ClusterName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ClusterName> values)

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

Constructors

ClusterName() (deprecated)

protected ClusterName()

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>

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides