Class NetworkInterfaceSpecification
java.lang.Object
com.vmware.vra.jenkinsplugin.model.iaas.NetworkInterfaceSpecification
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2020-09-09T18:26:35.661905-04:00[America/New_York]") public class NetworkInterfaceSpecification extends Object
Specification for attaching nic to machine
-
Constructor Summary
Constructors Constructor Description NetworkInterfaceSpecification() -
Method Summary
Modifier and Type Method Description NetworkInterfaceSpecificationaddAddressesItem(String addressesItem)NetworkInterfaceSpecificationaddresses(List<String> addresses)NetworkInterfaceSpecificationaddSecurityGroupIdsItem(String securityGroupIdsItem)NetworkInterfaceSpecificationcustomProperties(Map<String,String> customProperties)NetworkInterfaceSpecificationdescription(String description)NetworkInterfaceSpecificationdeviceIndex(Integer deviceIndex)booleanequals(Object o)List<String>getAddresses()A list of IP addresses allocated or in use by this network interface.Map<String,String>getCustomProperties()Additional properties that may be used to extend the base type.StringgetDescription()A human-friendly description.IntegergetDeviceIndex()The device index of this network interface.StringgetName()A human-friendly name used as an identifier in APIs that support this option.StringgetNetworkId()Id of the network instance that this network interface plugs into.List<String>getSecurityGroupIds()A list of security group ids which this network interface will be assigned to.inthashCode()NetworkInterfaceSpecificationname(String name)NetworkInterfaceSpecificationnetworkId(String networkId)NetworkInterfaceSpecificationputCustomPropertiesItem(String key, String customPropertiesItem)NetworkInterfaceSpecificationsecurityGroupIds(List<String> securityGroupIds)voidsetAddresses(List<String> addresses)voidsetCustomProperties(Map<String,String> customProperties)voidsetDescription(String description)voidsetDeviceIndex(Integer deviceIndex)voidsetName(String name)voidsetNetworkId(String networkId)voidsetSecurityGroupIds(List<String> securityGroupIds)StringtoString()
-
Constructor Details
-
NetworkInterfaceSpecification
public NetworkInterfaceSpecification()
-
-
Method Details
-
addresses
-
addAddressesItem
-
getAddresses
A list of IP addresses allocated or in use by this network interface.- Returns:
- addresses
-
setAddresses
-
customProperties
-
putCustomPropertiesItem
public NetworkInterfaceSpecification putCustomPropertiesItem(String key, String customPropertiesItem) -
getCustomProperties
Additional properties that may be used to extend the base type.- Returns:
- customProperties
-
setCustomProperties
-
securityGroupIds
-
addSecurityGroupIdsItem
-
getSecurityGroupIds
A list of security group ids which this network interface will be assigned to.- Returns:
- securityGroupIds
-
setSecurityGroupIds
-
name
-
getName
A human-friendly name used as an identifier in APIs that support this option.- Returns:
- name
-
setName
-
description
-
getDescription
A human-friendly description.- Returns:
- description
-
setDescription
-
networkId
-
getNetworkId
Id of the network instance that this network interface plugs into.- Returns:
- networkId
-
setNetworkId
-
deviceIndex
-
getDeviceIndex
The device index of this network interface.- Returns:
- deviceIndex
-
setDeviceIndex
-
equals
-
hashCode
public int hashCode() -
toString
-