Class OlvmClusterProperties
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cloudmigrations.model.OlvmClusterProperties
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220919") public final class OlvmClusterProperties extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelOLVM Cluster properties.
Note: Objects should always be created or deserialized using theOlvmClusterProperties.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 theOlvmClusterProperties.Builder, which maintain a set of all explicitly set fields calledOlvmClusterProperties.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 classOlvmClusterProperties.Builderstatic classOlvmClusterProperties.FipsModeFIPS mode of the cluster.static classOlvmClusterProperties.FirewallTypeThe type of firewall to be used on hosts in this cluster.static classOlvmClusterProperties.LogMaxMemoryUsedThresholdTypeThe memory consumption threshold type for logging audit log events.static classOlvmClusterProperties.SwitchTypeDescribes all switch types supported by the Manager
-
Constructor Summary
Constructors Constructor Description OlvmClusterProperties(String clusterName, String clusterDescription, String comment, Boolean isBallooningEnabled, OlvmBiosType biosType, OlvmCpu cpu, List<OlvmProperty> customSchedulingPolicyProperties, OlvmDisplay display, OlvmErrorHandling errorHandling, OlvmFencingPolicy fencingPolicy, OlvmClusterProperties.FipsMode fipsMode, OlvmClusterProperties.FirewallType firewallType, Boolean isGlusterService, String glusterTunedProfile, Boolean isHaReservation, Ksm ksm, Integer logMaxMemoryUsedThreshold, OlvmClusterProperties.LogMaxMemoryUsedThresholdType logMaxMemoryUsedThresholdType, OlvmMemoryPolicy memoryPolicy, OlvmMigrationOptions migrationPolicy, List<RngSource> requiredRngSources, OlvmSerialNumber serialNumber, List<OlvmVersion> supportedVersions, OlvmClusterProperties.SwitchType switchType, Boolean isUseThreadsAsCores, Boolean isTrustedService, Boolean isTunnelMigration, String upgradeCorrelationId, Boolean isUpdateInProgress, Integer upgradePercentComplete, OlvmVersion version, Boolean isVirtService, Boolean isVncEncryption, List<OlvmDataCenter> dataCenters)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OlvmClusterProperties.Builderbuilder()Create a new builder.booleanequals(Object o)OlvmBiosTypegetBiosType()StringgetClusterDescription()A human-readable description in plain text.StringgetClusterName()A human-readable name in plain text.StringgetComment()Free text containing comments about this object.OlvmCpugetCpu()List<OlvmProperty>getCustomSchedulingPolicyProperties()Custom scheduling policy properties of the cluster.List<OlvmDataCenter>getDataCenters()List of data centers where storage domain belongsOlvmDisplaygetDisplay()OlvmErrorHandlinggetErrorHandling()OlvmFencingPolicygetFencingPolicy()OlvmClusterProperties.FipsModegetFipsMode()FIPS mode of the cluster.OlvmClusterProperties.FirewallTypegetFirewallType()The type of firewall to be used on hosts in this cluster.StringgetGlusterTunedProfile()The name of the tuned profile.BooleangetIsBallooningEnabled()Whether ballooning is enabled.BooleangetIsGlusterService()Indicates if Gluster service is used.BooleangetIsHaReservation()Indicates whether HA reservation is enabled.BooleangetIsTrustedService()Indicates if trusted service is enabledBooleangetIsTunnelMigration()Indicates if tunnel migration is enabledBooleangetIsUpdateInProgress()Indicates if an upgrade has been started for the cluster.BooleangetIsUseThreadsAsCores()Indicates if threads should be used as coresBooleangetIsVirtService()Indicates if virt service is enabled.BooleangetIsVncEncryption()Indicates if VNC encryption is enabled.KsmgetKsm()IntegergetLogMaxMemoryUsedThreshold()The memory consumption threshold for logging audit log eventsOlvmClusterProperties.LogMaxMemoryUsedThresholdTypegetLogMaxMemoryUsedThresholdType()The memory consumption threshold type for logging audit log events.OlvmMemoryPolicygetMemoryPolicy()OlvmMigrationOptionsgetMigrationPolicy()List<RngSource>getRequiredRngSources()Set of random number generator (RNG) sources required from each host in the cluster.OlvmSerialNumbergetSerialNumber()List<OlvmVersion>getSupportedVersions()List of supported versions.OlvmClusterProperties.SwitchTypegetSwitchType()Describes all switch types supported by the ManagerStringgetUpgradeCorrelationId()The upgrade correlation identifier.IntegergetUpgradePercentComplete()If an upgrade is in progress, the upgrade???s reported percent complete.OlvmVersiongetVersion()inthashCode()OlvmClusterProperties.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
OlvmClusterProperties
@Deprecated @ConstructorProperties({"clusterName","clusterDescription","comment","isBallooningEnabled","biosType","cpu","customSchedulingPolicyProperties","display","errorHandling","fencingPolicy","fipsMode","firewallType","isGlusterService","glusterTunedProfile","isHaReservation","ksm","logMaxMemoryUsedThreshold","logMaxMemoryUsedThresholdType","memoryPolicy","migrationPolicy","requiredRngSources","serialNumber","supportedVersions","switchType","isUseThreadsAsCores","isTrustedService","isTunnelMigration","upgradeCorrelationId","isUpdateInProgress","upgradePercentComplete","version","isVirtService","isVncEncryption","dataCenters"}) public OlvmClusterProperties(String clusterName, String clusterDescription, String comment, Boolean isBallooningEnabled, OlvmBiosType biosType, OlvmCpu cpu, List<OlvmProperty> customSchedulingPolicyProperties, OlvmDisplay display, OlvmErrorHandling errorHandling, OlvmFencingPolicy fencingPolicy, OlvmClusterProperties.FipsMode fipsMode, OlvmClusterProperties.FirewallType firewallType, Boolean isGlusterService, String glusterTunedProfile, Boolean isHaReservation, Ksm ksm, Integer logMaxMemoryUsedThreshold, OlvmClusterProperties.LogMaxMemoryUsedThresholdType logMaxMemoryUsedThresholdType, OlvmMemoryPolicy memoryPolicy, OlvmMigrationOptions migrationPolicy, List<RngSource> requiredRngSources, OlvmSerialNumber serialNumber, List<OlvmVersion> supportedVersions, OlvmClusterProperties.SwitchType switchType, Boolean isUseThreadsAsCores, Boolean isTrustedService, Boolean isTunnelMigration, String upgradeCorrelationId, Boolean isUpdateInProgress, Integer upgradePercentComplete, OlvmVersion version, Boolean isVirtService, Boolean isVncEncryption, List<OlvmDataCenter> dataCenters)
Deprecated.
-
-
Method Detail
-
builder
public static OlvmClusterProperties.Builder builder()
Create a new builder.
-
toBuilder
public OlvmClusterProperties.Builder toBuilder()
-
getClusterName
public String getClusterName()
A human-readable name in plain text.- Returns:
- the value
-
getClusterDescription
public String getClusterDescription()
A human-readable description in plain text.- Returns:
- the value
-
getComment
public String getComment()
Free text containing comments about this object.- Returns:
- the value
-
getIsBallooningEnabled
public Boolean getIsBallooningEnabled()
Whether ballooning is enabled.- Returns:
- the value
-
getBiosType
public OlvmBiosType getBiosType()
-
getCpu
public OlvmCpu getCpu()
-
getCustomSchedulingPolicyProperties
public List<OlvmProperty> getCustomSchedulingPolicyProperties()
Custom scheduling policy properties of the cluster.- Returns:
- the value
-
getDisplay
public OlvmDisplay getDisplay()
-
getErrorHandling
public OlvmErrorHandling getErrorHandling()
-
getFencingPolicy
public OlvmFencingPolicy getFencingPolicy()
-
getFipsMode
public OlvmClusterProperties.FipsMode getFipsMode()
FIPS mode of the cluster.- Returns:
- the value
-
getFirewallType
public OlvmClusterProperties.FirewallType getFirewallType()
The type of firewall to be used on hosts in this cluster.- Returns:
- the value
-
getIsGlusterService
public Boolean getIsGlusterService()
Indicates if Gluster service is used.- Returns:
- the value
-
getGlusterTunedProfile
public String getGlusterTunedProfile()
The name of the tuned profile.- Returns:
- the value
-
getIsHaReservation
public Boolean getIsHaReservation()
Indicates whether HA reservation is enabled.- Returns:
- the value
-
getKsm
public Ksm getKsm()
-
getLogMaxMemoryUsedThreshold
public Integer getLogMaxMemoryUsedThreshold()
The memory consumption threshold for logging audit log events- Returns:
- the value
-
getLogMaxMemoryUsedThresholdType
public OlvmClusterProperties.LogMaxMemoryUsedThresholdType getLogMaxMemoryUsedThresholdType()
The memory consumption threshold type for logging audit log events.- Returns:
- the value
-
getMemoryPolicy
public OlvmMemoryPolicy getMemoryPolicy()
-
getMigrationPolicy
public OlvmMigrationOptions getMigrationPolicy()
-
getRequiredRngSources
public List<RngSource> getRequiredRngSources()
Set of random number generator (RNG) sources required from each host in the cluster.- Returns:
- the value
-
getSerialNumber
public OlvmSerialNumber getSerialNumber()
-
getSupportedVersions
public List<OlvmVersion> getSupportedVersions()
List of supported versions.- Returns:
- the value
-
getSwitchType
public OlvmClusterProperties.SwitchType getSwitchType()
Describes all switch types supported by the Manager- Returns:
- the value
-
getIsUseThreadsAsCores
public Boolean getIsUseThreadsAsCores()
Indicates if threads should be used as cores- Returns:
- the value
-
getIsTrustedService
public Boolean getIsTrustedService()
Indicates if trusted service is enabled- Returns:
- the value
-
getIsTunnelMigration
public Boolean getIsTunnelMigration()
Indicates if tunnel migration is enabled- Returns:
- the value
-
getUpgradeCorrelationId
public String getUpgradeCorrelationId()
The upgrade correlation identifier.- Returns:
- the value
-
getIsUpdateInProgress
public Boolean getIsUpdateInProgress()
Indicates if an upgrade has been started for the cluster.- Returns:
- the value
-
getUpgradePercentComplete
public Integer getUpgradePercentComplete()
If an upgrade is in progress, the upgrade???s reported percent complete.- Returns:
- the value
-
getVersion
public OlvmVersion getVersion()
-
getIsVirtService
public Boolean getIsVirtService()
Indicates if virt service is enabled.- Returns:
- the value
-
getIsVncEncryption
public Boolean getIsVncEncryption()
Indicates if VNC encryption is enabled.- Returns:
- the value
-
getDataCenters
public List<OlvmDataCenter> getDataCenters()
List of data centers where storage domain belongs- 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
-
-