Class OlvmTargetEnvironment
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cloudmigrations.model.TargetEnvironment
-
- com.oracle.bmc.cloudmigrations.model.OlvmTargetEnvironment
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220919") public final class OlvmTargetEnvironment extends TargetEnvironmentOLVM target enviroment
Note: Objects should always be created or deserialized using theOlvmTargetEnvironment.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
OlvmTargetEnvironment.Builder, which maintain a set of all explicitly set fields calledOlvmTargetEnvironment.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 classOlvmTargetEnvironment.Builder-
Nested classes/interfaces inherited from class com.oracle.bmc.cloudmigrations.model.TargetEnvironment
TargetEnvironment.TargetEnvironmentType
-
-
Constructor Summary
Constructors Constructor Description OlvmTargetEnvironment(String targetCompartmentId, String clusterAssetId, String vnicProfileAssetId, Map<String,String> olvmTemplates, VmTargetAsset.PreferredShapeType preferredShapeType)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OlvmTargetEnvironment.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetClusterAssetId()Inventory asset id of the olvm clusterMap<String,String>getOlvmTemplates()OLVM OS type to inventory asset id of the templateVmTargetAsset.PreferredShapeTypegetPreferredShapeType()Preferred VM shape type provided by the customer.StringgetVnicProfileAssetId()Inventory asset Id of the vnic profileinthashCode()OlvmTargetEnvironment.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
-
OlvmTargetEnvironment
@Deprecated public OlvmTargetEnvironment(String targetCompartmentId, String clusterAssetId, String vnicProfileAssetId, Map<String,String> olvmTemplates, VmTargetAsset.PreferredShapeType preferredShapeType)
Deprecated.
-
-
Method Detail
-
builder
public static OlvmTargetEnvironment.Builder builder()
Create a new builder.
-
toBuilder
public OlvmTargetEnvironment.Builder toBuilder()
-
getClusterAssetId
public String getClusterAssetId()
Inventory asset id of the olvm cluster- Returns:
- the value
-
getVnicProfileAssetId
public String getVnicProfileAssetId()
Inventory asset Id of the vnic profile- Returns:
- the value
-
getOlvmTemplates
public Map<String,String> getOlvmTemplates()
OLVM OS type to inventory asset id of the template- 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
-
-