Package com.ibm.cloud.is.vpc.v1.model
Class SubnetIdentityById.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.SubnetIdentityById.Builder
-
- Enclosing class:
- SubnetIdentityById
public static class SubnetIdentityById.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(SubnetIdentity subnetIdentityById)
Instantiates a new Builder from an existing SubnetIdentityById instance.Builder(String id)
Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubnetIdentityById
build()
Builds a SubnetIdentityById.SubnetIdentityById.Builder
id(String id)
Set the id.
-
-
-
Constructor Detail
-
Builder
public Builder(SubnetIdentity subnetIdentityById)
Instantiates a new Builder from an existing SubnetIdentityById instance.- Parameters:
subnetIdentityById
- the instance to initialize the Builder with
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(String id)
Instantiates a new builder with required properties.- Parameters:
id
- the id
-
-
Method Detail
-
build
public SubnetIdentityById build()
Builds a SubnetIdentityById.- Returns:
- the new SubnetIdentityById instance
-
id
public SubnetIdentityById.Builder id(String id)
Set the id.- Parameters:
id
- the id- Returns:
- the SubnetIdentityById builder
-
-