@Generated(value="OracleSDKGenerator", comments="API Version: 20180115") public final class SteeringPolicyAnswer extends Object
DNS record data with metadata for processing in a steering policy.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
SteeringPolicyAnswer.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 SteeringPolicyAnswer.Builder
, which maintain a set of all explicitly set fields called
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).Modifier and Type | Class and Description |
---|---|
static class |
SteeringPolicyAnswer.Builder |
Constructor and Description |
---|
SteeringPolicyAnswer(String name,
String rtype,
String rdata,
String pool,
Boolean isDisabled)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static SteeringPolicyAnswer.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
Boolean |
getIsDisabled()
Set this property to
true to indicate that the answer is administratively disabled,
such as when the corresponding server is down for maintenance. |
String |
getName()
A user-friendly name for the answer, unique within the steering policy.
|
String |
getPool()
The freeform name of a group of one or more records in which this record is included,
such as “LAX data center”.
|
String |
getRdata()
The record’s data, as whitespace-delimited tokens in
type-specific presentation format.
|
String |
getRtype()
The type of DNS record, such as A or CNAME.
|
int |
hashCode() |
SteeringPolicyAnswer.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"name","rtype","rdata","pool","isDisabled"}) @Deprecated public SteeringPolicyAnswer(String name, String rtype, String rdata, String pool, Boolean isDisabled)
public static SteeringPolicyAnswer.Builder builder()
Create a new builder.
public SteeringPolicyAnswer.Builder toBuilder()
public String getName()
A user-friendly name for the answer, unique within the steering policy.
An answer’s name
property can be referenced in answerCondition
properties
of rules using answer.name
.
*Example:**
"rules": [ { "ruleType": "FILTER", "defaultAnswerData": [ { "answerCondition": "answer.name == 'server 1'", "shouldKeep": true } ] } ]
public String getRtype()
The type of DNS record, such as A or CNAME. Only A, AAAA, and CNAME are supported. For more information, see Supported DNS Resource Record Types.
public String getRdata()
The record’s data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see Supported DNS Resource Record Types.
public String getPool()
The freeform name of a group of one or more records in which this record is included,
such as “LAX data center”. An answer’s pool
property can be referenced in answerCondition
properties of rules using answer.pool
.
*Example:**
"rules": [ { "ruleType": "FILTER", "defaultAnswerData": [ { "answerCondition": "answer.pool == 'US East Servers'", "shouldKeep": true } ] } ]
public Boolean getIsDisabled()
Set this property to true
to indicate that the answer is administratively disabled,
such as when the corresponding server is down for maintenance. An answer’s isDisabled
property can be referenced in answerCondition
properties in rules using answer.isDisabled
.
*Example:** "rules": [ { "ruleType": "FILTER", "defaultAnswerData": [ { "answerCondition": "answer.isDisabled != true", "shouldKeep": true } ] },
Copyright © 2016–2022. All rights reserved.