Package com.ibm.cloud.is.vpc.v1.model
Class ImageIdentityByCRN.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.ImageIdentityByCRN.Builder
-
- Enclosing class:
- ImageIdentityByCRN
public static class ImageIdentityByCRN.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(ImageIdentity imageIdentityByCrn)
Instantiates a new Builder from an existing ImageIdentityByCRN instance.Builder(String crn)
Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageIdentityByCRN
build()
Builds a ImageIdentityByCRN.ImageIdentityByCRN.Builder
crn(String crn)
Set the crn.
-
-
-
Constructor Detail
-
Builder
public Builder(ImageIdentity imageIdentityByCrn)
Instantiates a new Builder from an existing ImageIdentityByCRN instance.- Parameters:
imageIdentityByCrn
- 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 ImageIdentityByCRN build()
Builds a ImageIdentityByCRN.- Returns:
- the new ImageIdentityByCRN instance
-
crn
public ImageIdentityByCRN.Builder crn(String crn)
Set the crn.- Parameters:
crn
- the crn- Returns:
- the ImageIdentityByCRN builder
-
-