@Generated(value="by gapic-generator-java") public class NotificationConfigName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
NotificationConfigName.Builder
Builder for organizations/{organization}/notificationConfigs/{notification_config}.
|
static class |
NotificationConfigName.FolderNotificationConfigBuilder
Builder for folders/{folder}/notificationConfigs/{notification_config}.
|
static class |
NotificationConfigName.ProjectNotificationConfigBuilder
Builder for projects/{project}/notificationConfigs/{notification_config}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
NotificationConfigName()
Deprecated.
|
@Deprecated protected NotificationConfigName()
public String getOrganization()
public String getNotificationConfig()
public String getFolder()
public String getProject()
public static NotificationConfigName.Builder newBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static NotificationConfigName.Builder newOrganizationNotificationConfigBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static NotificationConfigName.FolderNotificationConfigBuilder newFolderNotificationConfigBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static NotificationConfigName.ProjectNotificationConfigBuilder newProjectNotificationConfigBuilder()
public NotificationConfigName.Builder toBuilder()
public static NotificationConfigName of(String organization, String notificationConfig)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static NotificationConfigName ofOrganizationNotificationConfigName(String organization, String notificationConfig)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static NotificationConfigName ofFolderNotificationConfigName(String folder, String notificationConfig)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static NotificationConfigName ofProjectNotificationConfigName(String project, String notificationConfig)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationNotificationConfigName(String organization, String notificationConfig)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatFolderNotificationConfigName(String folder, String notificationConfig)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectNotificationConfigName(String project, String notificationConfig)
public static NotificationConfigName parse(String formattedString)
public static List<NotificationConfigName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<NotificationConfigName> 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.