Class CreateDnszoneOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.networking.dns_svcs.v1.model.CreateDnszoneOptions.Builder
-
- Enclosing class:
- CreateDnszoneOptions
public static class CreateDnszoneOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateDnszoneOptions
build()
Builds a CreateDnszoneOptions.CreateDnszoneOptions.Builder
description(String description)
Set the description.CreateDnszoneOptions.Builder
instanceId(String instanceId)
Set the instanceId.CreateDnszoneOptions.Builder
label(String label)
Set the label.CreateDnszoneOptions.Builder
name(String name)
Set the name.CreateDnszoneOptions.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 CreateDnszoneOptions build()
Builds a CreateDnszoneOptions.- Returns:
- the new CreateDnszoneOptions instance
-
instanceId
public CreateDnszoneOptions.Builder instanceId(String instanceId)
Set the instanceId.- Parameters:
instanceId
- the instanceId- Returns:
- the CreateDnszoneOptions builder
-
name
public CreateDnszoneOptions.Builder name(String name)
Set the name.- Parameters:
name
- the name- Returns:
- the CreateDnszoneOptions builder
-
description
public CreateDnszoneOptions.Builder description(String description)
Set the description.- Parameters:
description
- the description- Returns:
- the CreateDnszoneOptions builder
-
label
public CreateDnszoneOptions.Builder label(String label)
Set the label.- Parameters:
label
- the label- Returns:
- the CreateDnszoneOptions builder
-
xCorrelationId
public CreateDnszoneOptions.Builder xCorrelationId(String xCorrelationId)
Set the xCorrelationId.- Parameters:
xCorrelationId
- the xCorrelationId- Returns:
- the CreateDnszoneOptions builder
-
-