Class ProtectionGroupState.Builder

  • Enclosing class:
    ProtectionGroupState

    public static final class ProtectionGroupState.Builder
    extends java.lang.Object
    • 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