Package kubevirt.io
Class V1MultusNetwork
java.lang.Object
kubevirt.io.V1MultusNetwork
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen",
date="2019-11-10T14:44:51.030+02:00")
public class V1MultusNetwork
extends Object
Represents the multus cni network.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReferences to a NetworkAttachmentDefinition CRD object.inthashCode()Select the default network and add it to the multus-cni.io/default-network annotation.networkName(String networkName) voidsetDefault(Boolean _default) voidsetNetworkName(String networkName) private StringConvert the given object to string with each line indented by 4 spaces (except the first line).toString()
-
Field Details
-
_default
-
networkName
-
-
Constructor Details
-
V1MultusNetwork
public V1MultusNetwork()
-
-
Method Details
-
_default
-
isDefault
Select the default network and add it to the multus-cni.io/default-network annotation.- Returns:
- _default
-
setDefault
-
networkName
-
getNetworkName
References to a NetworkAttachmentDefinition CRD object. Format: <networkName>, <namespace>/<networkName>. If namespace is not specified, VMI namespace is assumed.- Returns:
- networkName
-
setNetworkName
-
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-