Class CreateLinkedZoneOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.networking.dns_svcs.v1.model.CreateLinkedZoneOptions.Builder
-
- Enclosing class:
- CreateLinkedZoneOptions
public static class CreateLinkedZoneOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateLinkedZoneOptions
build()
Builds a CreateLinkedZoneOptions.CreateLinkedZoneOptions.Builder
description(String description)
Set the description.CreateLinkedZoneOptions.Builder
instanceId(String instanceId)
Set the instanceId.CreateLinkedZoneOptions.Builder
label(String label)
Set the label.CreateLinkedZoneOptions.Builder
ownerInstanceId(String ownerInstanceId)
Set the ownerInstanceId.CreateLinkedZoneOptions.Builder
ownerZoneId(String ownerZoneId)
Set the ownerZoneId.CreateLinkedZoneOptions.Builder
xCorrelationId(String xCorrelationId)
Set the xCorrelationId.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(String instanceId)
Instantiates a new builder with required properties.- Parameters:
instanceId
- the instanceId
-
-
Method Detail
-
build
public CreateLinkedZoneOptions build()
Builds a CreateLinkedZoneOptions.- Returns:
- the new CreateLinkedZoneOptions instance
-
instanceId
public CreateLinkedZoneOptions.Builder instanceId(String instanceId)
Set the instanceId.- Parameters:
instanceId
- the instanceId- Returns:
- the CreateLinkedZoneOptions builder
-
ownerInstanceId
public CreateLinkedZoneOptions.Builder ownerInstanceId(String ownerInstanceId)
Set the ownerInstanceId.- Parameters:
ownerInstanceId
- the ownerInstanceId- Returns:
- the CreateLinkedZoneOptions builder
-
ownerZoneId
public CreateLinkedZoneOptions.Builder ownerZoneId(String ownerZoneId)
Set the ownerZoneId.- Parameters:
ownerZoneId
- the ownerZoneId- Returns:
- the CreateLinkedZoneOptions builder
-
description
public CreateLinkedZoneOptions.Builder description(String description)
Set the description.- Parameters:
description
- the description- Returns:
- the CreateLinkedZoneOptions builder
-
label
public CreateLinkedZoneOptions.Builder label(String label)
Set the label.- Parameters:
label
- the label- Returns:
- the CreateLinkedZoneOptions builder
-
xCorrelationId
public CreateLinkedZoneOptions.Builder xCorrelationId(String xCorrelationId)
Set the xCorrelationId.- Parameters:
xCorrelationId
- the xCorrelationId- Returns:
- the CreateLinkedZoneOptions builder
-
-