Package com.oracle.bmc.core.model
Class RecycleDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.RecycleDetails.Builder
-
- Enclosing class:
- RecycleDetails
public static class RecycleDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecycleDetailsbuild()RecycleDetails.BuildercomputeHostGroupId(String computeHostGroupId)The OCID of the compute host group this host was attached to at the time of recycle.RecycleDetails.Buildercopy(RecycleDetails model)RecycleDetails.BuilderrecycleLevel(RecycleDetails.RecycleLevel recycleLevel)Preferred recycle level for hosts associated with the reservation config.
-
-
-
Method Detail
-
recycleLevel
public RecycleDetails.Builder recycleLevel(RecycleDetails.RecycleLevel recycleLevel)
Preferred recycle level for hosts associated with the reservation config.SKIP_RECYCLE - Skips host wipe. * FULL_RECYCLE - Does not skip host wipe. This is the default behavior.
- Parameters:
recycleLevel- the value to set- Returns:
- this builder
-
computeHostGroupId
public RecycleDetails.Builder computeHostGroupId(String computeHostGroupId)
The OCID of the compute host group this host was attached to at the time of recycle.- Parameters:
computeHostGroupId- the value to set- Returns:
- this builder
-
build
public RecycleDetails build()
-
copy
public RecycleDetails.Builder copy(RecycleDetails model)
-
-