Class VirtualNetworkInterface.Builder

    • Constructor Detail

    • Method Detail

      • setLinks

        public VirtualNetworkInterface.Builder setLinks​(java.util.List<ResourceLink> links)
        The server will populate this field when returing the resource. Ignored on PUT and POST. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        links - New value for the property.
      • setSchema

        public VirtualNetworkInterface.Builder setSchema​(java.lang.String schema)
        Schema for this resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        schema - New value for the property.
      • setLastSyncTime

        public VirtualNetworkInterface.Builder setLastSyncTime​(java.lang.Long lastSyncTime)
        Timestamp of last modification format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        lastSyncTime - New value for the property.
      • setDescription

        public VirtualNetworkInterface.Builder setDescription​(java.lang.String description)
        Description of this resource
        Parameters:
        description - New value for the property.
      • setDisplayName

        public VirtualNetworkInterface.Builder setDisplayName​(java.lang.String displayName)
        Defaults to ID if not set
        Parameters:
        displayName - New value for the property.
      • setResourceType

        public VirtualNetworkInterface.Builder setResourceType​(java.lang.String resourceType)
        The type of this resource.
        Parameters:
        resourceType - New value for the property.
      • setScope

        public VirtualNetworkInterface.Builder setScope​(java.util.List<DiscoveredResourceScope> scope)
        Specifies list of scope of discovered resource. e.g. if VHC path is associated with principal identity, who owns the discovered resource, then scope id will be VHC path and scope type will be VHC.
        Parameters:
        scope - New value for the property.
      • setTags

        public VirtualNetworkInterface.Builder setTags​(java.util.List<Tag> tags)
        Opaque identifiers meaningful to the API user
        Parameters:
        tags - New value for the property.
      • setDeviceKey

        public VirtualNetworkInterface.Builder setDeviceKey​(java.lang.String deviceKey)
        Device key of the virtual network interface.
        Parameters:
        deviceKey - New value for the property.
      • setDeviceName

        public VirtualNetworkInterface.Builder setDeviceName​(java.lang.String deviceName)
        Device name of the virtual network interface.
        Parameters:
        deviceName - New value for the property.
      • setExternalId

        public VirtualNetworkInterface.Builder setExternalId​(java.lang.String externalId)
        External Id of the virtual network inferface.
        Parameters:
        externalId - New value for the property.
      • setHostId

        public VirtualNetworkInterface.Builder setHostId​(java.lang.String hostId)
        Id of the host on which the vm exists.
        Parameters:
        hostId - New value for the property.
      • setIpAddressInfo

        public VirtualNetworkInterface.Builder setIpAddressInfo​(java.util.List<IpAddressInfo> ipAddressInfo)
        IP Addresses of the the virtual network interface, from various sources.
        Parameters:
        ipAddressInfo - New value for the property.
      • setLportAttachmentId

        public VirtualNetworkInterface.Builder setLportAttachmentId​(java.lang.String lportAttachmentId)
        LPort Attachment Id of the virtual network interface.
        Parameters:
        lportAttachmentId - New value for the property.
      • setMacAddress

        public VirtualNetworkInterface.Builder setMacAddress​(java.lang.String macAddress)
        MAC address of the virtual network interface.
        Parameters:
        macAddress - New value for the property.
      • setOwnerVmId

        public VirtualNetworkInterface.Builder setOwnerVmId​(java.lang.String ownerVmId)
        Id of the vm to which this virtual network interface belongs.
        Parameters:
        ownerVmId - New value for the property.
      • setUptv2Enabled

        public VirtualNetworkInterface.Builder setUptv2Enabled​(java.lang.Boolean uptv2Enabled)
        Specifies if UPTv2 (Universal Pass-through version 2) compatibility is enabled for the virtual network interface or not. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        uptv2Enabled - New value for the property.
      • setVmLocalIdOnHost

        public VirtualNetworkInterface.Builder setVmLocalIdOnHost​(java.lang.String vmLocalIdOnHost)
        Id of the vm unique within the host.
        Parameters:
        vmLocalIdOnHost - New value for the property.