Package com.vmware.nsx_policy.model
Class NetworkPolicyImportResponse.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.NetworkPolicyImportResponse.Builder
-
- Enclosing class:
- NetworkPolicyImportResponse
public static final class NetworkPolicyImportResponse.Builder extends java.lang.Object
Builder class forNetworkPolicyImportResponse
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofNetworkPolicyImportResponse
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkPolicyImportResponse
build()
NetworkPolicyImportResponse.Builder
setErrors(java.util.List<ImportErrorMessage> errors)
Contains a list of errors against each of the network policy id that failed during import.NetworkPolicyImportResponse.Builder
setErrorsGeneral(java.util.List<ImportErrorMessage> errorsGeneral)
contains a list of errors agains general errorsNetworkPolicyImportResponse.Builder
setRequestCount(java.lang.Long requestCount)
This is the count of the network policies that were contained in the import request format: int32NetworkPolicyImportResponse.Builder
setSuccessCount(java.lang.Long successCount)
The count of the successfully imported network policies.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofNetworkPolicyImportResponse
.
-
-
Method Detail
-
setErrors
public NetworkPolicyImportResponse.Builder setErrors(java.util.List<ImportErrorMessage> errors)
Contains a list of errors against each of the network policy id that failed during import.- Parameters:
errors
- New value for the property.
-
setErrorsGeneral
public NetworkPolicyImportResponse.Builder setErrorsGeneral(java.util.List<ImportErrorMessage> errorsGeneral)
contains a list of errors agains general errors- Parameters:
errorsGeneral
- New value for the property.
-
setRequestCount
public NetworkPolicyImportResponse.Builder setRequestCount(java.lang.Long requestCount)
This is the count of the network policies that were contained in the import request format: int32- Parameters:
requestCount
- New value for the property.
-
setSuccessCount
public NetworkPolicyImportResponse.Builder setSuccessCount(java.lang.Long successCount)
The count of the successfully imported network policies. format: int32- Parameters:
successCount
- New value for the property.
-
build
public NetworkPolicyImportResponse build()
-
-