@Generated(value="org.immutables.processor.ProxyProcessor") public final class Destination extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Destination.Builder
Builds instances of type
Destination. |
| Modifier and Type | Method and Description |
|---|---|
static Destination.Builder |
builder()
Creates a builder for
Destination. |
boolean |
equals(Object another)
This instance is equal to all instances of
Destination that have equal attribute values. |
String |
getId()
The id
|
Ports |
getPorts()
The ports
|
String |
getProtocol()
The protocol
|
int |
hashCode()
Computes a hash code from attributes:
id, ports, protocol. |
String |
toString()
Prints the immutable value
Destination with attribute values. |
public String getId()
public Ports getPorts()
public String getProtocol()
public boolean equals(Object another)
Destination that have equal attribute values.public int hashCode()
id, ports, protocol.public String toString()
Destination with attribute values.public static Destination.Builder builder()
Destination.
Destination.builder()
.id(String) // required id
.ports(org.cloudfoundry.networking.v1.policies.Ports) // required ports
.protocol(String) // required protocol
.build();
Copyright © 2020. All rights reserved.