Package com.vmware.nsx_policy.model
Class BatchRequest.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.BatchRequest.Builder
-
- Enclosing class:
- BatchRequest
public static final class BatchRequest.Builder extends java.lang.Object
Builder class forBatchRequest
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofBatchRequest
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchRequest
build()
BatchRequest.Builder
setContinueOnError(java.lang.Boolean continueOnError)
Continue even if an error is encountered.BatchRequest.Builder
setRequests(java.util.List<BatchRequestItem> requests)
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofBatchRequest
.
-
-
Method Detail
-
setContinueOnError
public BatchRequest.Builder setContinueOnError(java.lang.Boolean continueOnError)
Continue even if an error is encountered.- Parameters:
continueOnError
- New value for the property.
-
setRequests
public BatchRequest.Builder setRequests(java.util.List<BatchRequestItem> requests)
- Parameters:
requests
- New value for the property.
-
build
public BatchRequest build()
-
-