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 TargetEnvironmentDescription 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 classVmTargetEnvironment.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.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAvailabilityDomain()Availability Domain of the VM configuration.StringgetDedicatedVmHost()OCID of the dedicated VM configuration host.StringgetFaultDomain()Fault domain of the VM configuration.StringgetMsLicense()Microsoft license for the VM configuration.VmTargetAsset.PreferredShapeTypegetPreferredShapeType()Preferred VM shape type provided by the customer.StringgetSubnet()OCID of the VM configuration subnet.StringgetVcn()OCID of the VM configuration VCN.inthashCode()VmTargetEnvironment.BuildertoBuilder()StringtoString()StringtoString(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:
toStringin classTargetEnvironment
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classTargetEnvironment- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classTargetEnvironment
-
hashCode
public int hashCode()
- Overrides:
hashCodein classTargetEnvironment
-
-