Class OlvmVnicProfileProperties.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudmigrations.model.OlvmVnicProfileProperties.Builder
-
- Enclosing class:
- OlvmVnicProfileProperties
public static class OlvmVnicProfileProperties.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OlvmVnicProfilePropertiesbuild()OlvmVnicProfileProperties.Buildercomment(String comment)Free text containing comments about this object.OlvmVnicProfileProperties.Buildercopy(OlvmVnicProfileProperties model)OlvmVnicProfileProperties.BuildercustomProperties(List<OlvmCustomProperty> customProperties)Custom properties applied to the vNIC profile.OlvmVnicProfileProperties.Builderdescription(String description)A human-readable description in plain text.OlvmVnicProfileProperties.BuilderisMigratable(Boolean isMigratable)Indicates whether passThrough NIC is migratable or not.OlvmVnicProfileProperties.BuilderisPortMirroring(Boolean isPortMirroring)Indicates if port mirroring is enabled.OlvmVnicProfileProperties.BuilderpassThrough(OlvmVnicProfileProperties.PassThrough passThrough)Describes whether the vNIC is to be implemented as a pass-through device or a virtual one.OlvmVnicProfileProperties.BuildervnicProfileName(String vnicProfileName)A human-readable name in plain text
-
-
-
Method Detail
-
comment
public OlvmVnicProfileProperties.Builder comment(String comment)
Free text containing comments about this object.- Parameters:
comment- the value to set- Returns:
- this builder
-
customProperties
public OlvmVnicProfileProperties.Builder customProperties(List<OlvmCustomProperty> customProperties)
Custom properties applied to the vNIC profile.- Parameters:
customProperties- the value to set- Returns:
- this builder
-
description
public OlvmVnicProfileProperties.Builder description(String description)
A human-readable description in plain text.- Parameters:
description- the value to set- Returns:
- this builder
-
isMigratable
public OlvmVnicProfileProperties.Builder isMigratable(Boolean isMigratable)
Indicates whether passThrough NIC is migratable or not.- Parameters:
isMigratable- the value to set- Returns:
- this builder
-
vnicProfileName
public OlvmVnicProfileProperties.Builder vnicProfileName(String vnicProfileName)
A human-readable name in plain text- Parameters:
vnicProfileName- the value to set- Returns:
- this builder
-
passThrough
public OlvmVnicProfileProperties.Builder passThrough(OlvmVnicProfileProperties.PassThrough passThrough)
Describes whether the vNIC is to be implemented as a pass-through device or a virtual one.- Parameters:
passThrough- the value to set- Returns:
- this builder
-
isPortMirroring
public OlvmVnicProfileProperties.Builder isPortMirroring(Boolean isPortMirroring)
Indicates if port mirroring is enabled.- Parameters:
isPortMirroring- the value to set- Returns:
- this builder
-
build
public OlvmVnicProfileProperties build()
-
copy
public OlvmVnicProfileProperties.Builder copy(OlvmVnicProfileProperties model)
-
-