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 appMonitorConfiguration 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 - ARN specifying the app monitor.
        Returns:
        builder
      • arn

        public AppMonitorState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - 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 customEvents 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 customEvents 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. Exactly one of `domain` or `domainList` must be specified.
        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. Exactly one of `domain` or `domainList` must be specified.
        Returns:
        builder
      • domainLists

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

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

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

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