Class ResourceAllowanceName (0.41.0)

public class ResourceAllowanceName implements ResourceName

Inheritance

Object > ResourceAllowanceName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String resourceAllowance)

public static String format(String project, String location, String resourceAllowance)
Parameters
NameDescription
projectString
locationString
resourceAllowanceString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String resourceAllowance)

public static ResourceAllowanceName of(String project, String location, String resourceAllowance)
Parameters
NameDescription
projectString
locationString
resourceAllowanceString
Returns
TypeDescription
ResourceAllowanceName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ResourceAllowanceName> values)

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

Constructors

ResourceAllowanceName() (deprecated)

protected ResourceAllowanceName()

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

getProject()

public String getProject()
Returns
TypeDescription
String

getResourceAllowance()

public String getResourceAllowance()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides