Class AppMonitorState.Builder

  • Enclosing class:
    AppMonitorState

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

      • Builder

        public Builder()
    • Method Detail

      • appMonitorConfiguration

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

        public AppMonitorState.Builder appMonitorId​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> appMonitorId)
        Parameters:
        appMonitorId - The unique ID of the app monitor. Useful for JS templates.
        Returns:
        builder
      • appMonitorId

        public AppMonitorState.Builder appMonitorId​(java.lang.String appMonitorId)
        Parameters:
        appMonitorId - The unique ID of the app monitor. Useful for JS templates.
        Returns:
        builder
      • arn

        public AppMonitorState.Builder arn​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - The Amazon Resource Name (ARN) specifying the app monitor.
        Returns:
        builder
      • arn

        public AppMonitorState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - The Amazon Resource Name (ARN) specifying the app monitor.
        Returns:
        builder
      • customEvents

        public AppMonitorState.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 custom_events below.
        Returns:
        builder
      • customEvents

        public AppMonitorState.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 custom_events below.
        Returns:
        builder
      • cwLogEnabled

        public AppMonitorState.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 AppMonitorState.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
      • cwLogGroup

        public AppMonitorState.Builder cwLogGroup​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> cwLogGroup)
        Parameters:
        cwLogGroup - The name of the log group where the copies are stored.
        Returns:
        builder
      • cwLogGroup

        public AppMonitorState.Builder cwLogGroup​(java.lang.String cwLogGroup)
        Parameters:
        cwLogGroup - The name of the log group where the copies are stored.
        Returns:
        builder
      • domain

        public AppMonitorState.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.
        Returns:
        builder
      • domain

        public AppMonitorState.Builder domain​(java.lang.String domain)
        Parameters:
        domain - The top-level internet domain name for which your application has administrative authority.
        Returns:
        builder
      • name

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

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

        public AppMonitorState.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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public AppMonitorState.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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public AppMonitorState.Builder tagsAll​(@Nullable
                                               com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public AppMonitorState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder