public static class HostCpuRecommendations.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HostCpuRecommendations |
build() |
HostCpuRecommendations.Builder |
burstable(HostCpuRecommendations.Burstable burstable)
Show if OPSI recommends to convert an instance to a burstable instance and show
recommended cpu baseline if positive recommendation.
|
HostCpuRecommendations.Builder |
copy(HostCpuRecommendations model) |
HostCpuRecommendations.Builder |
isAbandonedInstance(Boolean isAbandonedInstance)
Identify if an instance is abandoned.
|
HostCpuRecommendations.Builder |
shape(String shape)
Show if OPSI recommends to change the shape of an instance and show recommended shape
based on CPU utilization.
|
HostCpuRecommendations.Builder |
unusedInstance(HostCpuRecommendations.UnusedInstance unusedInstance)
Identify unused instances based on cpu, memory and network metrics.
|
public HostCpuRecommendations.Builder burstable(HostCpuRecommendations.Burstable burstable)
Show if OPSI recommends to convert an instance to a burstable instance and show recommended cpu baseline if positive recommendation.
burstable
- the value to setpublic HostCpuRecommendations.Builder shape(String shape)
Show if OPSI recommends to change the shape of an instance and show recommended shape based on CPU utilization.
shape
- the value to setpublic HostCpuRecommendations.Builder unusedInstance(HostCpuRecommendations.UnusedInstance unusedInstance)
Identify unused instances based on cpu, memory and network metrics.
unusedInstance
- the value to setpublic HostCpuRecommendations.Builder isAbandonedInstance(Boolean isAbandonedInstance)
Identify if an instance is abandoned.
isAbandonedInstance
- the value to setpublic HostCpuRecommendations build()
public HostCpuRecommendations.Builder copy(HostCpuRecommendations model)
Copyright © 2016–2024. All rights reserved.