public NatTraversalBuilder setEtrUdpPort(final Integer value) { if (value != null) { checkEtrUdpPortRange(value); } this._etrUdpPort = value; return this; }
public NatTraversalBuilder setMsUdpPort(final Integer value) { if (value != null) { checkMsUdpPortRange(value); } this._msUdpPort = value; return this; }
private NatTraversalImpl(NatTraversalBuilder base) { this._etrUdpPort = base.getEtrUdpPort(); this._globalEtrRloc = base.getGlobalEtrRloc(); this._msRloc = base.getMsRloc(); this._msUdpPort = base.getMsUdpPort(); this._privateEtrRloc = base.getPrivateEtrRloc(); this._rtrRlocs = base.getRtrRlocs(); this.augmentation = ImmutableMap.copyOf(base.augmentation); }
public NatTraversalBuilder addAugmentation(Class<? extends Augmentation<NatTraversal>> augmentationType, Augmentation<NatTraversal> augmentationValue) { if (augmentationValue == null) { return removeAugmentation(augmentationType); } if (!(this.augmentation instanceof HashMap)) { this.augmentation = new HashMap<>(); } this.augmentation.put(augmentationType, augmentationValue); return this; }
public NatTraversalBuilder addAugmentation(Class<? extends Augmentation<NatTraversal>> augmentationType, Augmentation<NatTraversal> augmentationValue) { if (augmentationValue == null) { return removeAugmentation(augmentationType); } if (!(this.augmentation instanceof HashMap)) { this.augmentation = new HashMap<>(); } this.augmentation.put(augmentationType, augmentationValue); return this; }
NatTraversalImpl(NatTraversalBuilder base) { this._etrUdpPort = base.getEtrUdpPort(); this._globalEtrRloc = base.getGlobalEtrRloc(); this._msRloc = base.getMsRloc(); this._msUdpPort = base.getMsUdpPort(); this._privateEtrRloc = base.getPrivateEtrRloc(); this._rtrRlocs = base.getRtrRlocs(); this.augmentation = ImmutableMap.copyOf(base.augmentation); }
public NatTraversalBuilder setMsUdpPort(final Integer value) { if (value != null) { checkMsUdpPortRange(value); } this._msUdpPort = value; return this; }
public NatTraversalBuilder setEtrUdpPort(final Integer value) { if (value != null) { checkEtrUdpPortRange(value); } this._etrUdpPort = value; return this; }