Class InsightState.Builder
- java.lang.Object
-
- com.pulumi.aws.securityhub.inputs.InsightState.Builder
-
- Enclosing class:
- InsightState
public static final class InsightState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(InsightState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InsightState.Builderarn(com.pulumi.core.Output<java.lang.String> arn)InsightState.Builderarn(java.lang.String arn)InsightStatebuild()InsightState.Builderfilters(InsightFiltersArgs filters)InsightState.Builderfilters(com.pulumi.core.Output<InsightFiltersArgs> filters)InsightState.BuildergroupByAttribute(com.pulumi.core.Output<java.lang.String> groupByAttribute)InsightState.BuildergroupByAttribute(java.lang.String groupByAttribute)InsightState.Buildername(com.pulumi.core.Output<java.lang.String> name)InsightState.Buildername(java.lang.String name)InsightState.Builderregion(com.pulumi.core.Output<java.lang.String> region)InsightState.Builderregion(java.lang.String region)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(InsightState defaults)
-
-
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
-
build
public InsightState build()
-
-