Interface CreateApplicationRequest.Builder

    • Method Detail

      • resourceGroupName

        CreateApplicationRequest.Builder resourceGroupName​(String resourceGroupName)

        The name of the resource group.

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

        CreateApplicationRequest.Builder opsCenterEnabled​(Boolean opsCenterEnabled)

        When set to true, creates opsItems for any problems detected on an application.

        Parameters:
        opsCenterEnabled - When set to true, creates opsItems for any problems detected on an application.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cweMonitorEnabled

        CreateApplicationRequest.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.
      • opsItemSNSTopicArn

        CreateApplicationRequest.Builder opsItemSNSTopicArn​(String opsItemSNSTopicArn)

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

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

        CreateApplicationRequest.Builder tags​(Collection<Tag> tags)

        List of tags to add to the application. tag key (Key) and an associated tag value ( Value). The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

        Parameters:
        tags - List of tags to add to the application. tag key (Key) and an associated tag value ( Value). The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateApplicationRequest.Builder tags​(Tag... tags)

        List of tags to add to the application. tag key (Key) and an associated tag value ( Value). The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

        Parameters:
        tags - List of tags to add to the application. tag key (Key) and an associated tag value ( Value). The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateApplicationRequest.Builder tags​(Consumer<Tag.Builder>... tags)

        List of tags to add to the application. tag key (Key) and an associated tag value ( Value). The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)
      • autoConfigEnabled

        CreateApplicationRequest.Builder autoConfigEnabled​(Boolean autoConfigEnabled)

        Indicates whether Application Insights automatically configures unmonitored resources in the resource group.

        Parameters:
        autoConfigEnabled - Indicates whether Application Insights automatically configures unmonitored resources in the resource group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • autoCreate

        CreateApplicationRequest.Builder autoCreate​(Boolean autoCreate)

        Configures all of the resources in the resource group by applying the recommended configurations.

        Parameters:
        autoCreate - Configures all of the resources in the resource group by applying the recommended configurations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groupingType

        CreateApplicationRequest.Builder groupingType​(String groupingType)

        Application Insights can create applications based on a resource group or on an account. To create an account-based application using all of the resources in the account, set this parameter to ACCOUNT_BASED.

        Parameters:
        groupingType - Application Insights can create applications based on a resource group or on an account. To create an account-based application using all of the resources in the account, set this parameter to ACCOUNT_BASED.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        GroupingType, GroupingType
      • groupingType

        CreateApplicationRequest.Builder groupingType​(GroupingType groupingType)

        Application Insights can create applications based on a resource group or on an account. To create an account-based application using all of the resources in the account, set this parameter to ACCOUNT_BASED.

        Parameters:
        groupingType - Application Insights can create applications based on a resource group or on an account. To create an account-based application using all of the resources in the account, set this parameter to ACCOUNT_BASED.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        GroupingType, GroupingType
      • attachMissingPermission

        CreateApplicationRequest.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.