@Generated(value={"Immutables.generator","_NetInfo"}) public final class NetInfo extends Object
_NetInfo.
Use the builder to create immutable instances:
NetInfo.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
NetInfo.Builder
Builds instances of type
NetInfo. |
| Modifier and Type | Method and Description |
|---|---|
static NetInfo.Builder |
builder()
Creates a builder for
NetInfo. |
boolean |
equals(Object another)
This instance is equal to all instances of
NetInfo that have equal attribute values. |
String |
getAddress()
The address
|
List<NetInfoPorts> |
getPorts()
The ports
|
int |
hashCode()
Computes a hash code from attributes:
address, ports. |
String |
toString()
Prints the immutable value
NetInfo with attribute values. |
public String getAddress()
public List<NetInfoPorts> getPorts()
public boolean equals(Object another)
NetInfo that have equal attribute values.public int hashCode()
address, ports.public String toString()
NetInfo with attribute values.public static NetInfo.Builder builder()
NetInfo.Copyright © 2017 Pivotal Software, Inc.. All rights reserved.