Class CloneJobName (1.31.0)

public class CloneJobName implements ResourceName

Inheritance

Object > CloneJobName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String source, String migratingVm, String cloneJob)

public static String format(String project, String location, String source, String migratingVm, String cloneJob)
Parameters
NameDescription
projectString
locationString
sourceString
migratingVmString
cloneJobString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
boolean

newBuilder()

public static CloneJobName.Builder newBuilder()
Returns
TypeDescription
CloneJobName.Builder

of(String project, String location, String source, String migratingVm, String cloneJob)

public static CloneJobName of(String project, String location, String source, String migratingVm, String cloneJob)
Parameters
NameDescription
projectString
locationString
sourceString
migratingVmString
cloneJobString
Returns
TypeDescription
CloneJobName

parse(String formattedString)

public static CloneJobName parse(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
CloneJobName

parseList(List<String> formattedStrings)

public static List<CloneJobName> parseList(List<String> formattedStrings)
Parameter
NameDescription
formattedStringsList<String>
Returns
TypeDescription
List<CloneJobName>

toStringList(List<CloneJobName> values)

public static List<String> toStringList(List<CloneJobName> values)
Parameter
NameDescription
valuesList<CloneJobName>
Returns
TypeDescription
List<String>

Constructors

CloneJobName() (deprecated)

protected CloneJobName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getCloneJob()

public String getCloneJob()
Returns
TypeDescription
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
NameDescription
fieldNameString
Returns
TypeDescription
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
TypeDescription
Map<String,String>

getLocation()

public String getLocation()
Returns
TypeDescription
String

getMigratingVm()

public String getMigratingVm()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getSource()

public String getSource()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public CloneJobName.Builder toBuilder()
Returns
TypeDescription
CloneJobName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides