Class ZoneInfo.DnsSecConfig.Builder (2.42.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
Type Description
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
Name Description
defaultKeySpecs List<KeySpec>
Returns
Type Description
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
Name Description
nonExistence String
Returns
Type Description
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
Name Description
state String
Returns
Type Description
ZoneInfo.DnsSecConfig.Builder