Class MachineName (0.17.0)

public class MachineName implements ResourceName

Inheritance

Object > MachineName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String machine)

public static String format(String project, String location, String machine)
Parameters
NameDescription
projectString
locationString
machineString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String machine)

public static MachineName of(String project, String location, String machine)
Parameters
NameDescription
projectString
locationString
machineString
Returns
TypeDescription
MachineName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<MachineName> values)

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

Constructors

MachineName()

protected MachineName()

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

getMachine()

public String getMachine()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides