public class LogName implements ResourceName
Implements
com.google.api.resourcenames.ResourceName
Static Methods
public static String format(String project, String log)
public static String formatBillingAccountLogName(String billingAccount, String log)
public static String formatFolderLogName(String folder, String log)
public static String formatOrganizationLogName(String organization, String log)
public static String formatProjectLogName(String project, String log)
isParsableFrom(String formattedString)
public static boolean isParsableFrom(String formattedString)
Parameter |
---|
Name | Description |
formattedString | String
|
newBillingAccountLogBuilder()
public static LogName.BillingAccountLogBuilder newBillingAccountLogBuilder()
newBuilder()
public static LogName.Builder newBuilder()
newFolderLogBuilder()
public static LogName.FolderLogBuilder newFolderLogBuilder()
newOrganizationLogBuilder()
public static LogName.OrganizationLogBuilder newOrganizationLogBuilder()
newProjectLogBuilder()
public static LogName.Builder newProjectLogBuilder()
of(String project, String log)
public static LogName of(String project, String log)
ofBillingAccountLogName(String billingAccount, String log)
public static LogName ofBillingAccountLogName(String billingAccount, String log)
ofFolderLogName(String folder, String log)
public static LogName ofFolderLogName(String folder, String log)
ofOrganizationLogName(String organization, String log)
public static LogName ofOrganizationLogName(String organization, String log)
ofProjectLogName(String project, String log)
public static LogName ofProjectLogName(String project, String log)
parse(String formattedString)
public static LogName parse(String formattedString)
Parameter |
---|
Name | Description |
formattedString | String
|
parseList(List<String> formattedStrings)
public static List<LogName> parseList(List<String> formattedStrings)
Parameter |
---|
Name | Description |
formattedStrings | List<String>
|
toStringList(List<LogName> values)
public static List<String> toStringList(List<LogName> values)
Constructors
LogName()
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()
getLog()
getOrganization()
public String getOrganization()
getProject()
public String getProject()
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
toBuilder()
public LogName.Builder toBuilder()
toString()
Overrides