Package com.vmware.nsx_policy.model
Class QosDscp.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.QosDscp.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QosDscp
build()
QosDscp.Builder
setMode(java.lang.String mode)
Possible values are:QosDscp.MODE_TRUSTED
QosDscp.MODE_UNTRUSTED
When you select the Trusted mode the inner header DSCP value is applied to the outer IP header for IP/IPv6 traffic.QosDscp.Builder
setPriority(java.lang.Long priority)
Internal Forwarding Priority format: int32
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofQosDscp
.
-
-
Method Detail
-
setMode
public QosDscp.Builder setMode(java.lang.String mode)
Possible values are: When you select the Trusted mode the inner header DSCP value is applied to the outer IP header for IP/IPv6 traffic. For non IP/IPv6 traffic, the outer IP header takes the default value.Untrusted mode is supported on overlay-based and VLAN-based logical port.- Parameters:
mode
- New value for the property.
-
setPriority
public QosDscp.Builder setPriority(java.lang.Long priority)
Internal Forwarding Priority format: int32- Parameters:
priority
- New value for the property.
-
build
public QosDscp build()
-
-