Class InsightState.Builder

  • Enclosing class:
    InsightState

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

      • Builder

        public Builder()
    • Method Detail

      • arn

        public InsightState.Builder arn​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the insight.
        Returns:
        builder
      • arn

        public InsightState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the insight.
        Returns:
        builder
      • filters

        public InsightState.Builder filters​(@Nullable
                                            com.pulumi.core.Output<InsightFiltersArgs> filters)
        Parameters:
        filters - A configuration block including one or more (up to 10 distinct) attributes used to filter the findings included in the insight. The insight only includes findings that match criteria defined in the filters. See filters below for more details.
        Returns:
        builder
      • filters

        public InsightState.Builder filters​(InsightFiltersArgs filters)
        Parameters:
        filters - A configuration block including one or more (up to 10 distinct) attributes used to filter the findings included in the insight. The insight only includes findings that match criteria defined in the filters. See filters below for more details.
        Returns:
        builder
      • groupByAttribute

        public InsightState.Builder groupByAttribute​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> groupByAttribute)
        Parameters:
        groupByAttribute - The attribute used to group the findings for the insight e.g., if an insight is grouped by `ResourceId`, then the insight produces a list of resource identifiers.
        Returns:
        builder
      • groupByAttribute

        public InsightState.Builder groupByAttribute​(java.lang.String groupByAttribute)
        Parameters:
        groupByAttribute - The attribute used to group the findings for the insight e.g., if an insight is grouped by `ResourceId`, then the insight produces a list of resource identifiers.
        Returns:
        builder
      • name

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

        public InsightState.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the custom insight.
        Returns:
        builder
      • region

        public InsightState.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 InsightState.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