Class QuotaPreferenceName (0.2.0)

public class QuotaPreferenceName implements ResourceName

Inheritance

Object > QuotaPreferenceName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String quotaPreference)

public static String format(String project, String location, String quotaPreference)
Parameters
NameDescription
projectString
locationString
quotaPreferenceString
Returns
TypeDescription
String

formatFolderLocationQuotaPreferenceName(String folder, String location, String quotaPreference)

public static String formatFolderLocationQuotaPreferenceName(String folder, String location, String quotaPreference)
Parameters
NameDescription
folderString
locationString
quotaPreferenceString
Returns
TypeDescription
String

formatOrganizationLocationQuotaPreferenceName(String organization, String location, String quotaPreference)

public static String formatOrganizationLocationQuotaPreferenceName(String organization, String location, String quotaPreference)
Parameters
NameDescription
organizationString
locationString
quotaPreferenceString
Returns
TypeDescription
String

formatProjectLocationQuotaPreferenceName(String project, String location, String quotaPreference)

public static String formatProjectLocationQuotaPreferenceName(String project, String location, String quotaPreference)
Parameters
NameDescription
projectString
locationString
quotaPreferenceString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

newFolderLocationQuotaPreferenceBuilder()

public static QuotaPreferenceName.FolderLocationQuotaPreferenceBuilder newFolderLocationQuotaPreferenceBuilder()
Returns
TypeDescription
QuotaPreferenceName.FolderLocationQuotaPreferenceBuilder

newOrganizationLocationQuotaPreferenceBuilder()

public static QuotaPreferenceName.OrganizationLocationQuotaPreferenceBuilder newOrganizationLocationQuotaPreferenceBuilder()
Returns
TypeDescription
QuotaPreferenceName.OrganizationLocationQuotaPreferenceBuilder

newProjectLocationQuotaPreferenceBuilder()

public static QuotaPreferenceName.Builder newProjectLocationQuotaPreferenceBuilder()
Returns
TypeDescription
QuotaPreferenceName.Builder

of(String project, String location, String quotaPreference)

public static QuotaPreferenceName of(String project, String location, String quotaPreference)
Parameters
NameDescription
projectString
locationString
quotaPreferenceString
Returns
TypeDescription
QuotaPreferenceName

ofFolderLocationQuotaPreferenceName(String folder, String location, String quotaPreference)

public static QuotaPreferenceName ofFolderLocationQuotaPreferenceName(String folder, String location, String quotaPreference)
Parameters
NameDescription
folderString
locationString
quotaPreferenceString
Returns
TypeDescription
QuotaPreferenceName

ofOrganizationLocationQuotaPreferenceName(String organization, String location, String quotaPreference)

public static QuotaPreferenceName ofOrganizationLocationQuotaPreferenceName(String organization, String location, String quotaPreference)
Parameters
NameDescription
organizationString
locationString
quotaPreferenceString
Returns
TypeDescription
QuotaPreferenceName

ofProjectLocationQuotaPreferenceName(String project, String location, String quotaPreference)

public static QuotaPreferenceName ofProjectLocationQuotaPreferenceName(String project, String location, String quotaPreference)
Parameters
NameDescription
projectString
locationString
quotaPreferenceString
Returns
TypeDescription
QuotaPreferenceName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<QuotaPreferenceName> values)

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

Constructors

QuotaPreferenceName() (deprecated)

protected QuotaPreferenceName()

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>

getFolder()

public String getFolder()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getOrganization()

public String getOrganization()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getQuotaPreference()

public String getQuotaPreference()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides