Class NodeGroupName (4.41.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
Name Description
project String
region String
cluster String
nodeGroup String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

public static NodeGroupName.Builder newBuilder()
Returns
Type Description
NodeGroupName.Builder

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

public static NodeGroupName of(String project, String region, String cluster, String nodeGroup)
Parameters
Name Description
project String
region String
cluster String
nodeGroup String
Returns
Type Description
NodeGroupName

parse(String formattedString)

public static NodeGroupName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
NodeGroupName

parseList(List<String> formattedStrings)

public static List<NodeGroupName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<NodeGroupName>

toStringList(List<NodeGroupName> values)

public static List<String> toStringList(List<NodeGroupName> values)
Parameter
Name Description
values List<NodeGroupName>
Returns
Type Description
List<String>

Constructors

NodeGroupName() (deprecated)

protected NodeGroupName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getCluster()

public String getCluster()
Returns
Type Description
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
Type Description
Map<String,String>

getNodeGroup()

public String getNodeGroup()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

getRegion()

public String getRegion()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public NodeGroupName.Builder toBuilder()
Returns
Type Description
NodeGroupName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides