public class NotificationChannelName implements ResourceName
Inheritance
Object >
NotificationChannelName
Implements
com.google.api.resourcenames.ResourceName
Static Methods
public static String format(String project, String notificationChannel)
Parameters
Returns
public static String formatFolderNotificationChannelName(String folder, String notificationChannel)
Parameters
Returns
public static String formatOrganizationNotificationChannelName(String organization, String notificationChannel)
Parameters
Returns
public static String formatProjectNotificationChannelName(String project, String notificationChannel)
Parameters
Returns
isParsableFrom(String formattedString)
public static boolean isParsableFrom(String formattedString)
Parameter
Name | Description |
formattedString | String
|
Returns
newBuilder()
public static NotificationChannelName.Builder newBuilder()
Returns
newFolderNotificationChannelBuilder()
public static NotificationChannelName.FolderNotificationChannelBuilder newFolderNotificationChannelBuilder()
Returns
newOrganizationNotificationChannelBuilder()
public static NotificationChannelName.OrganizationNotificationChannelBuilder newOrganizationNotificationChannelBuilder()
Returns
newProjectNotificationChannelBuilder()
public static NotificationChannelName.Builder newProjectNotificationChannelBuilder()
Returns
of(String project, String notificationChannel)
public static NotificationChannelName of(String project, String notificationChannel)
Parameters
Returns
ofFolderNotificationChannelName(String folder, String notificationChannel)
public static NotificationChannelName ofFolderNotificationChannelName(String folder, String notificationChannel)
Parameters
Returns
ofOrganizationNotificationChannelName(String organization, String notificationChannel)
public static NotificationChannelName ofOrganizationNotificationChannelName(String organization, String notificationChannel)
Parameters
Returns
ofProjectNotificationChannelName(String project, String notificationChannel)
public static NotificationChannelName ofProjectNotificationChannelName(String project, String notificationChannel)
Parameters
Returns
parse(String formattedString)
public static NotificationChannelName parse(String formattedString)
Parameter
Name | Description |
formattedString | String
|
Returns
parseList(List<String> formattedStrings)
public static List<NotificationChannelName> parseList(List<String> formattedStrings)
Parameter
Returns
toStringList(List<NotificationChannelName> values)
public static List<String> toStringList(List<NotificationChannelName> values)
Parameter
Returns
Constructors
NotificationChannelName()
protected NotificationChannelName()
Methods
equals(Object o)
public boolean equals(Object o)
Parameter
Returns
Overrides
getFieldValue(String fieldName)
public String getFieldValue(String fieldName)
Parameter
Name | Description |
fieldName | String
|
Returns
getFieldValuesMap()
public Map<String,String> getFieldValuesMap()
Returns
getFolder()
public String getFolder()
Returns
getNotificationChannel()
public String getNotificationChannel()
Returns
getOrganization()
public String getOrganization()
Returns
getProject()
public String getProject()
Returns
hashCode()
Returns
Overrides
toBuilder()
public NotificationChannelName.Builder toBuilder()
Returns
toString()
Returns
Overrides