Class ReservationPatch.Builder
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.ReservationPatch.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaffinityPolicy(String affinityPolicy) Set the affinityPolicy.build()Builds a ReservationPatch.capacity(ReservationCapacityPatch capacity) Set the capacity.committedUse(ReservationCommittedUsePatch committedUse) Set the committedUse.Set the name.profile(ReservationProfilePatch profile) Set the profile.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a ReservationPatch.- Returns:
- the new ReservationPatch instance
-
affinityPolicy
Set the affinityPolicy.- Parameters:
affinityPolicy- the affinityPolicy- Returns:
- the ReservationPatch builder
-
capacity
Set the capacity.- Parameters:
capacity- the capacity- Returns:
- the ReservationPatch builder
-
committedUse
Set the committedUse.- Parameters:
committedUse- the committedUse- Returns:
- the ReservationPatch builder
-
name
Set the name.- Parameters:
name- the name- Returns:
- the ReservationPatch builder
-
profile
Set the profile.- Parameters:
profile- the profile- Returns:
- the ReservationPatch builder
-