Package com.vmware.nsx_policy.model
Class ResourceOperation.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.ResourceOperation.Builder
-
- Enclosing class:
- ResourceOperation
public static final class ResourceOperation.Builder extends java.lang.Object
Builder class forResourceOperation
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofResourceOperation
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceOperation
build()
ResourceOperation.Builder
setOperationTypes(java.util.List<java.lang.String> operationTypes)
Possible values are:ResourceOperation.OPERATION_TYPES_POST_CREATE
ResourceOperation.OPERATION_TYPES_POST_UPDATE
ResourceOperation.OPERATION_TYPES_PRE_DELETE
Operation types.ResourceOperation.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 ofResourceOperation
.
-
-
Method Detail
-
setOperationTypes
public ResourceOperation.Builder setOperationTypes(java.util.List<java.lang.String> operationTypes)
Possible values are: Operation types.- Parameters:
operationTypes
- New value for the property.
-
setResourcePointer
public ResourceOperation.Builder setResourcePointer(java.lang.String resourcePointer)
Regex path representing a regex expression on resources. This regex is used to identify the object(s) 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 ResourceOperation build()
-
-