Package com.vmware.nsx_policy.model
Class BatchRequestItem.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.BatchRequestItem.Builder
-
- Enclosing class:
- BatchRequestItem
public static final class BatchRequestItem.Builder extends java.lang.Object
Builder class forBatchRequestItem
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofBatchRequestItem
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchRequestItem
build()
BatchRequestItem.Builder
setBody(com.vmware.vapi.bindings.Structure body)
BatchRequestItem.Builder
setMethod(java.lang.String method)
Possible values are:BatchRequestItem.METHOD_GET
BatchRequestItem.METHOD_POST
BatchRequestItem.METHOD_PUT
BatchRequestItem.METHOD_DELETE
BatchRequestItem.METHOD_PATCH
http method typeBatchRequestItem.Builder
setUri(java.lang.String uri)
relative uri (path and args), of the call including resource id (if this is a POST/DELETE), exclude hostname and port and prefix, exploded form of parameters
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofBatchRequestItem
.
-
-
Method Detail
-
setBody
public BatchRequestItem.Builder setBody(com.vmware.vapi.bindings.Structure body)
- Parameters:
body
- New value for the property.
-
setMethod
public BatchRequestItem.Builder setMethod(java.lang.String method)
Possible values are: http method type- Parameters:
method
- New value for the property.
-
setUri
public BatchRequestItem.Builder setUri(java.lang.String uri)
relative uri (path and args), of the call including resource id (if this is a POST/DELETE), exclude hostname and port and prefix, exploded form of parameters- Parameters:
uri
- New value for the property.
-
build
public BatchRequestItem build()
-
-