Package com.google.cloud.dataproc.v1
Class NodeGroupName
- java.lang.Object
-
- com.google.cloud.dataproc.v1.NodeGroupName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class NodeGroupName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NodeGroupName.Builder
Builder for projects/{project}/regions/{region}/clusters/{cluster}/nodeGroups/{node_group}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
NodeGroupName()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static String
format(String project, String region, String cluster, String nodeGroup)
String
getCluster()
String
getFieldValue(String fieldName)
Map<String,String>
getFieldValuesMap()
String
getNodeGroup()
String
getProject()
String
getRegion()
int
hashCode()
static boolean
isParsableFrom(String formattedString)
static NodeGroupName.Builder
newBuilder()
static NodeGroupName
of(String project, String region, String cluster, String nodeGroup)
static NodeGroupName
parse(String formattedString)
static List<NodeGroupName>
parseList(List<String> formattedStrings)
NodeGroupName.Builder
toBuilder()
String
toString()
static List<String>
toStringList(List<NodeGroupName> values)
-
-
-
Constructor Detail
-
NodeGroupName
@Deprecated protected NodeGroupName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getRegion
public String getRegion()
-
getCluster
public String getCluster()
-
getNodeGroup
public String getNodeGroup()
-
newBuilder
public static NodeGroupName.Builder newBuilder()
-
toBuilder
public NodeGroupName.Builder toBuilder()
-
of
public static NodeGroupName of(String project, String region, String cluster, String nodeGroup)
-
format
public static String format(String project, String region, String cluster, String nodeGroup)
-
parse
public static NodeGroupName parse(String formattedString)
-
parseList
public static List<NodeGroupName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<NodeGroupName> values)
-
isParsableFrom
public static boolean isParsableFrom(String formattedString)
-
getFieldValuesMap
public Map<String,String> getFieldValuesMap()
- Specified by:
getFieldValuesMap
in interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValue
in interfacecom.google.api.resourcenames.ResourceName
-
-