Class QuotaPreferenceName (0.17.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
Name Description
project String
location String
quotaPreference String
Returns
Type Description
String

formatFolderLocationQuotaPreferenceName(String folder, String location, String quotaPreference)

public static String formatFolderLocationQuotaPreferenceName(String folder, String location, String quotaPreference)
Parameters
Name Description
folder String
location String
quotaPreference String
Returns
Type Description
String

formatOrganizationLocationQuotaPreferenceName(String organization, String location, String quotaPreference)

public static String formatOrganizationLocationQuotaPreferenceName(String organization, String location, String quotaPreference)
Parameters
Name Description
organization String
location String
quotaPreference String
Returns
Type Description
String

formatProjectLocationQuotaPreferenceName(String project, String location, String quotaPreference)

public static String formatProjectLocationQuotaPreferenceName(String project, String location, String quotaPreference)
Parameters
Name Description
project String
location String
quotaPreference String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

public static QuotaPreferenceName.Builder newBuilder()
Returns
Type Description
QuotaPreferenceName.Builder

newFolderLocationQuotaPreferenceBuilder()

public static QuotaPreferenceName.FolderLocationQuotaPreferenceBuilder newFolderLocationQuotaPreferenceBuilder()
Returns
Type Description
QuotaPreferenceName.FolderLocationQuotaPreferenceBuilder

newOrganizationLocationQuotaPreferenceBuilder()

public static QuotaPreferenceName.OrganizationLocationQuotaPreferenceBuilder newOrganizationLocationQuotaPreferenceBuilder()
Returns
Type Description
QuotaPreferenceName.OrganizationLocationQuotaPreferenceBuilder

newProjectLocationQuotaPreferenceBuilder()

public static QuotaPreferenceName.Builder newProjectLocationQuotaPreferenceBuilder()
Returns
Type Description
QuotaPreferenceName.Builder

of(String project, String location, String quotaPreference)

public static QuotaPreferenceName of(String project, String location, String quotaPreference)
Parameters
Name Description
project String
location String
quotaPreference String
Returns
Type Description
QuotaPreferenceName

ofFolderLocationQuotaPreferenceName(String folder, String location, String quotaPreference)

public static QuotaPreferenceName ofFolderLocationQuotaPreferenceName(String folder, String location, String quotaPreference)
Parameters
Name Description
folder String
location String
quotaPreference String
Returns
Type Description
QuotaPreferenceName

ofOrganizationLocationQuotaPreferenceName(String organization, String location, String quotaPreference)

public static QuotaPreferenceName ofOrganizationLocationQuotaPreferenceName(String organization, String location, String quotaPreference)
Parameters
Name Description
organization String
location String
quotaPreference String
Returns
Type Description
QuotaPreferenceName

ofProjectLocationQuotaPreferenceName(String project, String location, String quotaPreference)

public static QuotaPreferenceName ofProjectLocationQuotaPreferenceName(String project, String location, String quotaPreference)
Parameters
Name Description
project String
location String
quotaPreference String
Returns
Type Description
QuotaPreferenceName

parse(String formattedString)

public static QuotaPreferenceName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
QuotaPreferenceName

parseList(List<String> formattedStrings)

public static List<QuotaPreferenceName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<QuotaPreferenceName>

toStringList(List<QuotaPreferenceName> values)

public static List<String> toStringList(List<QuotaPreferenceName> values)
Parameter
Name Description
values List<QuotaPreferenceName>
Returns
Type Description
List<String>

Constructors

QuotaPreferenceName() (deprecated)

protected QuotaPreferenceName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
Type Description
Map<String,String>

getFolder()

public String getFolder()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getOrganization()

public String getOrganization()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

getQuotaPreference()

public String getQuotaPreference()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public QuotaPreferenceName.Builder toBuilder()
Returns
Type Description
QuotaPreferenceName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides