@Generated(value="org.immutables.processor.ProxyProcessor") public final class Policy extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Policy.Builder
Builds instances of type
Policy. |
| Modifier and Type | Method and Description |
|---|---|
static Policy.Builder |
builder()
Creates a builder for
Policy. |
boolean |
equals(Object another)
This instance is equal to all instances of
Policy that have equal attribute values. |
String |
getDestination()
The destination
|
Integer |
getEndPort()
The ending port
|
String |
getProtocol()
The protocol
|
String |
getSource()
The source
|
Integer |
getStartPort()
The starting port
|
int |
hashCode()
Computes a hash code from attributes:
destination, endPort, protocol, source, startPort. |
String |
toString()
Prints the immutable value
Policy with attribute values. |
public String getDestination()
public Integer getEndPort()
public String getProtocol()
public String getSource()
public Integer getStartPort()
public boolean equals(Object another)
Policy that have equal attribute values.public int hashCode()
destination, endPort, protocol, source, startPort.public String toString()
Policy with attribute values.public static Policy.Builder builder()
Policy.Copyright © 2018. All rights reserved.