Package com.vmware.nsx_policy.model
Class PolicyAdvertisedNetwork.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicyAdvertisedNetwork.Builder
-
- Enclosing class:
- PolicyAdvertisedNetwork
public static final class PolicyAdvertisedNetwork.Builder extends java.lang.Object
Builder class forPolicyAdvertisedNetwork
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofPolicyAdvertisedNetwork
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyAdvertisedNetwork
build()
PolicyAdvertisedNetwork.Builder
setNetwork(java.lang.String network)
Advertised network address.PolicyAdvertisedNetwork.Builder
setRuleFilterType(java.lang.String ruleFilterType)
Advertised rule filter type This property may be present in responses from the server, but if it is present in a request to server it will be ignored.PolicyAdvertisedNetwork.Builder
setStatus(java.lang.String status)
advertisement status of network to connected gateway SUCCESS - network route successfully plumbed on target gateway DENIED_BY_TARGET_GATEWAY - network denied by target gateway because of in filter rules or missing inter vrf config 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 ofPolicyAdvertisedNetwork
.
-
-
Method Detail
-
setNetwork
public PolicyAdvertisedNetwork.Builder setNetwork(java.lang.String network)
Advertised network address. 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:
network
- New value for the property.
-
setRuleFilterType
public PolicyAdvertisedNetwork.Builder setRuleFilterType(java.lang.String ruleFilterType)
Advertised rule filter type 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:
ruleFilterType
- New value for the property.
-
setStatus
public PolicyAdvertisedNetwork.Builder setStatus(java.lang.String status)
advertisement status of network to connected gateway SUCCESS - network route successfully plumbed on target gateway DENIED_BY_TARGET_GATEWAY - network denied by target gateway because of in filter rules or missing inter vrf config 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:
status
- New value for the property.
-
build
public PolicyAdvertisedNetwork build()
-
-