@Generated(value="OracleSDKGenerator", comments="API Version: 20180115") public final class ExternalMaster extends Object
An external master name server used as the source of zone data. May either have a zone-embedded TSIG or reference a TSIG key by OCID, but not both.
ExternalMaster.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 ExternalMaster.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 |
ExternalMaster.Builder |
Constructor and Description |
---|
ExternalMaster(String address,
Integer port,
TSIG tsig,
String tsigKeyId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ExternalMaster.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getAddress()
The server’s IP address (IPv4 or IPv6).
|
Integer |
getPort()
The server’s port.
|
TSIG |
getTsig() |
String |
getTsigKeyId()
The OCID of the TSIG key.
|
int |
hashCode() |
ExternalMaster.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"address","port","tsig","tsigKeyId"}) @Deprecated public ExternalMaster(String address, Integer port, TSIG tsig, String tsigKeyId)
public static ExternalMaster.Builder builder()
Create a new builder.
public ExternalMaster.Builder toBuilder()
public String getAddress()
The server’s IP address (IPv4 or IPv6).
public Integer getPort()
The server’s port. Port value must be a value of 53, otherwise omit the port value.
public TSIG getTsig()
public String getTsigKeyId()
The OCID of the TSIG key.
Copyright © 2016–2021. All rights reserved.