Class OlvmTargetEnvironment.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudmigrations.model.OlvmTargetEnvironment.Builder
-
- Enclosing class:
- OlvmTargetEnvironment
public static class OlvmTargetEnvironment.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OlvmTargetEnvironmentbuild()OlvmTargetEnvironment.BuilderclusterAssetId(String clusterAssetId)Inventory asset id of the olvm clusterOlvmTargetEnvironment.Buildercopy(OlvmTargetEnvironment model)OlvmTargetEnvironment.BuilderolvmTemplates(Map<String,String> olvmTemplates)OLVM OS type to inventory asset id of the templateOlvmTargetEnvironment.BuilderpreferredShapeType(VmTargetAsset.PreferredShapeType preferredShapeType)Preferred VM shape type provided by the customer.OlvmTargetEnvironment.BuildertargetCompartmentId(String targetCompartmentId)OlvmTargetEnvironment.BuildervnicProfileAssetId(String vnicProfileAssetId)Inventory asset Id of the vnic profile
-
-
-
Method Detail
-
targetCompartmentId
public OlvmTargetEnvironment.Builder targetCompartmentId(String targetCompartmentId)
-
clusterAssetId
public OlvmTargetEnvironment.Builder clusterAssetId(String clusterAssetId)
Inventory asset id of the olvm cluster- Parameters:
clusterAssetId- the value to set- Returns:
- this builder
-
vnicProfileAssetId
public OlvmTargetEnvironment.Builder vnicProfileAssetId(String vnicProfileAssetId)
Inventory asset Id of the vnic profile- Parameters:
vnicProfileAssetId- the value to set- Returns:
- this builder
-
olvmTemplates
public OlvmTargetEnvironment.Builder olvmTemplates(Map<String,String> olvmTemplates)
OLVM OS type to inventory asset id of the template- Parameters:
olvmTemplates- the value to set- Returns:
- this builder
-
preferredShapeType
public OlvmTargetEnvironment.Builder preferredShapeType(VmTargetAsset.PreferredShapeType preferredShapeType)
Preferred VM shape type provided by the customer.- Parameters:
preferredShapeType- the value to set- Returns:
- this builder
-
build
public OlvmTargetEnvironment build()
-
copy
public OlvmTargetEnvironment.Builder copy(OlvmTargetEnvironment model)
-
-