Package com.vmware.nsx_policy.model
Class PolicyDraftModifications.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicyDraftModifications.Builder
-
- Enclosing class:
- PolicyDraftModifications
public static final class PolicyDraftModifications.Builder extends java.lang.Object
Builder class forPolicyDraftModifications
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofPolicyDraftModifications
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyDraftModifications
build()
PolicyDraftModifications.Builder
setCreated(java.lang.Long created)
Count of total created security policies/rules 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.PolicyDraftModifications.Builder
setDeleted(java.lang.Long deleted)
Count of total deleted security policies/rules 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.PolicyDraftModifications.Builder
setModified(java.lang.Long modified)
Count of total modified security policies/rules 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.PolicyDraftModifications.Builder
setModifiedSecurityPolicies(java.util.List<java.lang.String> modifiedSecurityPolicies)
Paginated list of policy drafts.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPolicyDraftModifications
.
-
-
Method Detail
-
setCreated
public PolicyDraftModifications.Builder setCreated(java.lang.Long created)
Count of total created security policies/rules 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:
created
- New value for the property.
-
setDeleted
public PolicyDraftModifications.Builder setDeleted(java.lang.Long deleted)
Count of total deleted security policies/rules 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:
deleted
- New value for the property.
-
setModified
public PolicyDraftModifications.Builder setModified(java.lang.Long modified)
Count of total modified security policies/rules 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:
modified
- New value for the property.
-
setModifiedSecurityPolicies
public PolicyDraftModifications.Builder setModifiedSecurityPolicies(java.util.List<java.lang.String> modifiedSecurityPolicies)
Paginated list of policy drafts. 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:
modifiedSecurityPolicies
- New value for the property.
-
build
public PolicyDraftModifications build()
-
-