Package com.vmware.nsx_policy.model
Class PktCapResource.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PktCapResource.Builder
-
- Enclosing class:
- PktCapResource
public static final class PktCapResource.Builder extends java.lang.Object
Builder class forPktCapResource
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofPktCapResource
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PktCapResource
build()
PktCapResource.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.PktCapResource.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()
Constructor with parameters for the required properties ofPktCapResource
.
-
-
Method Detail
-
setPktcapFileDownloadUrl
public PktCapResource.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 PktCapResource.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 PktCapResource build()
-
-