Package com.vmware.nsx_policy.model
Class PolicyPktCapResource.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicyPktCapResource.Builder
-
- Enclosing class:
- PolicyPktCapResource
public static final class PolicyPktCapResource.Builder extends java.lang.Object
Builder class forPolicyPktCapResource
.
-
-
Constructor Summary
Constructors Constructor Description Builder(java.lang.String resourceType)
Constructor with parameters for the required properties ofPolicyPktCapResource
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyPktCapResource
build()
PolicyPktCapResource.Builder
setLogicalPortPath(java.lang.String logicalPortPath)
The path of segment port or router port where the packets are captured This property may be present in responses from the server, but if it is present in a request to server it will be ignored.PolicyPktCapResource.Builder
setPktcapFileDownloadUrl(java.lang.String pktcapFileDownloadUrl)
Packet capture file download URL This property may be present in responses from the server, but if it is present in a request to server it will be ignored.PolicyPktCapResource.Builder
setPortId(java.lang.String portId)
The ID of logical port where packet capture action is performed This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
-
-
Constructor Detail
-
Builder
public Builder(java.lang.String resourceType)
Constructor with parameters for the required properties ofPolicyPktCapResource
.
-
-
Method Detail
-
setLogicalPortPath
public PolicyPktCapResource.Builder setLogicalPortPath(java.lang.String logicalPortPath)
The path of segment port or router port where the packets are captured This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
logicalPortPath
- New value for the property.
-
setPktcapFileDownloadUrl
public PolicyPktCapResource.Builder setPktcapFileDownloadUrl(java.lang.String pktcapFileDownloadUrl)
Packet capture file download URL This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
pktcapFileDownloadUrl
- New value for the property.
-
setPortId
public PolicyPktCapResource.Builder setPortId(java.lang.String portId)
The ID of logical port where packet capture action is performed This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
portId
- New value for the property.
-
build
public PolicyPktCapResource build()
-
-