Package com.google.cloud.vmmigration.v1
Class CloneJobName
- java.lang.Object
-
- com.google.cloud.vmmigration.v1.CloneJobName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class CloneJobName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CloneJobName.Builder
Builder for projects/{project}/locations/{location}/sources/{source}/migratingVms/{migrating_vm}/cloneJobs/{clone_job}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
CloneJobName()
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 source, String migratingVm, String cloneJob)
String
getCloneJob()
String
getFieldValue(String fieldName)
Map<String,String>
getFieldValuesMap()
String
getLocation()
String
getMigratingVm()
String
getProject()
String
getSource()
int
hashCode()
static boolean
isParsableFrom(String formattedString)
static CloneJobName.Builder
newBuilder()
static CloneJobName
of(String project, String location, String source, String migratingVm, String cloneJob)
static CloneJobName
parse(String formattedString)
static List<CloneJobName>
parseList(List<String> formattedStrings)
CloneJobName.Builder
toBuilder()
String
toString()
static List<String>
toStringList(List<CloneJobName> values)
-
-
-
Constructor Detail
-
CloneJobName
@Deprecated protected CloneJobName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getLocation
public String getLocation()
-
getSource
public String getSource()
-
getMigratingVm
public String getMigratingVm()
-
getCloneJob
public String getCloneJob()
-
newBuilder
public static CloneJobName.Builder newBuilder()
-
toBuilder
public CloneJobName.Builder toBuilder()
-
of
public static CloneJobName of(String project, String location, String source, String migratingVm, String cloneJob)
-
format
public static String format(String project, String location, String source, String migratingVm, String cloneJob)
-
parse
public static CloneJobName parse(String formattedString)
-
parseList
public static List<CloneJobName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<CloneJobName> 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
-
-