Package com.vmware.nsx_policy.model
Class FederationQueueInfo.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.FederationQueueInfo.Builder
-
- Enclosing class:
- FederationQueueInfo
public static final class FederationQueueInfo.Builder extends java.lang.Object
Builder class forFederationQueueInfo
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofFederationQueueInfo
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FederationQueueInfo
build()
FederationQueueInfo.Builder
setCurrentSize(java.lang.Long currentSize)
Number of messages in the queue format: int64FederationQueueInfo.Builder
setMaxSize(java.lang.Long maxSize)
Maixmum capacity of the queue format: int64FederationQueueInfo.Builder
setName(java.lang.String name)
Queue nameFederationQueueInfo.Builder
setNamespace(java.lang.String namespace)
Every persistent queue has name and namespace.FederationQueueInfo.Builder
setType(java.lang.String type)
Possible values are:FederationQueueInfo.TYPE_TRANSMITTER
FederationQueueInfo.TYPE_RECEIVER
Queue type - sender or receiver side
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofFederationQueueInfo
.
-
-
Method Detail
-
setCurrentSize
public FederationQueueInfo.Builder setCurrentSize(java.lang.Long currentSize)
Number of messages in the queue format: int64- Parameters:
currentSize
- New value for the property.
-
setMaxSize
public FederationQueueInfo.Builder setMaxSize(java.lang.Long maxSize)
Maixmum capacity of the queue format: int64- Parameters:
maxSize
- New value for the property.
-
setName
public FederationQueueInfo.Builder setName(java.lang.String name)
Queue name- Parameters:
name
- New value for the property.
-
setNamespace
public FederationQueueInfo.Builder setNamespace(java.lang.String namespace)
Every persistent queue has name and namespace. For more debugging like dumping queue, namespace is needed.- Parameters:
namespace
- New value for the property.
-
setType
public FederationQueueInfo.Builder setType(java.lang.String type)
Possible values are: Queue type - sender or receiver side- Parameters:
type
- New value for the property.
-
build
public FederationQueueInfo build()
-
-