Class ApplicationInfo

    • Method Detail

      • accountId

        public final String accountId()

        The AWS account ID for the owner of the application.

        Returns:
        The AWS account ID for the owner of the application.
      • resourceGroupName

        public final String resourceGroupName()

        The name of the resource group used for the application.

        Returns:
        The name of the resource group used for the application.
      • lifeCycle

        public final String lifeCycle()

        The lifecycle of the application.

        Returns:
        The lifecycle of the application.
      • opsItemSNSTopicArn

        public final String opsItemSNSTopicArn()

        The SNS topic provided to Application Insights that is associated to the created opsItems to receive SNS notifications for opsItem updates.

        Returns:
        The SNS topic provided to Application Insights that is associated to the created opsItems to receive SNS notifications for opsItem updates.
      • opsCenterEnabled

        public final Boolean opsCenterEnabled()

        Indicates whether Application Insights will create opsItems for any problem detected by Application Insights for an application.

        Returns:
        Indicates whether Application Insights will create opsItems for any problem detected by Application Insights for an application.
      • cweMonitorEnabled

        public final Boolean cweMonitorEnabled()

        Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as instance terminated, failed deployment, and others.

        Returns:
        Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as instance terminated, failed deployment, and others.
      • remarks

        public final String remarks()

        The issues on the user side that block Application Insights from successfully monitoring an application. Example remarks include:

        • “Configuring application, detected 1 Errors, 3 Warnings”

        • “Configuring application, detected 1 Unconfigured Components”

        Returns:
        The issues on the user side that block Application Insights from successfully monitoring an application. Example remarks include:

        • “Configuring application, detected 1 Errors, 3 Warnings”

        • “Configuring application, detected 1 Unconfigured Components”

      • autoConfigEnabled

        public final Boolean autoConfigEnabled()

        Indicates whether auto-configuration is turned on for this application.

        Returns:
        Indicates whether auto-configuration is turned on for this application.
      • discoveryTypeAsString

        public final String discoveryTypeAsString()

        The method used by Application Insights to onboard your resources.

        If the service returns an enum value that is not available in the current SDK version, discoveryType will return DiscoveryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from discoveryTypeAsString().

        Returns:
        The method used by Application Insights to onboard your resources.
        See Also:
        DiscoveryType
      • attachMissingPermission

        public final Boolean attachMissingPermission()

        If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.

        Returns:
        If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)