@Generated(value={"Immutables.generator","_RuleEntity"}) public final class RuleEntity extends Object
_RuleEntity.
Use the builder to create immutable instances:
RuleEntity.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
RuleEntity.Builder
Builds instances of type
RuleEntity. |
| Modifier and Type | Method and Description |
|---|---|
static RuleEntity.Builder |
builder()
Creates a builder for
RuleEntity. |
boolean |
equals(Object another)
This instance is equal to all instances of
RuleEntity that have equal attribute values. |
Integer |
getCode()
The control signal for icmp
|
String |
getDestination()
The destination
|
Boolean |
getLog()
Enables logging for the egress rule
|
String |
getPorts()
The ports
|
String |
getProtocol()
The protocol
|
Integer |
getType()
The control signal for icmp
|
int |
hashCode()
Computes a hash code from attributes:
code, destination, log, ports, protocol, type. |
String |
toString()
Prints the immutable value
RuleEntity with attribute values. |
public Integer getCode()
public String getDestination()
public Boolean getLog()
public String getPorts()
public String getProtocol()
public Integer getType()
public boolean equals(Object another)
RuleEntity that have equal attribute values.public int hashCode()
code, destination, log, ports, protocol, type.public String toString()
RuleEntity with attribute values.public static RuleEntity.Builder builder()
RuleEntity.Copyright © 2016 Pivotal Software, Inc.. All rights reserved.