@Generated(value="OracleSDKGenerator", comments="API Version: 20180115") public final class ResolverForwardRule extends ResolverRule
ResolverForwardRule.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the ResolverForwardRule.Builder
, which maintain a
set of all explicitly set fields called ResolverForwardRule.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).Modifier and Type | Class and Description |
---|---|
static class |
ResolverForwardRule.Builder |
ResolverRule.Action
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ResolverForwardRule(List<String> clientAddressConditions,
List<String> qnameCoverConditions,
List<String> destinationAddresses,
String sourceEndpointName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ResolverForwardRule.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<String> |
getDestinationAddresses()
IP addresses to which queries should be forwarded.
|
String |
getSourceEndpointName()
Case-insensitive name of an endpoint, that is a sub-resource of the resolver, to use as the
forwarding interface.
|
int |
hashCode() |
ResolverForwardRule.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getClientAddressConditions, getQnameCoverConditions
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
public static ResolverForwardRule.Builder builder()
Create a new builder.
public ResolverForwardRule.Builder toBuilder()
public List<String> getDestinationAddresses()
IP addresses to which queries should be forwarded. Currently limited to a single address.
public String getSourceEndpointName()
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.
public String toString()
toString
in class ResolverRule
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class ResolverRule
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class ResolverRule
public int hashCode()
hashCode
in class ResolverRule
Copyright © 2016–2024. All rights reserved.