Interface TargetAddress.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TargetAddress.Builder,TargetAddress>,SdkBuilder<TargetAddress.Builder,TargetAddress>,SdkPojo
- Enclosing class:
- TargetAddress
public static interface TargetAddress.Builder extends SdkPojo, CopyableBuilder<TargetAddress.Builder,TargetAddress>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TargetAddress.Builderip(String ip)One IPv4 address that you want to forward DNS queries to.TargetAddress.Builderipv6(String ipv6)One IPv6 address that you want to forward DNS queries to.TargetAddress.Builderport(Integer port)The port atIpthat you want to forward DNS queries to.TargetAddress.Builderprotocol(String protocol)The protocols for the target address.TargetAddress.Builderprotocol(Protocol protocol)The protocols for the target address.TargetAddress.BuilderserverNameIndication(String serverNameIndication)The Server Name Indication of the DoH server that you want to forward queries to.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
ip
TargetAddress.Builder ip(String ip)
One IPv4 address that you want to forward DNS queries to.
- Parameters:
ip- One IPv4 address that you want to forward DNS queries to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
port
TargetAddress.Builder port(Integer port)
The port at
Ipthat you want to forward DNS queries to.- Parameters:
port- The port atIpthat you want to forward DNS queries to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv6
TargetAddress.Builder ipv6(String ipv6)
One IPv6 address that you want to forward DNS queries to.
- Parameters:
ipv6- One IPv6 address that you want to forward DNS queries to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
TargetAddress.Builder protocol(String protocol)
The protocols for the target address. The protocol you choose needs to be supported by the outbound endpoint of the Resolver rule.
-
protocol
TargetAddress.Builder protocol(Protocol protocol)
The protocols for the target address. The protocol you choose needs to be supported by the outbound endpoint of the Resolver rule.
-
serverNameIndication
TargetAddress.Builder serverNameIndication(String serverNameIndication)
The Server Name Indication of the DoH server that you want to forward queries to. This is only used if the Protocol of the
TargetAddressisDoH.- Parameters:
serverNameIndication- The Server Name Indication of the DoH server that you want to forward queries to. This is only used if the Protocol of theTargetAddressisDoH.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-