@Generated(value="by gapic-generator-java") public class ClusterName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
ClusterName.Builder
Builder for projects/{project}/locations/{location}/clusters/{cluster}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ClusterName()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String location,
String cluster) |
String |
getCluster() |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getLocation() |
String |
getProject() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static ClusterName.Builder |
newBuilder() |
static ClusterName |
of(String project,
String location,
String cluster) |
static ClusterName |
parse(String formattedString) |
static List<ClusterName> |
parseList(List<String> formattedStrings) |
ClusterName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<ClusterName> values) |
@Deprecated protected ClusterName()
public String getProject()
public String getLocation()
public String getCluster()
public static ClusterName.Builder newBuilder()
public ClusterName.Builder toBuilder()
public static ClusterName of(String project, String location, String cluster)
public static ClusterName parse(String formattedString)
public static List<ClusterName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<ClusterName> values)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap in interface com.google.api.resourcenames.ResourceNamepublic String getFieldValue(String fieldName)
getFieldValue in interface com.google.api.resourcenames.ResourceNameCopyright © 2024 Google LLC. All rights reserved.