Class HostSwitchConfigOption.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of HostSwitchConfigOption.
    • Method Detail

      • setHostSwitchId

        public HostSwitchConfigOption.Builder setHostSwitchId​(java.lang.String hostSwitchId)
        This field is writable only in case of VDS type HostSwitch and system generated for NVDS type. For VDS type host switch, This field is used to lookup a VDS from corresponding Compute Manager and then can be configured for logical networking. For NVDS type host switch, This field is system generated and if provided will be overwritten.
        Parameters:
        hostSwitchId - New value for the property.
      • setHostSwitchProfileIds

        public HostSwitchConfigOption.Builder setHostSwitchProfileIds​(java.util.List<HostSwitchProfileTypeIdEntry> hostSwitchProfileIds)
        Host switch profiles bound to this host switch. If a profile ID is not provided for any HostSwitchProfileType that is supported by the transport node, the corresponding default profile will be bound to the host switch. If transport node is created using Policy APIs, use policyPaths instead of UUIDs.
        Parameters:
        hostSwitchProfileIds - New value for the property.
      • setIpAssignmentSpec

        public HostSwitchConfigOption.Builder setIpAssignmentSpec​(com.vmware.vapi.bindings.Structure ipAssignmentSpec)
        Parameters:
        ipAssignmentSpec - New value for the property. When clients pass a value of this class as a parameter, the property must contain all the properties defined in IpAssignmentSpec. When methods return a value of this class as a return value, the property will contain all the properties defined in IpAssignmentSpec.
      • setIpv6AssignmentSpec

        public HostSwitchConfigOption.Builder setIpv6AssignmentSpec​(com.vmware.vapi.bindings.Structure ipv6AssignmentSpec)
        Parameters:
        ipv6AssignmentSpec - New value for the property. When clients pass a value of this class as a parameter, the property must contain all the properties defined in Ipv6AssignmentSpec. When methods return a value of this class as a return value, the property will contain all the properties defined in Ipv6AssignmentSpec.
      • setUplinks

        public HostSwitchConfigOption.Builder setUplinks​(java.util.List<VdsUplink> uplinks)
        If VDS is used as a HostSwitch this attribute must be specified. You can associate uplinks from UplinkHostSwitchProfile to either VDS uplink or LAG. VDS uplink or LAG will inherit the global VDS level teaming policy from vSphere. NSX managed uplink or LAG will have NSX teaming policy configured through UplinkHostSwitchProfile.
        Parameters:
        uplinks - New value for the property.