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