Package com.ibm.cloud.is.vpc.v1.model
Class CreateVolumeOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.CreateVolumeOptions.Builder
-
- Enclosing class:
- CreateVolumeOptions
public static class CreateVolumeOptions.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(VolumePrototype volumePrototype)
Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateVolumeOptions
build()
Builds a CreateVolumeOptions.CreateVolumeOptions.Builder
volumePrototype(VolumePrototype volumePrototype)
Set the volumePrototype.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(VolumePrototype volumePrototype)
Instantiates a new builder with required properties.- Parameters:
volumePrototype
- the volumePrototype
-
-
Method Detail
-
build
public CreateVolumeOptions build()
Builds a CreateVolumeOptions.- Returns:
- the new CreateVolumeOptions instance
-
volumePrototype
public CreateVolumeOptions.Builder volumePrototype(VolumePrototype volumePrototype)
Set the volumePrototype.- Parameters:
volumePrototype
- the volumePrototype- Returns:
- the CreateVolumeOptions builder
-
-