Package com.ibm.cloud.is.vpc.v1.model
Class ReservationCommittedUsePatch
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.ReservationCommittedUsePatch
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ReservationCommittedUsePatch extends com.ibm.cloud.sdk.core.service.model.GenericModel
ReservationCommittedUsePatch.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReservationCommittedUsePatch.Builder
Builder.static interface
ReservationCommittedUsePatch.ExpirationPolicy
The policy to apply when the committed use term expires: - `release`: Release any available capacity and let the reservation expire.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
expirationPolicy()
Gets the expirationPolicy.ReservationCommittedUsePatch.Builder
newBuilder()
New builder.String
term()
Gets the term.
-
-
-
Method Detail
-
newBuilder
public ReservationCommittedUsePatch.Builder newBuilder()
New builder.- Returns:
- a ReservationCommittedUsePatch builder
-
expirationPolicy
public String expirationPolicy()
Gets the expirationPolicy. The policy to apply when the committed use term expires: - `release`: Release any available capacity and let the reservation expire. - `renew`: Renew for another term, provided the term remains listed in the `reservation_terms` for the profile. Otherwise, let the reservation expire.- Returns:
- the expirationPolicy
-
term
public String term()
Gets the term. The term for this committed use reservation: - `one_year`: 1 year - `three_year`: 3 years The specified value must be listed in the `reservation_terms` in the profile for this reservation. The term can only be changed for a reservation with a `status` of `inactive`.- Returns:
- the term
-
-