| Package | Description |
|---|---|
| com.vmware.nsx.model |
| Modifier and Type | Method and Description |
|---|---|
LogicalSwitch.Builder |
LogicalSwitch.Builder.setAdminState(java.lang.String adminState)
Possible values are:
LogicalSwitch.ADMIN_STATE_UP LogicalSwitch.ADMIN_STATE_DOWN Represents
Desired state of the Logical Switch |
LogicalSwitch.Builder |
LogicalSwitch.Builder.setCreateTime(java.lang.Long createTime)
Timestamp of resource creation 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.
|
LogicalSwitch.Builder |
LogicalSwitch.Builder.setCreateUser(java.lang.String createUser)
ID of the user who created 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.
|
LogicalSwitch.Builder |
LogicalSwitch.Builder.setDescription(java.lang.String description)
Description of this resource
|
LogicalSwitch.Builder |
LogicalSwitch.Builder.setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
LogicalSwitch.Builder |
LogicalSwitch.Builder.setExtraConfigs(java.util.List<ExtraConfig> extraConfigs)
This property could be used for vendor specific configuration in key value
string pairs, the setting in extra_configs will be automatically inheritted by
logical ports in the logical switch.
|
LogicalSwitch.Builder |
LogicalSwitch.Builder.setGlobalVni(java.lang.Long globalVni)
The VNI is used for intersite traffic and the global logical switch ID.
|
LogicalSwitch.Builder |
LogicalSwitch.Builder.setHybrid(java.lang.Boolean hybrid)
If this flag is set to true, then all the logical switch ports attached to this
logical switch will behave in a hybrid fashion.
|
LogicalSwitch.Builder |
LogicalSwitch.Builder.setId(java.lang.String id)
Unique identifier of this resource
|
LogicalSwitch.Builder |
LogicalSwitch.Builder.setIpPoolId(java.lang.String ipPoolId)
IP pool id that associated with a LogicalSwitch.
|
LogicalSwitch.Builder |
LogicalSwitch.Builder.setLastModifiedTime(java.lang.Long lastModifiedTime)
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.
|
LogicalSwitch.Builder |
LogicalSwitch.Builder.setLastModifiedUser(java.lang.String lastModifiedUser)
ID of the user who last modified 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.
|
LogicalSwitch.Builder |
LogicalSwitch.Builder.setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
LogicalSwitch.Builder |
LogicalSwitch.Builder.setMacPoolId(java.lang.String macPoolId)
Mac pool id that associated with a LogicalSwitch.
|
LogicalSwitch.Builder |
LogicalSwitch.Builder.setNodeLocalSwitch(java.lang.Boolean nodeLocalSwitch)
A flag to prevent BUM (broadcast, unknown-unicast and multicast) traffic from
reaching the other spanned edges.
|
LogicalSwitch.Builder |
LogicalSwitch.Builder.setOriginId(java.lang.String originId)
ID populated by NSX when NSX on DVPG is used to indicate the source DVPG.
|
LogicalSwitch.Builder |
LogicalSwitch.Builder.setOriginType(java.lang.String originType)
Possible values are:
LogicalSwitch.ORIGIN_TYPE_VCENTER The type of
source from which the DVPG is discovered
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored. |
LogicalSwitch.Builder |
LogicalSwitch.Builder.setProtection(java.lang.String protection)
Protection status is one of the following: PROTECTED - the client who retrieved
the entity is not allowed to modify it.
|
LogicalSwitch.Builder |
LogicalSwitch.Builder.setReplicationMode(java.lang.String replicationMode)
Possible values are:
LogicalSwitch.REPLICATION_MODE_MTEP LogicalSwitch.REPLICATION_MODE_SOURCE
Replication mode of the Logical Switch |
LogicalSwitch.Builder |
LogicalSwitch.Builder.setResourceType(java.lang.String resourceType)
The type of this resource.
|
LogicalSwitch.Builder |
LogicalSwitch.Builder.setRevision(java.lang.Long revision)
The _revision property describes the current revision of the resource.
|
LogicalSwitch.Builder |
LogicalSwitch.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.
|
LogicalSwitch.Builder |
LogicalSwitch.Builder.setSelf(SelfResourceLink self) |
LogicalSwitch.Builder |
LogicalSwitch.Builder.setSpan(java.util.List<java.lang.String> span)
Each manager ID represents the NSX Local Manager the logical switch connects.
|
LogicalSwitch.Builder |
LogicalSwitch.Builder.setSwitchingProfileIds(java.util.List<SwitchingProfileTypeIdEntry> switchingProfileIds) |
LogicalSwitch.Builder |
LogicalSwitch.Builder.setSwitchType(java.lang.String switchType)
Possible values are:
LogicalSwitch.SWITCH_TYPE_DEFAULT LogicalSwitch.SWITCH_TYPE_SERVICE_PLANE LogicalSwitch.SWITCH_TYPE_DHCP_RELAY LogicalSwitch.SWITCH_TYPE_GLOBAL LogicalSwitch.SWITCH_TYPE_INTER_ROUTER LogicalSwitch.SWITCH_TYPE_EVPN LogicalSwitch.SWITCH_TYPE_DVPG This field
indicates purpose of a LogicalSwitch. |
LogicalSwitch.Builder |
LogicalSwitch.Builder.setSystemOwned(java.lang.Boolean systemOwned)
Indicates system owned 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.
|
LogicalSwitch.Builder |
LogicalSwitch.Builder.setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
LogicalSwitch.Builder |
LogicalSwitch.Builder.setTransportZoneId(java.lang.String transportZoneId)
Id of the TransportZone to which this LogicalSwitch is associated
|
LogicalSwitch.Builder |
LogicalSwitch.Builder.setUplinkTeamingPolicyName(java.lang.String uplinkTeamingPolicyName)
This name has to be one of the switching uplink teaming policy names listed
inside the logical switch's TransportZone.
|
LogicalSwitch.Builder |
LogicalSwitch.Builder.setVlan(java.lang.Long vlan)
This property is dedicated to VLAN based network, to set VLAN of logical
network.
|
LogicalSwitch.Builder |
LogicalSwitch.Builder.setVlanTrunkSpec(VlanTrunkSpec vlanTrunkSpec) |
LogicalSwitch.Builder |
LogicalSwitch.Builder.setVni(java.lang.Long vni)
Only for OVERLAY network.
|