public static class CreateZoneDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateZoneDetails |
build() |
CreateZoneDetails.Builder |
compartmentId(String compartmentId) |
CreateZoneDetails.Builder |
copy(CreateZoneDetails model) |
CreateZoneDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags) |
CreateZoneDetails.Builder |
externalDownstreams(List<ExternalDownstream> externalDownstreams)
External secondary servers for the zone.
|
CreateZoneDetails.Builder |
externalMasters(List<ExternalMaster> externalMasters)
External master servers for the zone.
|
CreateZoneDetails.Builder |
freeformTags(Map<String,String> freeformTags) |
CreateZoneDetails.Builder |
name(String name) |
CreateZoneDetails.Builder |
scope(Scope scope)
The scope of the zone.
|
CreateZoneDetails.Builder |
viewId(String viewId)
This value will be null for zones in the global DNS.
|
CreateZoneDetails.Builder |
zoneType(CreateZoneDetails.ZoneType zoneType)
The type of the zone.
|
public CreateZoneDetails.Builder name(String name)
public CreateZoneDetails.Builder compartmentId(String compartmentId)
public CreateZoneDetails.Builder freeformTags(Map<String,String> freeformTags)
public CreateZoneDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
public CreateZoneDetails.Builder zoneType(CreateZoneDetails.ZoneType zoneType)
The type of the zone. Must be either PRIMARY
or SECONDARY
. SECONDARY
is only supported for GLOBAL zones.
zoneType
- the value to setpublic CreateZoneDetails.Builder viewId(String viewId)
This value will be null for zones in the global DNS.
viewId
- the value to setpublic CreateZoneDetails.Builder scope(Scope scope)
The scope of the zone.
scope
- the value to setpublic CreateZoneDetails.Builder externalMasters(List<ExternalMaster> externalMasters)
External master servers for the zone. externalMasters
becomes a required
parameter when the zoneType
value is SECONDARY
.
externalMasters
- the value to setpublic CreateZoneDetails.Builder externalDownstreams(List<ExternalDownstream> externalDownstreams)
External secondary servers for the zone. This field is currently not supported when
zoneType
is SECONDARY
or scope
is PRIVATE
.
externalDownstreams
- the value to setpublic CreateZoneDetails build()
public CreateZoneDetails.Builder copy(CreateZoneDetails model)
Copyright © 2016–2024. All rights reserved.