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 Deprecated Methods Modifier and Type Method Description ProtectionGroupState.Builder
aggregation(com.pulumi.core.Output<java.lang.String> aggregation)
ProtectionGroupState.Builder
aggregation(java.lang.String aggregation)
ProtectionGroupState
build()
ProtectionGroupState.Builder
members(com.pulumi.core.Output<java.util.List<java.lang.String>> members)
ProtectionGroupState.Builder
members(java.lang.String... members)
ProtectionGroupState.Builder
members(java.util.List<java.lang.String> members)
ProtectionGroupState.Builder
pattern(com.pulumi.core.Output<java.lang.String> pattern)
ProtectionGroupState.Builder
pattern(java.lang.String pattern)
ProtectionGroupState.Builder
protectionGroupArn(com.pulumi.core.Output<java.lang.String> protectionGroupArn)
ProtectionGroupState.Builder
protectionGroupArn(java.lang.String protectionGroupArn)
ProtectionGroupState.Builder
protectionGroupId(com.pulumi.core.Output<java.lang.String> protectionGroupId)
ProtectionGroupState.Builder
protectionGroupId(java.lang.String protectionGroupId)
ProtectionGroupState.Builder
resourceType(com.pulumi.core.Output<java.lang.String> resourceType)
ProtectionGroupState.Builder
resourceType(java.lang.String resourceType)
ProtectionGroupState.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
ProtectionGroupState.Builder
tags(java.util.Map<java.lang.String,java.lang.String> tags)
ProtectionGroupState.Builder
tagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
Deprecated.Please use `tags` instead.ProtectionGroupState.Builder
tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
Deprecated.Please use `tags` instead.
-
-
-
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
- The Amazon Resource Names (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
- The Amazon Resource Names (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
- The Amazon Resource Names (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
- The ARN (Amazon Resource Name) of the protection group.- Returns:
- builder
-
protectionGroupArn
public ProtectionGroupState.Builder protectionGroupArn(java.lang.String protectionGroupArn)
- Parameters:
protectionGroupArn
- The ARN (Amazon Resource Name) 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 `default_tags` 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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tagsAll
@Deprecated public ProtectionGroupState.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 ProtectionGroupState.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
-
build
public ProtectionGroupState build()
-
-