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