Class OlvmPowerManagement.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudmigrations.model.OlvmPowerManagement.Builder
-
- Enclosing class:
- OlvmPowerManagement
public static class OlvmPowerManagement.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OlvmPowerManagement.Builderaddress(String address)Address of power managementOlvmPowerManagement.Builderagents(List<OlvmAgent> agents)Supported sources of random number generator.OlvmPowerManagementbuild()OlvmPowerManagement.Buildercopy(OlvmPowerManagement model)OlvmPowerManagement.BuilderisAutomaticPmEnabled(Boolean isAutomaticPmEnabled)Toggles the automated power control of the host in order to save energy.OlvmPowerManagement.BuilderisEnabled(Boolean isEnabled)Indicates whether power management configuration is enabled or disabled.OlvmPowerManagement.BuilderisKDumpDetection(Boolean isKDumpDetection)Toggles whether to determine if kdump is running on the host before it is shut down.OlvmPowerManagement.BuilderpmProxies(List<OlvmPmProxy> pmProxies)Determines the power management proxy.OlvmPowerManagement.Builderstatus(OlvmPowerManagement.Status status)Determines the power status of the host.OlvmPowerManagement.Buildertype(String type)Fencing device code.OlvmPowerManagement.Builderusername(String username)A valid user name for power management.
-
-
-
Method Detail
-
address
public OlvmPowerManagement.Builder address(String address)
Address of power management- Parameters:
address- the value to set- Returns:
- this builder
-
agents
public OlvmPowerManagement.Builder agents(List<OlvmAgent> agents)
Supported sources of random number generator.- Parameters:
agents- the value to set- Returns:
- this builder
-
isAutomaticPmEnabled
public OlvmPowerManagement.Builder isAutomaticPmEnabled(Boolean isAutomaticPmEnabled)
Toggles the automated power control of the host in order to save energy.- Parameters:
isAutomaticPmEnabled- the value to set- Returns:
- this builder
-
isEnabled
public OlvmPowerManagement.Builder isEnabled(Boolean isEnabled)
Indicates whether power management configuration is enabled or disabled.- Parameters:
isEnabled- the value to set- Returns:
- this builder
-
isKDumpDetection
public OlvmPowerManagement.Builder isKDumpDetection(Boolean isKDumpDetection)
Toggles whether to determine if kdump is running on the host before it is shut down.- Parameters:
isKDumpDetection- the value to set- Returns:
- this builder
-
pmProxies
public OlvmPowerManagement.Builder pmProxies(List<OlvmPmProxy> pmProxies)
Determines the power management proxy.- Parameters:
pmProxies- the value to set- Returns:
- this builder
-
status
public OlvmPowerManagement.Builder status(OlvmPowerManagement.Status status)
Determines the power status of the host.- Parameters:
status- the value to set- Returns:
- this builder
-
type
public OlvmPowerManagement.Builder type(String type)
Fencing device code.- Parameters:
type- the value to set- Returns:
- this builder
-
username
public OlvmPowerManagement.Builder username(String username)
A valid user name for power management.- Parameters:
username- the value to set- Returns:
- this builder
-
build
public OlvmPowerManagement build()
-
copy
public OlvmPowerManagement.Builder copy(OlvmPowerManagement model)
-
-