Class OlvmMigrationOptions
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cloudmigrations.model.OlvmMigrationOptions
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220919") public final class OlvmMigrationOptions extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelReference to cluster-wide configuration of migration of a running virtual machine to another host.
Note: Objects should always be created or deserialized using theOlvmMigrationOptions.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 theOlvmMigrationOptions.Builder, which maintain a set of all explicitly set fields calledOlvmMigrationOptions.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 classOlvmMigrationOptions.AutoConvergeEnum representing the boolean value that can be either set, or inherited from a higher level.static classOlvmMigrationOptions.Builderstatic classOlvmMigrationOptions.CompressedEnum representing the boolean value that can be either set, or inherited from a higher level.static classOlvmMigrationOptions.EncryptedEnum representing the boolean value that can be either set, or inherited from a higher level.static classOlvmMigrationOptions.ParallelMigrationsPolicyType representing parallel migration connections policy.
-
Constructor Summary
Constructors Constructor Description OlvmMigrationOptions(OlvmMigrationOptions.AutoConverge autoConverge, MigrationBandwidth bandwidth, OlvmMigrationOptions.Compressed compressed, Integer customParallelMigrations, OlvmMigrationOptions.Encrypted encrypted, OlvmMigrationOptions.ParallelMigrationsPolicy parallelMigrationsPolicy)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OlvmMigrationOptions.Builderbuilder()Create a new builder.booleanequals(Object o)OlvmMigrationOptions.AutoConvergegetAutoConverge()Enum representing the boolean value that can be either set, or inherited from a higher level.MigrationBandwidthgetBandwidth()OlvmMigrationOptions.CompressedgetCompressed()Enum representing the boolean value that can be either set, or inherited from a higher level.IntegergetCustomParallelMigrations()Specifies how many parallel migration connections to use.OlvmMigrationOptions.EncryptedgetEncrypted()Enum representing the boolean value that can be either set, or inherited from a higher level.OlvmMigrationOptions.ParallelMigrationsPolicygetParallelMigrationsPolicy()Type representing parallel migration connections policy.inthashCode()OlvmMigrationOptions.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
OlvmMigrationOptions
@Deprecated @ConstructorProperties({"autoConverge","bandwidth","compressed","customParallelMigrations","encrypted","parallelMigrationsPolicy"}) public OlvmMigrationOptions(OlvmMigrationOptions.AutoConverge autoConverge, MigrationBandwidth bandwidth, OlvmMigrationOptions.Compressed compressed, Integer customParallelMigrations, OlvmMigrationOptions.Encrypted encrypted, OlvmMigrationOptions.ParallelMigrationsPolicy parallelMigrationsPolicy)
Deprecated.
-
-
Method Detail
-
builder
public static OlvmMigrationOptions.Builder builder()
Create a new builder.
-
toBuilder
public OlvmMigrationOptions.Builder toBuilder()
-
getAutoConverge
public OlvmMigrationOptions.AutoConverge getAutoConverge()
Enum representing the boolean value that can be either set, or inherited from a higher level.The inheritance order is virtual machine ??? cluster ??? engine-config.
- Returns:
- the value
-
getBandwidth
public MigrationBandwidth getBandwidth()
-
getCompressed
public OlvmMigrationOptions.Compressed getCompressed()
Enum representing the boolean value that can be either set, or inherited from a higher level.The inheritance order is virtual machine ??? cluster ??? engine-config.
- Returns:
- the value
-
getCustomParallelMigrations
public Integer getCustomParallelMigrations()
Specifies how many parallel migration connections to use.- Returns:
- the value
-
getEncrypted
public OlvmMigrationOptions.Encrypted getEncrypted()
Enum representing the boolean value that can be either set, or inherited from a higher level.The inheritance order is virtual machine ??? cluster ??? engine-config.
- Returns:
- the value
-
getParallelMigrationsPolicy
public OlvmMigrationOptions.ParallelMigrationsPolicy getParallelMigrationsPolicy()
Type representing parallel migration connections policy.- 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
-
-