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