Class LocationInput.Builder
- java.lang.Object
-
- com.ibm.cloud.networking.dns_svcs.v1.model.LocationInput.Builder
-
- Enclosing class:
- LocationInput
public static class LocationInput.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocationInputbuild()Builds a LocationInput.LocationInput.Builderenabled(Boolean enabled)Set the enabled.LocationInput.BuildersubnetCrn(String subnetCrn)Set the subnetCrn.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(String subnetCrn)
Instantiates a new builder with required properties.- Parameters:
subnetCrn- the subnetCrn
-
-
Method Detail
-
build
public LocationInput build()
Builds a LocationInput.- Returns:
- the new LocationInput instance
-
subnetCrn
public LocationInput.Builder subnetCrn(String subnetCrn)
Set the subnetCrn.- Parameters:
subnetCrn- the subnetCrn- Returns:
- the LocationInput builder
-
enabled
public LocationInput.Builder enabled(Boolean enabled)
Set the enabled.- Parameters:
enabled- the enabled- Returns:
- the LocationInput builder
-
-