Class MigratingVmName (1.2.0)

public class MigratingVmName implements ResourceName

Inheritance

Object > MigratingVmName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

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

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

isParsableFrom(String formattedString)

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

newBuilder()

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

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

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

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<MigratingVmName> values)

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

Constructors

MigratingVmName()

protected MigratingVmName()

Methods

equals(Object o)

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

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 MigratingVmName.Builder toBuilder()
Returns
TypeDescription
MigratingVmName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides