Class RecommendationName (2.54.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
Name Description
project String
location String
recommender String
recommendation String
Returns
Type Description
String

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

public static String formatBillingAccountLocationRecommenderRecommendationName(String billingAccount, String location, String recommender, String recommendation)
Parameters
Name Description
billingAccount String
location String
recommender String
recommendation String
Returns
Type Description
String

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

public static String formatFolderLocationRecommenderRecommendationName(String folder, String location, String recommender, String recommendation)
Parameters
Name Description
folder String
location String
recommender String
recommendation String
Returns
Type Description
String

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

public static String formatOrganizationLocationRecommenderRecommendationName(String organization, String location, String recommender, String recommendation)
Parameters
Name Description
organization String
location String
recommender String
recommendation String
Returns
Type Description
String

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

public static String formatProjectLocationRecommenderRecommendationName(String project, String location, String recommender, String recommendation)
Parameters
Name Description
project String
location String
recommender String
recommendation String
Returns
Type Description
String

isParsableFrom(String formattedString)

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

newBillingAccountLocationRecommenderRecommendationBuilder()

public static RecommendationName.BillingAccountLocationRecommenderRecommendationBuilder newBillingAccountLocationRecommenderRecommendationBuilder()
Returns
Type Description
RecommendationName.BillingAccountLocationRecommenderRecommendationBuilder

newBuilder()

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

newFolderLocationRecommenderRecommendationBuilder()

public static RecommendationName.FolderLocationRecommenderRecommendationBuilder newFolderLocationRecommenderRecommendationBuilder()
Returns
Type Description
RecommendationName.FolderLocationRecommenderRecommendationBuilder

newOrganizationLocationRecommenderRecommendationBuilder()

public static RecommendationName.OrganizationLocationRecommenderRecommendationBuilder newOrganizationLocationRecommenderRecommendationBuilder()
Returns
Type Description
RecommendationName.OrganizationLocationRecommenderRecommendationBuilder

newProjectLocationRecommenderRecommendationBuilder()

public static RecommendationName.Builder newProjectLocationRecommenderRecommendationBuilder()
Returns
Type Description
RecommendationName.Builder

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

public static RecommendationName of(String project, String location, String recommender, String recommendation)
Parameters
Name Description
project String
location String
recommender String
recommendation String
Returns
Type Description
RecommendationName

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

public static RecommendationName ofBillingAccountLocationRecommenderRecommendationName(String billingAccount, String location, String recommender, String recommendation)
Parameters
Name Description
billingAccount String
location String
recommender String
recommendation String
Returns
Type Description
RecommendationName

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

public static RecommendationName ofFolderLocationRecommenderRecommendationName(String folder, String location, String recommender, String recommendation)
Parameters
Name Description
folder String
location String
recommender String
recommendation String
Returns
Type Description
RecommendationName

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

public static RecommendationName ofOrganizationLocationRecommenderRecommendationName(String organization, String location, String recommender, String recommendation)
Parameters
Name Description
organization String
location String
recommender String
recommendation String
Returns
Type Description
RecommendationName

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

public static RecommendationName ofProjectLocationRecommenderRecommendationName(String project, String location, String recommender, String recommendation)
Parameters
Name Description
project String
location String
recommender String
recommendation String
Returns
Type Description
RecommendationName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<RecommendationName> values)

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

Constructors

RecommendationName() (deprecated)

protected RecommendationName()

Methods

equals(Object o)

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

getBillingAccount()

public String getBillingAccount()
Returns
Type Description
String

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

getRecommendation()

public String getRecommendation()
Returns
Type Description
String

getRecommender()

public String getRecommender()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
Type Description
String
Overrides