Class VmTargetEnvironment
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cloudmigrations.model.TargetEnvironment
-
- com.oracle.bmc.cloudmigrations.model.VmTargetEnvironment
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220919") public final class VmTargetEnvironment extends TargetEnvironment
Description of the VM target environment.
Note: Objects should always be created or deserialized using theVmTargetEnvironment.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 theVmTargetEnvironment.Builder
, which maintain a set of all explicitly set fields calledVmTargetEnvironment.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 class
VmTargetEnvironment.Builder
-
Nested classes/interfaces inherited from class com.oracle.bmc.cloudmigrations.model.TargetEnvironment
TargetEnvironment.TargetEnvironmentType
-
-
Constructor Summary
Constructors Constructor Description VmTargetEnvironment(String targetCompartmentId, String availabilityDomain, String faultDomain, String vcn, String subnet, String dedicatedVmHost, String msLicense, VmTargetAsset.PreferredShapeType preferredShapeType)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VmTargetEnvironment.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getAvailabilityDomain()
Availability Domain of the VM configuration.String
getDedicatedVmHost()
OCID of the dedicated VM configuration host.String
getFaultDomain()
Fault domain of the VM configuration.String
getMsLicense()
Microsoft license for the VM configuration.VmTargetAsset.PreferredShapeType
getPreferredShapeType()
Preferred VM shape type provided by the customer.String
getSubnet()
OCID of the VM configuration subnet.String
getVcn()
OCID of the VM configuration VCN.int
hashCode()
VmTargetEnvironment.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.cloudmigrations.model.TargetEnvironment
getTargetCompartmentId
-
-
-
-
Constructor Detail
-
VmTargetEnvironment
@Deprecated public VmTargetEnvironment(String targetCompartmentId, String availabilityDomain, String faultDomain, String vcn, String subnet, String dedicatedVmHost, String msLicense, VmTargetAsset.PreferredShapeType preferredShapeType)
Deprecated.
-
-
Method Detail
-
builder
public static VmTargetEnvironment.Builder builder()
Create a new builder.
-
toBuilder
public VmTargetEnvironment.Builder toBuilder()
-
getAvailabilityDomain
public String getAvailabilityDomain()
Availability Domain of the VM configuration.- Returns:
- the value
-
getFaultDomain
public String getFaultDomain()
Fault domain of the VM configuration.- Returns:
- the value
-
getVcn
public String getVcn()
OCID of the VM configuration VCN.- Returns:
- the value
-
getSubnet
public String getSubnet()
OCID of the VM configuration subnet.- Returns:
- the value
-
getDedicatedVmHost
public String getDedicatedVmHost()
OCID of the dedicated VM configuration host.- Returns:
- the value
-
getMsLicense
public String getMsLicense()
Microsoft license for the VM configuration.- Returns:
- the value
-
getPreferredShapeType
public VmTargetAsset.PreferredShapeType getPreferredShapeType()
Preferred VM shape type provided by the customer.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classTargetEnvironment
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classTargetEnvironment
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classTargetEnvironment
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classTargetEnvironment
-
-