Class VmVnicRequest
java.lang.Object
com.iland.core.web.rest.request.vm.VmVnicRequest
- All Implemented Interfaces:
Serializable
Vm Vnic Request
- Author:
- Ari Quinones
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Constructor Summary
ConstructorsConstructorDescriptionVmVnicRequest(boolean primaryVnic, String ipAddress, VmVnicRequest.IpAddressingMode ipAssignment, String networkUuid, VmVnicRequest.AdapterType networkAdapterType, boolean connected) -
Method Summary
Modifier and TypeMethodDescriptionGet ip addressGet ip address modeGet adapter typeGet network uuidbooleanGets whether this vNIC should be connected.booleanGet is primary vnic
-
Constructor Details
-
VmVnicRequest
public VmVnicRequest(boolean primaryVnic, String ipAddress, VmVnicRequest.IpAddressingMode ipAssignment, String networkUuid, VmVnicRequest.AdapterType networkAdapterType, boolean connected)
-
-
Method Details
-
isPrimaryVnic
public boolean isPrimaryVnic()Get is primary vnic- Returns:
booleanis primary vnic
-
getIpAddress
Get ip address- Returns:
Stringip address
-
getIpAssignment
Get ip address mode- Returns:
VmVnicRequest.IpAddressingModeip addressing mode
-
getNetworkUuid
Get network uuid- Returns:
Stringnetwork uuid
-
getNetworkAdapterType
Get adapter type- Returns:
VmVnicRequest.AdapterTypeadapter type
-
isConnected
public boolean isConnected()Gets whether this vNIC should be connected.- Returns:
- boolean
-