public static class HostAllocation.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HostAllocation |
build() |
HostAllocation.Builder |
copy(HostAllocation model) |
HostAllocation.Builder |
resourceName(String resourceName)
Name of the host resource
|
HostAllocation.Builder |
resourceValue(Long resourceValue)
Value of the host resource
|
HostAllocation.Builder |
timeCollected(Date timeCollected) |
public HostAllocation.Builder timeCollected(Date timeCollected)
public HostAllocation.Builder resourceName(String resourceName)
Name of the host resource
resourceName
- the value to setpublic HostAllocation.Builder resourceValue(Long resourceValue)
Value of the host resource
resourceValue
- the value to setpublic HostAllocation build()
public HostAllocation.Builder copy(HostAllocation model)
Copyright © 2016–2024. All rights reserved.