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 SummaryNested Classes Modifier and Type Class Description static classVmTargetEnvironment.Builder- 
Nested classes/interfaces inherited from class com.oracle.bmc.cloudmigrations.model.TargetEnvironmentTargetEnvironment.TargetEnvironmentType
 
- 
 - 
Constructor SummaryConstructors Constructor Description VmTargetEnvironment(String targetCompartmentId, String availabilityDomain, String faultDomain, String vcn, String subnet, String dedicatedVmHost, String msLicense, VmTargetAsset.PreferredShapeType preferredShapeType)Deprecated.
 - 
Method SummaryAll 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.TargetEnvironmentgetTargetCompartmentId
 
- 
 
- 
- 
- 
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- 
builderpublic static VmTargetEnvironment.Builder builder() Create a new builder.
 - 
toBuilderpublic VmTargetEnvironment.Builder toBuilder() 
 - 
getAvailabilityDomainpublic String getAvailabilityDomain() Availability Domain of the VM configuration.- Returns:
- the value
 
 - 
getFaultDomainpublic String getFaultDomain() Fault domain of the VM configuration.- Returns:
- the value
 
 - 
getVcnpublic String getVcn() OCID of the VM configuration VCN.- Returns:
- the value
 
 - 
getSubnetpublic String getSubnet() OCID of the VM configuration subnet.- Returns:
- the value
 
 - 
getDedicatedVmHostpublic String getDedicatedVmHost() OCID of the dedicated VM configuration host.- Returns:
- the value
 
 - 
getMsLicensepublic String getMsLicense() Microsoft license for the VM configuration.- Returns:
- the value
 
 - 
getPreferredShapeTypepublic VmTargetAsset.PreferredShapeType getPreferredShapeType() Preferred VM shape type provided by the customer.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- TargetEnvironment
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Overrides:
- toStringin class- TargetEnvironment
- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- TargetEnvironment
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- TargetEnvironment
 
 
- 
 
-