Package | Description |
---|---|
com.vmware.nsx.model |
Modifier and Type | Method and Description |
---|---|
ServiceInsertionRule.Builder |
ServiceInsertionRule.Builder.setAction(java.lang.String action)
Possible values are:
ServiceInsertionRule.ACTION_ALLOW ServiceInsertionRule.ACTION_DROP ServiceInsertionRule.ACTION_REJECT ServiceInsertionRule.ACTION_REDIRECT ServiceInsertionRule.ACTION_DO_NOT_REDIRECT
ServiceInsertionRule.ACTION_DETECT ServiceInsertionRule.ACTION_ALLOW_CONTINUE
ServiceInsertionRule.ACTION_DETECT_PREVENT
Action enforced on the packets which matches the distributed service rule. |
ServiceInsertionRule.Builder |
ServiceInsertionRule.Builder.setAppliedTos(java.util.List<ResourceReference> appliedTos)
List of object where rule will be enforced.
|
ServiceInsertionRule.Builder |
ServiceInsertionRule.Builder.setDescription(java.lang.String description)
Description of this resource
|
ServiceInsertionRule.Builder |
ServiceInsertionRule.Builder.setDestinations(java.util.List<ResourceReference> destinations)
List of the destinations.
|
ServiceInsertionRule.Builder |
ServiceInsertionRule.Builder.setDestinationsExcluded(java.lang.Boolean destinationsExcluded)
Negation of the destination.
|
ServiceInsertionRule.Builder |
ServiceInsertionRule.Builder.setDirection(java.lang.String direction)
Possible values are:
ServiceInsertionRule.DIRECTION_IN ServiceInsertionRule.DIRECTION_OUT ServiceInsertionRule.DIRECTION_IN_OUT Rule
direction in case of stateless distributed service rules. |
ServiceInsertionRule.Builder |
ServiceInsertionRule.Builder.setDisabled(java.lang.Boolean disabled)
Flag to disable rule.
|
ServiceInsertionRule.Builder |
ServiceInsertionRule.Builder.setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
ServiceInsertionRule.Builder |
ServiceInsertionRule.Builder.setId(java.lang.String id)
Identifier of the 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.
|
ServiceInsertionRule.Builder |
ServiceInsertionRule.Builder.setIpProtocol(java.lang.String ipProtocol)
Possible values are:
ServiceInsertionRule.IP_PROTOCOL_IPV4 ServiceInsertionRule.IP_PROTOCOL_IPV6 ServiceInsertionRule.IP_PROTOCOL_IPV4_IPV6 Type
of IP packet that should be matched while enforcing the rule. |
ServiceInsertionRule.Builder |
ServiceInsertionRule.Builder.setIsDefault(java.lang.Boolean isDefault)
Flag to indicate whether rule is default.
|
ServiceInsertionRule.Builder |
ServiceInsertionRule.Builder.setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
ServiceInsertionRule.Builder |
ServiceInsertionRule.Builder.setLogged(java.lang.Boolean logged)
Flag to enable packet logging.
|
ServiceInsertionRule.Builder |
ServiceInsertionRule.Builder.setNotes(java.lang.String notes)
User notes specific to the rule.
|
ServiceInsertionRule.Builder |
ServiceInsertionRule.Builder.setOwner(OwnerResourceLink owner) |
ServiceInsertionRule.Builder |
ServiceInsertionRule.Builder.setPriority(java.lang.Long priority)
Priority of the rule.
|
ServiceInsertionRule.Builder |
ServiceInsertionRule.Builder.setRedirectTos(java.util.List<ResourceReference> redirectTos)
A rule can be redirected to ServiceInstance, InstanceEndpoint for North/South
Traffic.
|
ServiceInsertionRule.Builder |
ServiceInsertionRule.Builder.setResourceType(java.lang.String resourceType)
The type of this resource.
|
ServiceInsertionRule.Builder |
ServiceInsertionRule.Builder.setRevision(java.lang.Long revision)
The _revision property describes the current revision of the resource.
|
ServiceInsertionRule.Builder |
ServiceInsertionRule.Builder.setRuleTag(java.lang.String ruleTag)
User level field which will be printed in CLI and packet logs.
|
ServiceInsertionRule.Builder |
ServiceInsertionRule.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.
|
ServiceInsertionRule.Builder |
ServiceInsertionRule.Builder.setSectionId(java.lang.String sectionId)
ID of the section to which this rule belongs.
|
ServiceInsertionRule.Builder |
ServiceInsertionRule.Builder.setSelf(SelfResourceLink self) |
ServiceInsertionRule.Builder |
ServiceInsertionRule.Builder.setServices(java.util.List<ServiceInsertionService> services)
List of the services.
|
ServiceInsertionRule.Builder |
ServiceInsertionRule.Builder.setSources(java.util.List<ResourceReference> sources)
List of sources.
|
ServiceInsertionRule.Builder |
ServiceInsertionRule.Builder.setSourcesExcluded(java.lang.Boolean sourcesExcluded)
Negation of the source.
|