Class CreateSecondaryZoneOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.networking.dns_svcs.v1.model.CreateSecondaryZoneOptions.Builder
-
- Enclosing class:
- CreateSecondaryZoneOptions
public static class CreateSecondaryZoneOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateSecondaryZoneOptions.Builder
addTransferFrom(String transferFrom)
Adds an transferFrom to transferFrom.CreateSecondaryZoneOptions
build()
Builds a CreateSecondaryZoneOptions.CreateSecondaryZoneOptions.Builder
description(String description)
Set the description.CreateSecondaryZoneOptions.Builder
enabled(Boolean enabled)
Set the enabled.CreateSecondaryZoneOptions.Builder
instanceId(String instanceId)
Set the instanceId.CreateSecondaryZoneOptions.Builder
resolverId(String resolverId)
Set the resolverId.CreateSecondaryZoneOptions.Builder
transferFrom(List<String> transferFrom)
Set the transferFrom.CreateSecondaryZoneOptions.Builder
xCorrelationId(String xCorrelationId)
Set the xCorrelationId.CreateSecondaryZoneOptions.Builder
zone(String zone)
Set the zone.
-
-
-
Method Detail
-
build
public CreateSecondaryZoneOptions build()
Builds a CreateSecondaryZoneOptions.- Returns:
- the new CreateSecondaryZoneOptions instance
-
addTransferFrom
public CreateSecondaryZoneOptions.Builder addTransferFrom(String transferFrom)
Adds an transferFrom to transferFrom.- Parameters:
transferFrom
- the new transferFrom- Returns:
- the CreateSecondaryZoneOptions builder
-
instanceId
public CreateSecondaryZoneOptions.Builder instanceId(String instanceId)
Set the instanceId.- Parameters:
instanceId
- the instanceId- Returns:
- the CreateSecondaryZoneOptions builder
-
resolverId
public CreateSecondaryZoneOptions.Builder resolverId(String resolverId)
Set the resolverId.- Parameters:
resolverId
- the resolverId- Returns:
- the CreateSecondaryZoneOptions builder
-
description
public CreateSecondaryZoneOptions.Builder description(String description)
Set the description.- Parameters:
description
- the description- Returns:
- the CreateSecondaryZoneOptions builder
-
zone
public CreateSecondaryZoneOptions.Builder zone(String zone)
Set the zone.- Parameters:
zone
- the zone- Returns:
- the CreateSecondaryZoneOptions builder
-
enabled
public CreateSecondaryZoneOptions.Builder enabled(Boolean enabled)
Set the enabled.- Parameters:
enabled
- the enabled- Returns:
- the CreateSecondaryZoneOptions builder
-
transferFrom
public CreateSecondaryZoneOptions.Builder transferFrom(List<String> transferFrom)
Set the transferFrom. Existing transferFrom will be replaced.- Parameters:
transferFrom
- the transferFrom- Returns:
- the CreateSecondaryZoneOptions builder
-
xCorrelationId
public CreateSecondaryZoneOptions.Builder xCorrelationId(String xCorrelationId)
Set the xCorrelationId.- Parameters:
xCorrelationId
- the xCorrelationId- Returns:
- the CreateSecondaryZoneOptions builder
-
-