Interface ApplicationInfo.Builder

    • Method Detail

      • accountId

        ApplicationInfo.Builder accountId​(String accountId)

        The AWS account ID for the owner of the application.

        Parameters:
        accountId - The AWS account ID for the owner of the application.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceGroupName

        ApplicationInfo.Builder resourceGroupName​(String resourceGroupName)

        The name of the resource group used for the application.

        Parameters:
        resourceGroupName - The name of the resource group used for the application.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lifeCycle

        ApplicationInfo.Builder lifeCycle​(String lifeCycle)

        The lifecycle of the application.

        Parameters:
        lifeCycle - The lifecycle of the application.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • opsItemSNSTopicArn

        ApplicationInfo.Builder opsItemSNSTopicArn​(String opsItemSNSTopicArn)

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

        Parameters:
        opsItemSNSTopicArn - The SNS topic provided to Application Insights that is associated to the created opsItems to receive SNS notifications for opsItem updates.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • opsCenterEnabled

        ApplicationInfo.Builder opsCenterEnabled​(Boolean opsCenterEnabled)

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

        Parameters:
        opsCenterEnabled - Indicates whether Application Insights will create opsItems for any problem detected by Application Insights for an application.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cweMonitorEnabled

        ApplicationInfo.Builder cweMonitorEnabled​(Boolean cweMonitorEnabled)

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

        Parameters:
        cweMonitorEnabled - Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as instance terminated, failed deployment, and others.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • remarks

        ApplicationInfo.Builder remarks​(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”

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • autoConfigEnabled

        ApplicationInfo.Builder autoConfigEnabled​(Boolean autoConfigEnabled)

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

        Parameters:
        autoConfigEnabled - Indicates whether auto-configuration is turned on for this application.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • discoveryType

        ApplicationInfo.Builder discoveryType​(String discoveryType)

        The method used by Application Insights to onboard your resources.

        Parameters:
        discoveryType - The method used by Application Insights to onboard your resources.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DiscoveryType, DiscoveryType
      • discoveryType

        ApplicationInfo.Builder discoveryType​(DiscoveryType discoveryType)

        The method used by Application Insights to onboard your resources.

        Parameters:
        discoveryType - The method used by Application Insights to onboard your resources.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DiscoveryType, DiscoveryType
      • attachMissingPermission

        ApplicationInfo.Builder attachMissingPermission​(Boolean attachMissingPermission)

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

        Parameters:
        attachMissingPermission - If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.
        Returns:
        Returns a reference to this object so that method calls can be chained together.