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