Package com.oracle.bmc.opsi.model
Class HostAllocation.Builder
- java.lang.Object
-
- com.oracle.bmc.opsi.model.HostAllocation.Builder
-
- Enclosing class:
- HostAllocation
public static class HostAllocation.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HostAllocationbuild()HostAllocation.Buildercopy(HostAllocation model)HostAllocation.BuilderresourceName(String resourceName)Name of the host resourceHostAllocation.BuilderresourceValue(Long resourceValue)Value of the host resourceHostAllocation.BuildertimeCollected(Date timeCollected)
-
-
-
Method Detail
-
timeCollected
public HostAllocation.Builder timeCollected(Date timeCollected)
-
resourceName
public HostAllocation.Builder resourceName(String resourceName)
Name of the host resource- Parameters:
resourceName- the value to set- Returns:
- this builder
-
resourceValue
public HostAllocation.Builder resourceValue(Long resourceValue)
Value of the host resource- Parameters:
resourceValue- the value to set- Returns:
- this builder
-
build
public HostAllocation build()
-
copy
public HostAllocation.Builder copy(HostAllocation model)
-
-