Class BillingAccountName (2.37.0)

public class BillingAccountName implements ResourceName

Inheritance

Object > BillingAccountName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String billingAccount)

public static String format(String billingAccount)
Parameter
NameDescription
billingAccountString
Returns
TypeDescription
String

formatBillingAccountName(String billingAccount)

public static String formatBillingAccountName(String billingAccount)
Parameter
NameDescription
billingAccountString
Returns
TypeDescription
String

formatOrganizationBillingAccountName(String organization, String billingAccount)

public static String formatOrganizationBillingAccountName(String organization, String billingAccount)
Parameters
NameDescription
organizationString
billingAccountString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBillingAccountBuilder()

public static BillingAccountName.Builder newBillingAccountBuilder()
Returns
TypeDescription
BillingAccountName.Builder

newBuilder()

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

newOrganizationBillingAccountBuilder()

public static BillingAccountName.OrganizationBillingAccountBuilder newOrganizationBillingAccountBuilder()
Returns
TypeDescription
BillingAccountName.OrganizationBillingAccountBuilder

of(String billingAccount)

public static BillingAccountName of(String billingAccount)
Parameter
NameDescription
billingAccountString
Returns
TypeDescription
BillingAccountName

ofBillingAccountName(String billingAccount)

public static BillingAccountName ofBillingAccountName(String billingAccount)
Parameter
NameDescription
billingAccountString
Returns
TypeDescription
BillingAccountName

ofOrganizationBillingAccountName(String organization, String billingAccount)

public static BillingAccountName ofOrganizationBillingAccountName(String organization, String billingAccount)
Parameters
NameDescription
organizationString
billingAccountString
Returns
TypeDescription
BillingAccountName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<BillingAccountName> values)

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

Constructors

BillingAccountName() (deprecated)

protected BillingAccountName()

Methods

equals(Object o)

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

getBillingAccount()

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

getOrganization()

public String getOrganization()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides