Class MacvlanConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.network.v1.MacvlanConfig
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<MacvlanConfigBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class MacvlanConfig extends Object implements io.fabric8.kubernetes.api.builder.Editable<MacvlanConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
MacvlanConfig consists of arguments specific to the macvlan EgressRouterInterfaceType- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MacvlanConfig()No args constructor for use in serializationMacvlanConfig(String master, String mode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MacvlanConfigBuilderedit()Map<String,Object>getAdditionalProperties()StringgetMaster()Name of the master interface.StringgetMode()mode depicts the mode that is used for the macvlan interface; one of Bridge|Private|VEPA|Passthru.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetMaster(String master)Name of the master interface.voidsetMode(String mode)mode depicts the mode that is used for the macvlan interface; one of Bridge|Private|VEPA|Passthru.MacvlanConfigBuildertoBuilder()
-
-
-
Method Detail
-
getMaster
public String getMaster()
Name of the master interface. Need not be specified if it can be inferred from the IP address.
-
setMaster
public void setMaster(String master)
Name of the master interface. Need not be specified if it can be inferred from the IP address.
-
getMode
public String getMode()
mode depicts the mode that is used for the macvlan interface; one of Bridge|Private|VEPA|Passthru. The default mode is "Bridge".
-
setMode
public void setMode(String mode)
mode depicts the mode that is used for the macvlan interface; one of Bridge|Private|VEPA|Passthru. The default mode is "Bridge".
-
edit
public MacvlanConfigBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MacvlanConfigBuilder>
-
toBuilder
public MacvlanConfigBuilder toBuilder()
-
-