Ipv6Impl(Ipv6Builder base) { this._ipv6 = base.getIpv6(); this.augmentation = ImmutableMap.copyOf(base.augmentation); }
public Ipv6Builder addAugmentation(Class<? extends Augmentation<Ipv6>> augmentationType, Augmentation<Ipv6> augmentationValue) { if (augmentationValue == null) { return removeAugmentation(augmentationType); } if (!(this.augmentation instanceof HashMap)) { this.augmentation = new HashMap<>(); } this.augmentation.put(augmentationType, augmentationValue); return this; }
new Ipv6PrefixBuilder().setIpv6Prefix(v6Prefix(address, prefix)).build()).build() : newLocalEidBuilder(Ipv6Afi.class, vni).setAddress( new Ipv6Builder().setIpv6(arrayToIpv6AddressNoZone(address)).build()) .build();
new Ipv6Builder().setIpv6(arrayToIpv6AddressNoZone(address)) .build()) .build();
new Ipv6PrefixBuilder().setIpv6Prefix(v6Prefix(address, prefix)).build()).build() : newRemoteEidBuilder(Ipv6Afi.class, vni) .setAddress(new Ipv6Builder().setIpv6(arrayToIpv6AddressNoZone(address)).build()) .build();
public Ipv6Builder addAugmentation(Class<? extends Augmentation<Ipv6>> augmentationType, Augmentation<Ipv6> augmentationValue) { if (augmentationValue == null) { return removeAugmentation(augmentationType); } if (!(this.augmentation instanceof HashMap)) { this.augmentation = new HashMap<>(); } this.augmentation.put(augmentationType, augmentationValue); return this; }
private Ipv6Impl(Ipv6Builder base) { this._ipv6 = base.getIpv6(); this.augmentation = ImmutableMap.copyOf(base.augmentation); }
.setAddress(new Ipv6PrefixBuilder().setIpv6Prefix(v6Prefix(address, prefix)).build()).build() : newEidBuilderRemote(Ipv6Afi.class, vni) .setAddress(new Ipv6Builder().setIpv6(arrayToIpv6AddressNoZone(address)).build()) .build();