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