Class AlertPolicyName

  • All Implemented Interfaces:
    com.google.api.resourcenames.ResourceName

    @Generated("by gapic-generator-java")
    public class AlertPolicyName
    extends Object
    implements com.google.api.resourcenames.ResourceName
    • Constructor Detail

      • AlertPolicyName

        @Deprecated
        protected AlertPolicyName()
        Deprecated.
    • Method Detail

      • getProject

        public String getProject()
      • getAlertPolicy

        public String getAlertPolicy()
      • getOrganization

        public String getOrganization()
      • getFolder

        public String getFolder()
      • newProjectAlertPolicyBuilder

        @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
        public static AlertPolicyName.Builder newProjectAlertPolicyBuilder()
      • newFolderAlertPolicyBuilder

        @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
        public static AlertPolicyName.FolderAlertPolicyBuilder newFolderAlertPolicyBuilder()
      • ofProjectAlertPolicyName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static AlertPolicyName ofProjectAlertPolicyName​(String project,
                                                               String alertPolicy)
      • ofOrganizationAlertPolicyName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static AlertPolicyName ofOrganizationAlertPolicyName​(String organization,
                                                                    String alertPolicy)
      • ofFolderAlertPolicyName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static AlertPolicyName ofFolderAlertPolicyName​(String folder,
                                                              String alertPolicy)
      • formatProjectAlertPolicyName

        @BetaApi("The static format methods are not stable yet and may be changed in the future.")
        public static String formatProjectAlertPolicyName​(String project,
                                                          String alertPolicy)
      • formatOrganizationAlertPolicyName

        @BetaApi("The static format methods are not stable yet and may be changed in the future.")
        public static String formatOrganizationAlertPolicyName​(String organization,
                                                               String alertPolicy)
      • formatFolderAlertPolicyName

        @BetaApi("The static format methods are not stable yet and may be changed in the future.")
        public static String formatFolderAlertPolicyName​(String folder,
                                                         String alertPolicy)
      • isParsableFrom

        public static boolean isParsableFrom​(String formattedString)
      • getFieldValuesMap

        public Map<String,​String> getFieldValuesMap()
        Specified by:
        getFieldValuesMap in interface com.google.api.resourcenames.ResourceName
      • getFieldValue

        public String getFieldValue​(String fieldName)
        Specified by:
        getFieldValue in interface com.google.api.resourcenames.ResourceName
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object