Class AppMonitorArgs.Builder

  • Enclosing class:
    AppMonitorArgs

    public static final class AppMonitorArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • appMonitorConfiguration

        public AppMonitorArgs.Builder appMonitorConfiguration​(@Nullable
                                                              com.pulumi.core.Output<AppMonitorAppMonitorConfigurationArgs> appMonitorConfiguration)
        Parameters:
        appMonitorConfiguration - configuration data for the app monitor. See appMonitorConfiguration below.
        Returns:
        builder
      • customEvents

        public AppMonitorArgs.Builder customEvents​(@Nullable
                                                   com.pulumi.core.Output<AppMonitorCustomEventsArgs> customEvents)
        Parameters:
        customEvents - Specifies whether this app monitor allows the web client to define and send custom events. If you omit this parameter, custom events are `DISABLED`. See customEvents below.
        Returns:
        builder
      • customEvents

        public AppMonitorArgs.Builder customEvents​(AppMonitorCustomEventsArgs customEvents)
        Parameters:
        customEvents - Specifies whether this app monitor allows the web client to define and send custom events. If you omit this parameter, custom events are `DISABLED`. See customEvents below.
        Returns:
        builder
      • cwLogEnabled

        public AppMonitorArgs.Builder cwLogEnabled​(@Nullable
                                                   com.pulumi.core.Output<java.lang.Boolean> cwLogEnabled)
        Parameters:
        cwLogEnabled - Data collected by RUM is kept by RUM for 30 days and then deleted. This parameter specifies whether RUM sends a copy of this telemetry data to Amazon CloudWatch Logs in your account. This enables you to keep the telemetry data for more than 30 days, but it does incur Amazon CloudWatch Logs charges. Default value is `false`.
        Returns:
        builder
      • cwLogEnabled

        public AppMonitorArgs.Builder cwLogEnabled​(java.lang.Boolean cwLogEnabled)
        Parameters:
        cwLogEnabled - Data collected by RUM is kept by RUM for 30 days and then deleted. This parameter specifies whether RUM sends a copy of this telemetry data to Amazon CloudWatch Logs in your account. This enables you to keep the telemetry data for more than 30 days, but it does incur Amazon CloudWatch Logs charges. Default value is `false`.
        Returns:
        builder
      • domain

        public AppMonitorArgs.Builder domain​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> domain)
        Parameters:
        domain - The top-level internet domain name for which your application has administrative authority. Exactly one of `domain` or `domainList` must be specified.
        Returns:
        builder
      • domain

        public AppMonitorArgs.Builder domain​(java.lang.String domain)
        Parameters:
        domain - The top-level internet domain name for which your application has administrative authority. Exactly one of `domain` or `domainList` must be specified.
        Returns:
        builder
      • domainLists

        public AppMonitorArgs.Builder domainLists​(@Nullable
                                                  com.pulumi.core.Output<java.util.List<java.lang.String>> domainLists)
        Parameters:
        domainLists - A list of internet domain names for which your application has administrative authority. Exactly one of `domain` or `domainList` must be specified.
        Returns:
        builder
      • domainLists

        public AppMonitorArgs.Builder domainLists​(java.util.List<java.lang.String> domainLists)
        Parameters:
        domainLists - A list of internet domain names for which your application has administrative authority. Exactly one of `domain` or `domainList` must be specified.
        Returns:
        builder
      • domainLists

        public AppMonitorArgs.Builder domainLists​(java.lang.String... domainLists)
        Parameters:
        domainLists - A list of internet domain names for which your application has administrative authority. Exactly one of `domain` or `domainList` must be specified.
        Returns:
        builder
      • name

        public AppMonitorArgs.Builder name​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the log stream.
        Returns:
        builder
      • name

        public AppMonitorArgs.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the log stream.
        Returns:
        builder
      • region

        public AppMonitorArgs.Builder region​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public AppMonitorArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • tags

        public AppMonitorArgs.Builder tags​(@Nullable
                                           com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public AppMonitorArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder