Class OlvmPowerManagement
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cloudmigrations.model.OlvmPowerManagement
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220919") public final class OlvmPowerManagement extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelOLVM Power management definitions
Note: Objects should always be created or deserialized using theOlvmPowerManagement.Builder.This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the
OlvmPowerManagement.Builder, which maintain a set of all explicitly set fields calledOlvmPowerManagement.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOlvmPowerManagement.Builderstatic classOlvmPowerManagement.StatusDetermines the power status of the host.
-
Constructor Summary
Constructors Constructor Description OlvmPowerManagement(String address, List<OlvmAgent> agents, Boolean isAutomaticPmEnabled, Boolean isEnabled, Boolean isKDumpDetection, List<OlvmPmProxy> pmProxies, OlvmPowerManagement.Status status, String type, String username)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OlvmPowerManagement.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAddress()Address of power managementList<OlvmAgent>getAgents()Supported sources of random number generator.BooleangetIsAutomaticPmEnabled()Toggles the automated power control of the host in order to save energy.BooleangetIsEnabled()Indicates whether power management configuration is enabled or disabled.BooleangetIsKDumpDetection()Toggles whether to determine if kdump is running on the host before it is shut down.List<OlvmPmProxy>getPmProxies()Determines the power management proxy.OlvmPowerManagement.StatusgetStatus()Determines the power status of the host.StringgetType()Fencing device code.StringgetUsername()A valid user name for power management.inthashCode()OlvmPowerManagement.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
OlvmPowerManagement
@Deprecated @ConstructorProperties({"address","agents","isAutomaticPmEnabled","isEnabled","isKDumpDetection","pmProxies","status","type","username"}) public OlvmPowerManagement(String address, List<OlvmAgent> agents, Boolean isAutomaticPmEnabled, Boolean isEnabled, Boolean isKDumpDetection, List<OlvmPmProxy> pmProxies, OlvmPowerManagement.Status status, String type, String username)
Deprecated.
-
-
Method Detail
-
builder
public static OlvmPowerManagement.Builder builder()
Create a new builder.
-
toBuilder
public OlvmPowerManagement.Builder toBuilder()
-
getAddress
public String getAddress()
Address of power management- Returns:
- the value
-
getAgents
public List<OlvmAgent> getAgents()
Supported sources of random number generator.- Returns:
- the value
-
getIsAutomaticPmEnabled
public Boolean getIsAutomaticPmEnabled()
Toggles the automated power control of the host in order to save energy.- Returns:
- the value
-
getIsEnabled
public Boolean getIsEnabled()
Indicates whether power management configuration is enabled or disabled.- Returns:
- the value
-
getIsKDumpDetection
public Boolean getIsKDumpDetection()
Toggles whether to determine if kdump is running on the host before it is shut down.- Returns:
- the value
-
getPmProxies
public List<OlvmPmProxy> getPmProxies()
Determines the power management proxy.- Returns:
- the value
-
getStatus
public OlvmPowerManagement.Status getStatus()
Determines the power status of the host.- Returns:
- the value
-
getType
public String getType()
Fencing device code.- Returns:
- the value
-
getUsername
public String getUsername()
A valid user name for power management.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-