public class SpiceBasicInfo extends QApiType
QApiTypeDescriptor{name=SpiceBasicInfo, data={host=str, port=str, family=NetworkAddressFamily}, innerTypes=null}
Modifier and Type | Field and Description |
---|---|
NetworkAddressFamily |
family |
String |
host |
String |
port |
Constructor and Description |
---|
SpiceBasicInfo() |
SpiceBasicInfo(String host,
String port,
NetworkAddressFamily family) |
Modifier and Type | Method and Description |
---|---|
Object |
getFieldByName(String name) |
List<String> |
getFieldNames() |
SpiceBasicInfo |
withFamily(NetworkAddressFamily value) |
SpiceBasicInfo |
withHost(String value) |
SpiceBasicInfo |
withPort(String value) |
toString
@Nonnull public NetworkAddressFamily family
public SpiceBasicInfo()
public SpiceBasicInfo(String host, String port, NetworkAddressFamily family)
@Nonnull public SpiceBasicInfo withHost(String value)
@Nonnull public SpiceBasicInfo withPort(String value)
@Nonnull public SpiceBasicInfo withFamily(NetworkAddressFamily value)
public List<String> getFieldNames()
getFieldNames
in class QApiType
public Object getFieldByName(@Nonnull String name) throws NoSuchFieldException
getFieldByName
in class QApiType
NoSuchFieldException