Package com.ibm.cloud.is.vpc.v1.model
Class InstanceReservationAffinity
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.InstanceReservationAffinity
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class InstanceReservationAffinity extends com.ibm.cloud.sdk.core.service.model.GenericModelInstanceReservationAffinity.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInstanceReservationAffinity.PolicyThe reservation affinity policy to use for this virtual server instance: - `disabled`: Reservations will not be used - `manual`: Reservations in `pool` are available for use.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPolicy()Gets the policy.List<ReservationReference>getPool()Gets the pool.
-
-
-
Method Detail
-
getPolicy
public String getPolicy()
Gets the policy. The reservation affinity policy to use for this virtual server instance: - `disabled`: Reservations will not be used - `manual`: Reservations in `pool` are available for use.- Returns:
- the policy
-
getPool
public List<ReservationReference> getPool()
Gets the pool. The pool of reservations available for use by this virtual server instance.- Returns:
- the pool
-
-