Package com.vmware.nsx_policy.model
Class SecurityPolicyStatistics.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.SecurityPolicyStatistics.Builder
-
- Enclosing class:
- SecurityPolicyStatistics
public static final class SecurityPolicyStatistics.Builder extends java.lang.Object
Builder class forSecurityPolicyStatistics
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofSecurityPolicyStatistics
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityPolicyStatistics
build()
SecurityPolicyStatistics.Builder
setInternalSectionId(java.lang.String internalSectionId)
Realized id of the section on NSX MP.SecurityPolicyStatistics.Builder
setLrPath(java.lang.String lrPath)
Path of the LR on which the section is applied in case of Gateway Firewall.SecurityPolicyStatistics.Builder
setResultCount(java.lang.Long resultCount)
Total count for rule statistics 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.SecurityPolicyStatistics.Builder
setResults(java.util.List<RuleStatistics> results)
List of rule statistics.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofSecurityPolicyStatistics
.
-
-
Method Detail
-
setInternalSectionId
public SecurityPolicyStatistics.Builder setInternalSectionId(java.lang.String internalSectionId)
Realized id of the section on NSX MP. Policy Manager can create more than one section per SecurityPolicy, in which case this identifier helps to distinguish between the multiple sections created. 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:
internalSectionId
- New value for the property.
-
setLrPath
public SecurityPolicyStatistics.Builder setLrPath(java.lang.String lrPath)
Path of the LR on which the section is applied in case of Gateway Firewall. 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:
lrPath
- New value for the property.
-
setResultCount
public SecurityPolicyStatistics.Builder setResultCount(java.lang.Long resultCount)
Total count for rule statistics 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:
resultCount
- New value for the property.
-
setResults
public SecurityPolicyStatistics.Builder setResults(java.util.List<RuleStatistics> results)
List of rule statistics. 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:
results
- New value for the property.
-
build
public SecurityPolicyStatistics build()
-
-