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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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- 
timeCollectedpublic HostAllocation.Builder timeCollected(Date timeCollected) 
 - 
resourceNamepublic HostAllocation.Builder resourceName(String resourceName) Name of the host resource- Parameters:
- resourceName- the value to set
- Returns:
- this builder
 
 - 
resourceValuepublic HostAllocation.Builder resourceValue(Long resourceValue) Value of the host resource- Parameters:
- resourceValue- the value to set
- Returns:
- this builder
 
 - 
buildpublic HostAllocation build() 
 - 
copypublic HostAllocation.Builder copy(HostAllocation model) 
 
- 
 
-