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