Class NodeGroupName (4.32.0)

public class NodeGroupName implements ResourceName

Inheritance

Object > NodeGroupName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String region, String cluster, String nodeGroup)

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

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String region, String cluster, String nodeGroup)

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

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<NodeGroupName> values)

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

Constructors

NodeGroupName() (deprecated)

protected NodeGroupName()

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>

getNodeGroup()

public String getNodeGroup()
Returns
TypeDescription
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 NodeGroupName.Builder toBuilder()
Returns
TypeDescription
NodeGroupName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides