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.ObjectBuilder 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 BatchRequestItembuild()BatchRequestItem.BuildersetBody(com.vmware.vapi.bindings.Structure body)BatchRequestItem.BuildersetMethod(java.lang.String method)Possible values are:BatchRequestItem.METHOD_GETBatchRequestItem.METHOD_POSTBatchRequestItem.METHOD_PUTBatchRequestItem.METHOD_DELETEBatchRequestItem.METHOD_PATCHhttp method typeBatchRequestItem.BuildersetUri(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()
-
-