Class ZoneInfo.DnsSecConfig.Builder (2.16.0)

public static class ZoneInfo.DnsSecConfig.Builder

Inheritance

java.lang.Object > ZoneInfo.DnsSecConfig.Builder

Methods

build()

public ZoneInfo.DnsSecConfig build()

Creates a DnsSecConfig object.

Returns
TypeDescription
ZoneInfo.DnsSecConfig

setDefaultKeySpecs(List<ZoneInfo.KeySpec> defaultKeySpecs)

public ZoneInfo.DnsSecConfig.Builder setDefaultKeySpecs(List<ZoneInfo.KeySpec> defaultKeySpecs)

Specifies parameters for generating initial DnsKeys for this ManagedZone. This can be change while state is OFF.

Parameter
NameDescription
defaultKeySpecsList<KeySpec>
Returns
TypeDescription
ZoneInfo.DnsSecConfig.Builder

setNonExistence(String nonExistence)

public ZoneInfo.DnsSecConfig.Builder setNonExistence(String nonExistence)

Specifies the mechanism for authenticated denial-of-existence responses. This can be change while state is OFF. Acceptable values are 'nsec' or 'nsec3'.

Parameter
NameDescription
nonExistenceString
Returns
TypeDescription
ZoneInfo.DnsSecConfig.Builder

setState(String state)

public ZoneInfo.DnsSecConfig.Builder setState(String state)

Specifies whether DNSSEC is enabled, and what mode it is in. Acceptable values are 'on', 'off' or 'transfer'.

Parameter
NameDescription
stateString
Returns
TypeDescription
ZoneInfo.DnsSecConfig.Builder