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 NetworkInterfaceSpecification
addAddressesItem(String addressesItem)
NetworkInterfaceSpecification
addresses(List<String> addresses)
NetworkInterfaceSpecification
addSecurityGroupIdsItem(String securityGroupIdsItem)
NetworkInterfaceSpecification
customProperties(Map<String,String> customProperties)
NetworkInterfaceSpecification
description(String description)
NetworkInterfaceSpecification
deviceIndex(Integer deviceIndex)
boolean
equals(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.String
getDescription()
A human-friendly description.Integer
getDeviceIndex()
The device index of this network interface.String
getName()
A human-friendly name used as an identifier in APIs that support this option.String
getNetworkId()
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.int
hashCode()
NetworkInterfaceSpecification
name(String name)
NetworkInterfaceSpecification
networkId(String networkId)
NetworkInterfaceSpecification
putCustomPropertiesItem(String key, String customPropertiesItem)
NetworkInterfaceSpecification
securityGroupIds(List<String> securityGroupIds)
void
setAddresses(List<String> addresses)
void
setCustomProperties(Map<String,String> customProperties)
void
setDescription(String description)
void
setDeviceIndex(Integer deviceIndex)
void
setName(String name)
void
setNetworkId(String networkId)
void
setSecurityGroupIds(List<String> securityGroupIds)
String
toString()
-
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
-