Package com.ibm.cloud.is.vpc.v1.model
Class ReservationPatch.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.ReservationPatch.Builder
-
- Enclosing class:
- ReservationPatch
public static class ReservationPatch.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReservationPatch
build()
Builds a ReservationPatch.ReservationPatch.Builder
capacity(ReservationCapacityPatch capacity)
Set the capacity.ReservationPatch.Builder
committedUse(ReservationCommittedUsePatch committedUse)
Set the committedUse.ReservationPatch.Builder
name(String name)
Set the name.ReservationPatch.Builder
profile(ReservationProfilePatch profile)
Set the profile.
-
-
-
Method Detail
-
build
public ReservationPatch build()
Builds a ReservationPatch.- Returns:
- the new ReservationPatch instance
-
capacity
public ReservationPatch.Builder capacity(ReservationCapacityPatch capacity)
Set the capacity.- Parameters:
capacity
- the capacity- Returns:
- the ReservationPatch builder
-
committedUse
public ReservationPatch.Builder committedUse(ReservationCommittedUsePatch committedUse)
Set the committedUse.- Parameters:
committedUse
- the committedUse- Returns:
- the ReservationPatch builder
-
name
public ReservationPatch.Builder name(String name)
Set the name.- Parameters:
name
- the name- Returns:
- the ReservationPatch builder
-
profile
public ReservationPatch.Builder profile(ReservationProfilePatch profile)
Set the profile.- Parameters:
profile
- the profile- Returns:
- the ReservationPatch builder
-
-