Package com.vmware.nsx_policy.model
Class IdsSecurityPolicyStatistics.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.IdsSecurityPolicyStatistics.Builder
-
- Enclosing class:
- IdsSecurityPolicyStatistics
public static final class IdsSecurityPolicyStatistics.Builder extends java.lang.Object
Builder class forIdsSecurityPolicyStatistics
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofIdsSecurityPolicyStatistics
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdsSecurityPolicyStatistics
build()
IdsSecurityPolicyStatistics.Builder
setInternalSectionId(java.lang.String internalSectionId)
Realized id of the section on NSX MP.IdsSecurityPolicyStatistics.Builder
setLrPath(java.lang.String lrPath)
Path of the LR on which the section is applied in case of Gateway Firewall.IdsSecurityPolicyStatistics.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.IdsSecurityPolicyStatistics.Builder
setResults(java.util.List<RuleStatistics> results)
List of rule statistics.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofIdsSecurityPolicyStatistics
.
-
-
Method Detail
-
setInternalSectionId
public IdsSecurityPolicyStatistics.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 IdsSecurityPolicyStatistics.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 IdsSecurityPolicyStatistics.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 IdsSecurityPolicyStatistics.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 IdsSecurityPolicyStatistics build()
-
-