Class RecommendationName (2.33.0)

public class RecommendationName implements ResourceName

Inheritance

Object > RecommendationName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String recommender, String recommendation)

public static String format(String project, String location, String recommender, String recommendation)
Parameters
NameDescription
projectString
locationString
recommenderString
recommendationString
Returns
TypeDescription
String

formatBillingAccountLocationRecommenderRecommendationName(String billingAccount, String location, String recommender, String recommendation)

public static String formatBillingAccountLocationRecommenderRecommendationName(String billingAccount, String location, String recommender, String recommendation)
Parameters
NameDescription
billingAccountString
locationString
recommenderString
recommendationString
Returns
TypeDescription
String

formatFolderLocationRecommenderRecommendationName(String folder, String location, String recommender, String recommendation)

public static String formatFolderLocationRecommenderRecommendationName(String folder, String location, String recommender, String recommendation)
Parameters
NameDescription
folderString
locationString
recommenderString
recommendationString
Returns
TypeDescription
String

formatOrganizationLocationRecommenderRecommendationName(String organization, String location, String recommender, String recommendation)

public static String formatOrganizationLocationRecommenderRecommendationName(String organization, String location, String recommender, String recommendation)
Parameters
NameDescription
organizationString
locationString
recommenderString
recommendationString
Returns
TypeDescription
String

formatProjectLocationRecommenderRecommendationName(String project, String location, String recommender, String recommendation)

public static String formatProjectLocationRecommenderRecommendationName(String project, String location, String recommender, String recommendation)
Parameters
NameDescription
projectString
locationString
recommenderString
recommendationString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBillingAccountLocationRecommenderRecommendationBuilder()

public static RecommendationName.BillingAccountLocationRecommenderRecommendationBuilder newBillingAccountLocationRecommenderRecommendationBuilder()
Returns
TypeDescription
RecommendationName.BillingAccountLocationRecommenderRecommendationBuilder

newBuilder()

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

newFolderLocationRecommenderRecommendationBuilder()

public static RecommendationName.FolderLocationRecommenderRecommendationBuilder newFolderLocationRecommenderRecommendationBuilder()
Returns
TypeDescription
RecommendationName.FolderLocationRecommenderRecommendationBuilder

newOrganizationLocationRecommenderRecommendationBuilder()

public static RecommendationName.OrganizationLocationRecommenderRecommendationBuilder newOrganizationLocationRecommenderRecommendationBuilder()
Returns
TypeDescription
RecommendationName.OrganizationLocationRecommenderRecommendationBuilder

newProjectLocationRecommenderRecommendationBuilder()

public static RecommendationName.Builder newProjectLocationRecommenderRecommendationBuilder()
Returns
TypeDescription
RecommendationName.Builder

of(String project, String location, String recommender, String recommendation)

public static RecommendationName of(String project, String location, String recommender, String recommendation)
Parameters
NameDescription
projectString
locationString
recommenderString
recommendationString
Returns
TypeDescription
RecommendationName

ofBillingAccountLocationRecommenderRecommendationName(String billingAccount, String location, String recommender, String recommendation)

public static RecommendationName ofBillingAccountLocationRecommenderRecommendationName(String billingAccount, String location, String recommender, String recommendation)
Parameters
NameDescription
billingAccountString
locationString
recommenderString
recommendationString
Returns
TypeDescription
RecommendationName

ofFolderLocationRecommenderRecommendationName(String folder, String location, String recommender, String recommendation)

public static RecommendationName ofFolderLocationRecommenderRecommendationName(String folder, String location, String recommender, String recommendation)
Parameters
NameDescription
folderString
locationString
recommenderString
recommendationString
Returns
TypeDescription
RecommendationName

ofOrganizationLocationRecommenderRecommendationName(String organization, String location, String recommender, String recommendation)

public static RecommendationName ofOrganizationLocationRecommenderRecommendationName(String organization, String location, String recommender, String recommendation)
Parameters
NameDescription
organizationString
locationString
recommenderString
recommendationString
Returns
TypeDescription
RecommendationName

ofProjectLocationRecommenderRecommendationName(String project, String location, String recommender, String recommendation)

public static RecommendationName ofProjectLocationRecommenderRecommendationName(String project, String location, String recommender, String recommendation)
Parameters
NameDescription
projectString
locationString
recommenderString
recommendationString
Returns
TypeDescription
RecommendationName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<RecommendationName> values)

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

Constructors

RecommendationName() (deprecated)

protected RecommendationName()

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>

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

getRecommendation()

public String getRecommendation()
Returns
TypeDescription
String

getRecommender()

public String getRecommender()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides