/** * Constructor provided only for using in JMX. Don't use it for * construction new object of this union type. */ @ConstructorProperties("value") public IpAddress(char[] _value) { java.lang.String defVal = new java.lang.String(_value); IpAddress defInst = IpAddressBuilder.getDefaultInstance(defVal); this._ipv4Address = defInst._ipv4Address; this._ipv6Address = defInst._ipv6Address; this._value = _value == null ? null : _value.clone(); } /**
/** * Constructor provided only for using in JMX. Don't use it for * construction new object of this union type. */ @ConstructorProperties("value") public IpAddress(char[] _value) { java.lang.String defVal = new java.lang.String(_value); IpAddress defInst = IpAddressBuilder.getDefaultInstance(defVal); this._ipv4Address = defInst._ipv4Address; this._ipv6Address = defInst._ipv6Address; this._value = _value == null ? null : _value.clone(); } /**
try { IpAddress ipAddr = IpAddressBuilder .getDefaultInstance(paramValue);
.setIpAddress(IpAddressBuilder.getDefaultInstance(srcIp)).build()); SendArpRequestInput input = new SendArpRequestInputBuilder().setInterfaceAddress(addresses) .setIpaddress(IpAddressBuilder.getDefaultInstance(targetIp)).build(); Future<RpcResult<Void>> future = arpService.sendArpRequest(input);