Class CapacityCommitmentName (2.3.1)

public class CapacityCommitmentName implements ResourceName

Inheritance

Object > CapacityCommitmentName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String capacityCommitment)

public static String format(String project, String location, String capacityCommitment)
Parameters
NameDescription
projectString
locationString
capacityCommitmentString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String capacityCommitment)

public static CapacityCommitmentName of(String project, String location, String capacityCommitment)
Parameters
NameDescription
projectString
locationString
capacityCommitmentString
Returns
TypeDescription
CapacityCommitmentName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<CapacityCommitmentName> values)

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

Constructors

CapacityCommitmentName()

protected CapacityCommitmentName()

Methods

equals(Object o)

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

getCapacityCommitment()

public String getCapacityCommitment()
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

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides