@Generated(value="OracleSDKGenerator", comments="API Version: 20180115") public final class ResolverForwardRuleDetails extends ResolverRuleDetails
ResolverForwardRuleDetails.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 ResolverForwardRuleDetails.Builder
, which maintain a
set of all explicitly set fields called ResolverForwardRuleDetails.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 |
ResolverForwardRuleDetails.Builder |
ResolverRuleDetails.Action
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ResolverForwardRuleDetails(List<String> clientAddressConditions,
List<String> qnameCoverConditions,
List<String> destinationAddresses,
String sourceEndpointName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ResolverForwardRuleDetails.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() |
ResolverForwardRuleDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getClientAddressConditions, getQnameCoverConditions
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
public static ResolverForwardRuleDetails.Builder builder()
Create a new builder.
public ResolverForwardRuleDetails.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 ResolverRuleDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class ResolverRuleDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class ResolverRuleDetails
public int hashCode()
hashCode
in class ResolverRuleDetails
Copyright © 2016–2024. All rights reserved.