@Generated(value="org.immutables.processor.ProxyProcessor") public final class Rule extends Object
| 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. |
Integer |
getCode()
The code control signal for icmp
|
String |
getDescription()
The description of the rule
|
String |
getDestination()
The destination
|
Boolean |
getLog()
Enables logging for the egress rule
|
String |
getPorts()
The ports
|
Protocol |
getProtocol()
The protocol
|
Integer |
getType()
The type control signal for icmp
|
int |
hashCode()
Computes a hash code from attributes:
code, description, destination, log, ports, protocol, type. |
String |
toString()
Prints the immutable value
Rule with attribute values. |
public Integer getCode()
public String getDescription()
public String getDestination()
public Boolean getLog()
public String getPorts()
public Protocol getProtocol()
public Integer getType()
public boolean equals(Object another)
Rule that have equal attribute values.public int hashCode()
code, description, destination, log, ports, protocol, type.public String toString()
Rule with attribute values.public static Rule.Builder builder()
Rule.
Rule.builder()
.code(Integer | null) // nullable code
.description(String | null) // nullable description
.destination(String | null) // nullable destination
.log(Boolean | null) // nullable log
.ports(String | null) // nullable ports
.protocol(org.cloudfoundry.client.v3.securitygroups.Protocol | null) // nullable protocol
.type(Integer | null) // nullable type
.build();
Copyright © 2024. All rights reserved.