Package com.google.cloud.alloydb.v1beta
Class ClusterName
- java.lang.Object
-
- com.google.cloud.alloydb.v1beta.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 classClusterName.BuilderBuilder for projects/{project}/locations/{location}/clusters/{cluster}.
-
Constructor Summary
Constructors Modifier Constructor Description protectedClusterName()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static Stringformat(String project, String location, String cluster)StringgetCluster()StringgetFieldValue(String fieldName)Map<String,String>getFieldValuesMap()StringgetLocation()StringgetProject()inthashCode()static booleanisParsableFrom(String formattedString)static ClusterName.BuildernewBuilder()static ClusterNameof(String project, String location, String cluster)static ClusterNameparse(String formattedString)static List<ClusterName>parseList(List<String> formattedStrings)ClusterName.BuildertoBuilder()StringtoString()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:
getFieldValuesMapin interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValuein interfacecom.google.api.resourcenames.ResourceName
-
-