Class VpcEndpointDnsOptionsArgs.Builder

  • Enclosing class:
    VpcEndpointDnsOptionsArgs

    public static final class VpcEndpointDnsOptionsArgs.Builder
    extends java.lang.Object
    • Method Detail

      • dnsRecordIpType

        public VpcEndpointDnsOptionsArgs.Builder dnsRecordIpType​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> dnsRecordIpType)
        Parameters:
        dnsRecordIpType - DNS records created for the endpoint. Valid values are `ipv4`, `dualstack`, `service-defined`, and `ipv6`.
        Returns:
        builder
      • dnsRecordIpType

        public VpcEndpointDnsOptionsArgs.Builder dnsRecordIpType​(java.lang.String dnsRecordIpType)
        Parameters:
        dnsRecordIpType - DNS records created for the endpoint. Valid values are `ipv4`, `dualstack`, `service-defined`, and `ipv6`.
        Returns:
        builder
      • privateDnsOnlyForInboundResolverEndpoint

        public VpcEndpointDnsOptionsArgs.Builder privateDnsOnlyForInboundResolverEndpoint​(@Nullable
                                                                                          com.pulumi.core.Output<java.lang.Boolean> privateDnsOnlyForInboundResolverEndpoint)
        Parameters:
        privateDnsOnlyForInboundResolverEndpoint - Whether to enable private DNS only for inbound endpoints. This option is available only for interface endpoints of services that support both gateway and interface endpoints. A gateway endpoint for the same service must be created before an interface endpoint is created. Traffic originating from the VPC is routed to the gateway endpoint, while traffic originating from on-premises is routed to the interface endpoint. Defaults to `false`. This argument can be specified only if `privateDnsEnabled` is `true`.
        Returns:
        builder
      • privateDnsOnlyForInboundResolverEndpoint

        public VpcEndpointDnsOptionsArgs.Builder privateDnsOnlyForInboundResolverEndpoint​(java.lang.Boolean privateDnsOnlyForInboundResolverEndpoint)
        Parameters:
        privateDnsOnlyForInboundResolverEndpoint - Whether to enable private DNS only for inbound endpoints. This option is available only for interface endpoints of services that support both gateway and interface endpoints. A gateway endpoint for the same service must be created before an interface endpoint is created. Traffic originating from the VPC is routed to the gateway endpoint, while traffic originating from on-premises is routed to the interface endpoint. Defaults to `false`. This argument can be specified only if `privateDnsEnabled` is `true`.
        Returns:
        builder
      • privateDnsPreference

        public VpcEndpointDnsOptionsArgs.Builder privateDnsPreference​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.String> privateDnsPreference)
        Parameters:
        privateDnsPreference - Preference for which private domains have a private hosted zone created for and associated with the specified VPC. Valid values are `ALL_DOMAINS`, `VERIFIED_DOMAINS_ONLY`, `VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINS`, and `SPECIFIED_DOMAINS_ONLY`. Only supported when `privateDnsEnabled` is `true` and when the `vpcEndpointType` is `ServiceNetwork` or `Resource`.
        Returns:
        builder
      • privateDnsPreference

        public VpcEndpointDnsOptionsArgs.Builder privateDnsPreference​(java.lang.String privateDnsPreference)
        Parameters:
        privateDnsPreference - Preference for which private domains have a private hosted zone created for and associated with the specified VPC. Valid values are `ALL_DOMAINS`, `VERIFIED_DOMAINS_ONLY`, `VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINS`, and `SPECIFIED_DOMAINS_ONLY`. Only supported when `privateDnsEnabled` is `true` and when the `vpcEndpointType` is `ServiceNetwork` or `Resource`.
        Returns:
        builder
      • privateDnsSpecifiedDomains

        public VpcEndpointDnsOptionsArgs.Builder privateDnsSpecifiedDomains​(@Nullable
                                                                            com.pulumi.core.Output<java.util.List<java.lang.String>> privateDnsSpecifiedDomains)
        Parameters:
        privateDnsSpecifiedDomains - List of private domains to create private hosted zones for and associate with the specified VPC. Must be specified when `privateDnsEnabled` is `true` and `privateDnsPreference` is set to either `VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINS` or `SPECIFIED_DOMAINS_ONLY`. In all other cases, this argument must not be specified.
        Returns:
        builder
      • privateDnsSpecifiedDomains

        public VpcEndpointDnsOptionsArgs.Builder privateDnsSpecifiedDomains​(java.util.List<java.lang.String> privateDnsSpecifiedDomains)
        Parameters:
        privateDnsSpecifiedDomains - List of private domains to create private hosted zones for and associate with the specified VPC. Must be specified when `privateDnsEnabled` is `true` and `privateDnsPreference` is set to either `VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINS` or `SPECIFIED_DOMAINS_ONLY`. In all other cases, this argument must not be specified.
        Returns:
        builder
      • privateDnsSpecifiedDomains

        public VpcEndpointDnsOptionsArgs.Builder privateDnsSpecifiedDomains​(java.lang.String... privateDnsSpecifiedDomains)
        Parameters:
        privateDnsSpecifiedDomains - List of private domains to create private hosted zones for and associate with the specified VPC. Must be specified when `privateDnsEnabled` is `true` and `privateDnsPreference` is set to either `VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINS` or `SPECIFIED_DOMAINS_ONLY`. In all other cases, this argument must not be specified.
        Returns:
        builder