Class ResolverRuleState.Builder

  • Enclosing class:
    ResolverRuleState

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

      • Builder

        public Builder()
    • Method Detail

      • arn

        public ResolverRuleState.Builder arn​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - The ARN (Amazon Resource Name) for the resolver rule.
        Returns:
        builder
      • arn

        public ResolverRuleState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - The ARN (Amazon Resource Name) for the resolver rule.
        Returns:
        builder
      • domainName

        public ResolverRuleState.Builder domainName​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> domainName)
        Parameters:
        domainName - DNS queries for this domain name are forwarded to the IP addresses that are specified using `target_ip`.
        Returns:
        builder
      • domainName

        public ResolverRuleState.Builder domainName​(java.lang.String domainName)
        Parameters:
        domainName - DNS queries for this domain name are forwarded to the IP addresses that are specified using `target_ip`.
        Returns:
        builder
      • name

        public ResolverRuleState.Builder name​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - A friendly name that lets you easily find a rule in the Resolver dashboard in the Route 53 console.
        Returns:
        builder
      • name

        public ResolverRuleState.Builder name​(java.lang.String name)
        Parameters:
        name - A friendly name that lets you easily find a rule in the Resolver dashboard in the Route 53 console.
        Returns:
        builder
      • ownerId

        public ResolverRuleState.Builder ownerId​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> ownerId)
        Parameters:
        ownerId - When a rule is shared with another AWS account, the account ID of the account that the rule is shared with.
        Returns:
        builder
      • ownerId

        public ResolverRuleState.Builder ownerId​(java.lang.String ownerId)
        Parameters:
        ownerId - When a rule is shared with another AWS account, the account ID of the account that the rule is shared with.
        Returns:
        builder
      • resolverEndpointId

        public ResolverRuleState.Builder resolverEndpointId​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> resolverEndpointId)
        Parameters:
        resolverEndpointId - The ID of the outbound resolver endpoint that you want to use to route DNS queries to the IP addresses that you specify using `target_ip`. This argument should only be specified for `FORWARD` type rules.
        Returns:
        builder
      • resolverEndpointId

        public ResolverRuleState.Builder resolverEndpointId​(java.lang.String resolverEndpointId)
        Parameters:
        resolverEndpointId - The ID of the outbound resolver endpoint that you want to use to route DNS queries to the IP addresses that you specify using `target_ip`. This argument should only be specified for `FORWARD` type rules.
        Returns:
        builder
      • ruleType

        public ResolverRuleState.Builder ruleType​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> ruleType)
        Parameters:
        ruleType - The rule type. Valid values are `FORWARD`, `SYSTEM` and `RECURSIVE`.
        Returns:
        builder
      • ruleType

        public ResolverRuleState.Builder ruleType​(java.lang.String ruleType)
        Parameters:
        ruleType - The rule type. Valid values are `FORWARD`, `SYSTEM` and `RECURSIVE`.
        Returns:
        builder
      • shareStatus

        public ResolverRuleState.Builder shareStatus​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> shareStatus)
        Parameters:
        shareStatus - Whether the rules is shared and, if so, whether the current account is sharing the rule with another account, or another account is sharing the rule with the current account. Values are `NOT_SHARED`, `SHARED_BY_ME` or `SHARED_WITH_ME`
        Returns:
        builder
      • shareStatus

        public ResolverRuleState.Builder shareStatus​(java.lang.String shareStatus)
        Parameters:
        shareStatus - Whether the rules is shared and, if so, whether the current account is sharing the rule with another account, or another account is sharing the rule with the current account. Values are `NOT_SHARED`, `SHARED_BY_ME` or `SHARED_WITH_ME`
        Returns:
        builder
      • tags

        public ResolverRuleState.Builder tags​(@Nullable
                                              com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - A map of tags to assign to the resource. .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 ResolverRuleState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map of tags to assign to the resource. .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 ResolverRuleState.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 ResolverRuleState.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
      • targetIps

        public ResolverRuleState.Builder targetIps​(@Nullable
                                                   com.pulumi.core.Output<java.util.List<ResolverRuleTargetIpArgs>> targetIps)
        Parameters:
        targetIps - Configuration block(s) indicating the IPs that you want Resolver to forward DNS queries to (documented below). This argument should only be specified for `FORWARD` type rules.
        Returns:
        builder
      • targetIps

        public ResolverRuleState.Builder targetIps​(java.util.List<ResolverRuleTargetIpArgs> targetIps)
        Parameters:
        targetIps - Configuration block(s) indicating the IPs that you want Resolver to forward DNS queries to (documented below). This argument should only be specified for `FORWARD` type rules.
        Returns:
        builder
      • targetIps

        public ResolverRuleState.Builder targetIps​(ResolverRuleTargetIpArgs... targetIps)
        Parameters:
        targetIps - Configuration block(s) indicating the IPs that you want Resolver to forward DNS queries to (documented below). This argument should only be specified for `FORWARD` type rules.
        Returns:
        builder