public class RecommendationName implements ResourceName
Inheritance
Object >
RecommendationName
Implements
com.google.api.resourcenames.ResourceName
Static Methods
public static String format(String project, String location, String recommender, String recommendation)
public static String formatBillingAccountLocationRecommenderRecommendationName(String billingAccount, String location, String recommender, String recommendation)
Beta
The static format methods are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
public static String formatFolderLocationRecommenderRecommendationName(String folder, String location, String recommender, String recommendation)
Beta
The static format methods are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
public static String formatOrganizationLocationRecommenderRecommendationName(String organization, String location, String recommender, String recommendation)
Beta
The static format methods are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
public static String formatProjectLocationRecommenderRecommendationName(String project, String location, String recommender, String recommendation)
Beta
The static format methods are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
isParsableFrom(String formattedString)
public static boolean isParsableFrom(String formattedString)
Parameter Name Description formattedString
String
newBillingAccountLocationRecommenderRecommendationBuilder()
public static RecommendationName.BillingAccountLocationRecommenderRecommendationBuilder newBillingAccountLocationRecommenderRecommendationBuilder()
Beta
The per-pattern Builders are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
newBuilder()
public static RecommendationName.Builder newBuilder()
newFolderLocationRecommenderRecommendationBuilder()
public static RecommendationName.FolderLocationRecommenderRecommendationBuilder newFolderLocationRecommenderRecommendationBuilder()
Beta
The per-pattern Builders are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
newOrganizationLocationRecommenderRecommendationBuilder()
public static RecommendationName.OrganizationLocationRecommenderRecommendationBuilder newOrganizationLocationRecommenderRecommendationBuilder()
Beta
The per-pattern Builders are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
newProjectLocationRecommenderRecommendationBuilder()
public static RecommendationName.Builder newProjectLocationRecommenderRecommendationBuilder()
Beta
The per-pattern Builders are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
of(String project, String location, String recommender, String recommendation)
public static RecommendationName of(String project, String location, String recommender, String recommendation)
ofBillingAccountLocationRecommenderRecommendationName(String billingAccount, String location, String recommender, String recommendation)
public static RecommendationName ofBillingAccountLocationRecommenderRecommendationName(String billingAccount, String location, String recommender, String recommendation)
Beta
The static create methods are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
ofFolderLocationRecommenderRecommendationName(String folder, String location, String recommender, String recommendation)
public static RecommendationName ofFolderLocationRecommenderRecommendationName(String folder, String location, String recommender, String recommendation)
Beta
The static create methods are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
ofOrganizationLocationRecommenderRecommendationName(String organization, String location, String recommender, String recommendation)
public static RecommendationName ofOrganizationLocationRecommenderRecommendationName(String organization, String location, String recommender, String recommendation)
Beta
The static create methods are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
ofProjectLocationRecommenderRecommendationName(String project, String location, String recommender, String recommendation)
public static RecommendationName ofProjectLocationRecommenderRecommendationName(String project, String location, String recommender, String recommendation)
Beta
The static create methods are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
parse(String formattedString)
public static RecommendationName parse(String formattedString)
Parameter Name Description formattedString
String
parseList(List<String> formattedStrings)
public static List<RecommendationName> parseList(List<String> formattedStrings)
Parameter Name Description formattedStrings
List <String >
toStringList(List<RecommendationName> values)
public static List<String> toStringList(List<RecommendationName> values)
Constructors
RecommendationName() (deprecated)
protected RecommendationName()
Methods
equals(Object o)
public boolean equals(Object o)
Parameter Name Description o
Object
Overrides
getBillingAccount()
public String getBillingAccount()
getFieldValue(String fieldName)
public String getFieldValue(String fieldName)
Parameter Name Description fieldName
String
getFieldValuesMap()
public Map<String,String> getFieldValuesMap()
getFolder()
public String getFolder()
getLocation()
public String getLocation()
getOrganization()
public String getOrganization()
getProject()
public String getProject()
getRecommendation()
public String getRecommendation()
getRecommender()
public String getRecommender()
hashCode()
Returns Type Description int
Overrides
toBuilder()
public RecommendationName.Builder toBuilder()
toString()
Overrides