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