Package com.vmware.nsx_policy.model
Class ApiRequestBody.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.ApiRequestBody.Builder
-
- Enclosing class:
- ApiRequestBody
public static final class ApiRequestBody.Builder extends java.lang.Object
Builder class forApiRequestBody
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofApiRequestBody
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiRequestBody
build()
ApiRequestBody.Builder
setResourcePointer(java.lang.String resourcePointer)
Regex path representing a regex expression on resources.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofApiRequestBody
.
-
-
Method Detail
-
setResourcePointer
public ApiRequestBody.Builder setResourcePointer(java.lang.String resourcePointer)
Regex path representing a regex expression on resources. This regex is used to identify the request body(ies) that is/are the source of the Event. For instance: specifying \"Lb* | /infra/tier-0s/vmc/ipsec-vpn-services/default\" as a source means that ANY resource starting with Lb or ANY resource with \"/infra/tier-0s/vmc/ipsec-vpn-services/default\" as path would be the source of the event in question.- Parameters:
resourcePointer
- New value for the property.
-
build
public ApiRequestBody build()
-
-