Package com.pulumi.aws.shield.inputs
Class ProtectionGroupState.Builder
- java.lang.Object
-
- com.pulumi.aws.shield.inputs.ProtectionGroupState.Builder
-
- Enclosing class:
- ProtectionGroupState
public static final class ProtectionGroupState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ProtectionGroupState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProtectionGroupState.Builderaggregation(com.pulumi.core.Output<java.lang.String> aggregation)ProtectionGroupState.Builderaggregation(java.lang.String aggregation)ProtectionGroupStatebuild()ProtectionGroupState.Buildermembers(com.pulumi.core.Output<java.util.List<java.lang.String>> members)ProtectionGroupState.Buildermembers(java.lang.String... members)ProtectionGroupState.Buildermembers(java.util.List<java.lang.String> members)ProtectionGroupState.Builderpattern(com.pulumi.core.Output<java.lang.String> pattern)ProtectionGroupState.Builderpattern(java.lang.String pattern)ProtectionGroupState.BuilderprotectionGroupArn(com.pulumi.core.Output<java.lang.String> protectionGroupArn)ProtectionGroupState.BuilderprotectionGroupArn(java.lang.String protectionGroupArn)ProtectionGroupState.BuilderprotectionGroupId(com.pulumi.core.Output<java.lang.String> protectionGroupId)ProtectionGroupState.BuilderprotectionGroupId(java.lang.String protectionGroupId)ProtectionGroupState.BuilderresourceType(com.pulumi.core.Output<java.lang.String> resourceType)ProtectionGroupState.BuilderresourceType(java.lang.String resourceType)ProtectionGroupState.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)ProtectionGroupState.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)ProtectionGroupState.BuildertagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)ProtectionGroupState.BuildertagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ProtectionGroupState defaults)
-
-
Method Detail
-
aggregation
public ProtectionGroupState.Builder aggregation(@Nullable com.pulumi.core.Output<java.lang.String> aggregation)
- Parameters:
aggregation- Defines how AWS Shield combines resource data for the group in order to detect, mitigate, and report events.- Returns:
- builder
-
aggregation
public ProtectionGroupState.Builder aggregation(java.lang.String aggregation)
- Parameters:
aggregation- Defines how AWS Shield combines resource data for the group in order to detect, mitigate, and report events.- Returns:
- builder
-
members
public ProtectionGroupState.Builder members(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> members)
- Parameters:
members- ARNs of the resources to include in the protection group. You must set this when you set `pattern` to ARBITRARY and you must not set it for any other `pattern` setting.- Returns:
- builder
-
members
public ProtectionGroupState.Builder members(java.util.List<java.lang.String> members)
- Parameters:
members- ARNs of the resources to include in the protection group. You must set this when you set `pattern` to ARBITRARY and you must not set it for any other `pattern` setting.- Returns:
- builder
-
members
public ProtectionGroupState.Builder members(java.lang.String... members)
- Parameters:
members- ARNs of the resources to include in the protection group. You must set this when you set `pattern` to ARBITRARY and you must not set it for any other `pattern` setting.- Returns:
- builder
-
pattern
public ProtectionGroupState.Builder pattern(@Nullable com.pulumi.core.Output<java.lang.String> pattern)
- Parameters:
pattern- The criteria to use to choose the protected resources for inclusion in the group.- Returns:
- builder
-
pattern
public ProtectionGroupState.Builder pattern(java.lang.String pattern)
- Parameters:
pattern- The criteria to use to choose the protected resources for inclusion in the group.- Returns:
- builder
-
protectionGroupArn
public ProtectionGroupState.Builder protectionGroupArn(@Nullable com.pulumi.core.Output<java.lang.String> protectionGroupArn)
- Parameters:
protectionGroupArn- ARN of the protection group.- Returns:
- builder
-
protectionGroupArn
public ProtectionGroupState.Builder protectionGroupArn(java.lang.String protectionGroupArn)
- Parameters:
protectionGroupArn- ARN of the protection group.- Returns:
- builder
-
protectionGroupId
public ProtectionGroupState.Builder protectionGroupId(@Nullable com.pulumi.core.Output<java.lang.String> protectionGroupId)
- Parameters:
protectionGroupId- The name of the protection group.- Returns:
- builder
-
protectionGroupId
public ProtectionGroupState.Builder protectionGroupId(java.lang.String protectionGroupId)
- Parameters:
protectionGroupId- The name of the protection group.- Returns:
- builder
-
resourceType
public ProtectionGroupState.Builder resourceType(@Nullable com.pulumi.core.Output<java.lang.String> resourceType)
- Parameters:
resourceType- The resource type to include in the protection group. You must set this when you set `pattern` to BY_RESOURCE_TYPE and you must not set it for any other `pattern` setting.- Returns:
- builder
-
resourceType
public ProtectionGroupState.Builder resourceType(java.lang.String resourceType)
- Parameters:
resourceType- The resource type to include in the protection group. You must set this when you set `pattern` to BY_RESOURCE_TYPE and you must not set it for any other `pattern` setting.- Returns:
- builder
-
tags
public ProtectionGroupState.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- Key-value map of resource tags. 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 ProtectionGroupState.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- Key-value map of resource tags. 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 ProtectionGroupState.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 ProtectionGroupState.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
-
build
public ProtectionGroupState build()
-
-