Class LunName (0.3.2)

public class LunName implements ResourceName

Inheritance

Object > LunName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String volume, String lun)

public static String format(String project, String location, String volume, String lun)
Parameters
NameDescription
projectString
locationString
volumeString
lunString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String volume, String lun)

public static LunName of(String project, String location, String volume, String lun)
Parameters
NameDescription
projectString
locationString
volumeString
lunString
Returns
TypeDescription
LunName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<LunName> values)

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

Constructors

LunName()

protected LunName()

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

getLun()

public String getLun()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getVolume()

public String getVolume()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides