Package com.google.cloud.alloydb.v1
Class ClusterName
- java.lang.Object
-
- com.google.cloud.alloydb.v1.ClusterName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class ClusterName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClusterName.Builder
Builder for projects/{project}/locations/{location}/clusters/{cluster}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
ClusterName()
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 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)
-
-
-
Constructor Detail
-
ClusterName
@Deprecated protected ClusterName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getLocation
public String getLocation()
-
getCluster
public String getCluster()
-
newBuilder
public static ClusterName.Builder newBuilder()
-
toBuilder
public ClusterName.Builder toBuilder()
-
of
public static ClusterName of(String project, String location, String cluster)
-
parse
public static ClusterName parse(String formattedString)
-
parseList
public static List<ClusterName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<ClusterName> 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
-
-