Package com.oracle.bmc.dns.model
Class ResolverForwardRule.Builder
- java.lang.Object
-
- com.oracle.bmc.dns.model.ResolverForwardRule.Builder
-
- Enclosing class:
- ResolverForwardRule
public static class ResolverForwardRule.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResolverForwardRule
build()
ResolverForwardRule.Builder
clientAddressConditions(List<String> clientAddressConditions)
ResolverForwardRule.Builder
copy(ResolverForwardRule model)
ResolverForwardRule.Builder
destinationAddresses(List<String> destinationAddresses)
IP addresses to which queries should be forwarded.ResolverForwardRule.Builder
qnameCoverConditions(List<String> qnameCoverConditions)
ResolverForwardRule.Builder
sourceEndpointName(String sourceEndpointName)
Case-insensitive name of an endpoint, that is a sub-resource of the resolver, to use as the forwarding interface.
-
-
-
Method Detail
-
clientAddressConditions
public ResolverForwardRule.Builder clientAddressConditions(List<String> clientAddressConditions)
-
qnameCoverConditions
public ResolverForwardRule.Builder qnameCoverConditions(List<String> qnameCoverConditions)
-
destinationAddresses
public ResolverForwardRule.Builder destinationAddresses(List<String> destinationAddresses)
IP addresses to which queries should be forwarded.Currently limited to a single address.
- Parameters:
destinationAddresses
- the value to set- Returns:
- this builder
-
sourceEndpointName
public ResolverForwardRule.Builder sourceEndpointName(String sourceEndpointName)
Case-insensitive name of an endpoint, that is a sub-resource of the resolver, to use as the forwarding interface.The endpoint must have isForwarding set to true.
- Parameters:
sourceEndpointName
- the value to set- Returns:
- this builder
-
build
public ResolverForwardRule build()
-
copy
public ResolverForwardRule.Builder copy(ResolverForwardRule model)
-
-