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