Package com.vmware.nsx_policy.model
Class ServicePath.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.ServicePath.Builder
-
- Enclosing class:
- ServicePath
public static final class ServicePath.Builder extends java.lang.Object
Builder class forServicePath
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofServicePath
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServicePath
build()
ServicePath.Builder
setForwardPath(UnidirectionalServicePath forwardPath)
ServicePath.Builder
setReversePath(UnidirectionalServicePath reversePath)
ServicePath.Builder
setServiceChainId(java.lang.Long serviceChainId)
A unique id of a service chain.ServicePath.Builder
setServiceChainUuid(java.lang.String serviceChainUuid)
Uuid of a service chain.ServicePath.Builder
setServicePathId(java.lang.Long servicePathId)
Unique identifier of a service path.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofServicePath
.
-
-
Method Detail
-
setForwardPath
public ServicePath.Builder setForwardPath(UnidirectionalServicePath forwardPath)
- Parameters:
forwardPath
- New value for the property.
-
setReversePath
public ServicePath.Builder setReversePath(UnidirectionalServicePath reversePath)
- Parameters:
reversePath
- New value for the property.
-
setServiceChainId
public ServicePath.Builder setServiceChainId(java.lang.Long serviceChainId)
A unique id of a service chain. format: int64 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:
serviceChainId
- New value for the property.
-
setServiceChainUuid
public ServicePath.Builder setServiceChainUuid(java.lang.String serviceChainUuid)
Uuid of a service chain. 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:
serviceChainUuid
- New value for the property.
-
setServicePathId
public ServicePath.Builder setServicePathId(java.lang.Long servicePathId)
Unique identifier of a service path. format: int64 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:
servicePathId
- New value for the property.
-
build
public ServicePath build()
-
-