@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 the VmTargetEnvironment.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 the VmTargetEnvironment.Builder
, which maintain a
set of all explicitly set fields called VmTargetEnvironment.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
VmTargetEnvironment.Builder |
TargetEnvironment.TargetEnvironmentType
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
VmTargetEnvironment(String targetCompartmentId,
String availabilityDomain,
String faultDomain,
String vcn,
String subnet,
String dedicatedVmHost,
String msLicense,
VmTargetAsset.PreferredShapeType preferredShapeType)
Deprecated.
|
Modifier and Type | Method and 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.
|
getTargetCompartmentId
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public VmTargetEnvironment(String targetCompartmentId, String availabilityDomain, String faultDomain, String vcn, String subnet, String dedicatedVmHost, String msLicense, VmTargetAsset.PreferredShapeType preferredShapeType)
public static VmTargetEnvironment.Builder builder()
Create a new builder.
public VmTargetEnvironment.Builder toBuilder()
public String getAvailabilityDomain()
Availability Domain of the VM configuration.
public String getFaultDomain()
Fault domain of the VM configuration.
public String getVcn()
OCID of the VM configuration VCN.
public String getSubnet()
OCID of the VM configuration subnet.
public String getDedicatedVmHost()
OCID of the dedicated VM configuration host.
public String getMsLicense()
Microsoft license for the VM configuration.
public VmTargetAsset.PreferredShapeType getPreferredShapeType()
Preferred VM shape type provided by the customer.
public String toString()
toString
in class TargetEnvironment
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class TargetEnvironment
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class TargetEnvironment
public int hashCode()
hashCode
in class TargetEnvironment
Copyright © 2016–2024. All rights reserved.