Class AddCustomResolverLocationOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.networking.dns_svcs.v1.model.AddCustomResolverLocationOptions.Builder
-
- Enclosing class:
- AddCustomResolverLocationOptions
public static class AddCustomResolverLocationOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddCustomResolverLocationOptions
build()
Builds a AddCustomResolverLocationOptions.AddCustomResolverLocationOptions.Builder
enabled(Boolean enabled)
Set the enabled.AddCustomResolverLocationOptions.Builder
instanceId(String instanceId)
Set the instanceId.AddCustomResolverLocationOptions.Builder
resolverId(String resolverId)
Set the resolverId.AddCustomResolverLocationOptions.Builder
subnetCrn(String subnetCrn)
Set the subnetCrn.AddCustomResolverLocationOptions.Builder
xCorrelationId(String xCorrelationId)
Set the xCorrelationId.
-
-
-
Method Detail
-
build
public AddCustomResolverLocationOptions build()
Builds a AddCustomResolverLocationOptions.- Returns:
- the new AddCustomResolverLocationOptions instance
-
instanceId
public AddCustomResolverLocationOptions.Builder instanceId(String instanceId)
Set the instanceId.- Parameters:
instanceId
- the instanceId- Returns:
- the AddCustomResolverLocationOptions builder
-
resolverId
public AddCustomResolverLocationOptions.Builder resolverId(String resolverId)
Set the resolverId.- Parameters:
resolverId
- the resolverId- Returns:
- the AddCustomResolverLocationOptions builder
-
subnetCrn
public AddCustomResolverLocationOptions.Builder subnetCrn(String subnetCrn)
Set the subnetCrn.- Parameters:
subnetCrn
- the subnetCrn- Returns:
- the AddCustomResolverLocationOptions builder
-
enabled
public AddCustomResolverLocationOptions.Builder enabled(Boolean enabled)
Set the enabled.- Parameters:
enabled
- the enabled- Returns:
- the AddCustomResolverLocationOptions builder
-
xCorrelationId
public AddCustomResolverLocationOptions.Builder xCorrelationId(String xCorrelationId)
Set the xCorrelationId.- Parameters:
xCorrelationId
- the xCorrelationId- Returns:
- the AddCustomResolverLocationOptions builder
-
-