@Generated(value="by gapic-generator-java") public class NotificationChannelName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
NotificationChannelName.Builder
Builder for projects/{project}/notificationChannels/{notification_channel}.
|
static class |
NotificationChannelName.FolderNotificationChannelBuilder
Builder for folders/{folder}/notificationChannels/{notification_channel}.
|
static class |
NotificationChannelName.OrganizationNotificationChannelBuilder
Builder for organizations/{organization}/notificationChannels/{notification_channel}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
NotificationChannelName()
Deprecated.
|
@Deprecated protected NotificationChannelName()
public String getProject()
public String getNotificationChannel()
public String getOrganization()
public String getFolder()
public static NotificationChannelName.Builder newBuilder()
public static NotificationChannelName.Builder newProjectNotificationChannelBuilder()
public static NotificationChannelName.OrganizationNotificationChannelBuilder newOrganizationNotificationChannelBuilder()
public static NotificationChannelName.FolderNotificationChannelBuilder newFolderNotificationChannelBuilder()
public NotificationChannelName.Builder toBuilder()
public static NotificationChannelName of(String project, String notificationChannel)
public static NotificationChannelName ofProjectNotificationChannelName(String project, String notificationChannel)
public static NotificationChannelName ofOrganizationNotificationChannelName(String organization, String notificationChannel)
public static NotificationChannelName ofFolderNotificationChannelName(String folder, String notificationChannel)
public static String formatProjectNotificationChannelName(String project, String notificationChannel)
public static String formatOrganizationNotificationChannelName(String organization, String notificationChannel)
public static String formatFolderNotificationChannelName(String folder, String notificationChannel)
public static NotificationChannelName parse(String formattedString)
public static List<NotificationChannelName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<NotificationChannelName> values)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap in interface com.google.api.resourcenames.ResourceNamepublic String getFieldValue(String fieldName)
getFieldValue in interface com.google.api.resourcenames.ResourceNameCopyright © 2024 Google LLC. All rights reserved.