Package com.google.cloud.vmwareengine.v1
Class SubnetName
- java.lang.Object
-
- com.google.cloud.vmwareengine.v1.SubnetName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class SubnetName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SubnetName.Builder
Builder for projects/{project}/locations/{location}/privateClouds/{private_cloud}/subnets/{subnet}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
SubnetName()
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 privateCloud, String subnet)
String
getFieldValue(String fieldName)
Map<String,String>
getFieldValuesMap()
String
getLocation()
String
getPrivateCloud()
String
getProject()
String
getSubnet()
int
hashCode()
static boolean
isParsableFrom(String formattedString)
static SubnetName.Builder
newBuilder()
static SubnetName
of(String project, String location, String privateCloud, String subnet)
static SubnetName
parse(String formattedString)
static List<SubnetName>
parseList(List<String> formattedStrings)
SubnetName.Builder
toBuilder()
String
toString()
static List<String>
toStringList(List<SubnetName> values)
-
-
-
Constructor Detail
-
SubnetName
@Deprecated protected SubnetName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getLocation
public String getLocation()
-
getPrivateCloud
public String getPrivateCloud()
-
getSubnet
public String getSubnet()
-
newBuilder
public static SubnetName.Builder newBuilder()
-
toBuilder
public SubnetName.Builder toBuilder()
-
of
public static SubnetName of(String project, String location, String privateCloud, String subnet)
-
format
public static String format(String project, String location, String privateCloud, String subnet)
-
parse
public static SubnetName parse(String formattedString)
-
parseList
public static List<SubnetName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<SubnetName> 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
-
-