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