@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. |
Application |
getApplication()
The application
|
String |
getDestinationId()
The destination id
|
Integer |
getPort()
The port
|
Integer |
getWeight()
The id
|
int |
hashCode()
Computes a hash code from attributes:
application, destinationId, port, weight. |
String |
toString()
Prints the immutable value
Destination with attribute values. |
public Application getApplication()
public String getDestinationId()
public Integer getPort()
public Integer getWeight()
public boolean equals(Object another)
Destination that have equal attribute values.public int hashCode()
application, destinationId, port, weight.public String toString()
Destination with attribute values.public static Destination.Builder builder()
Destination.
Destination.builder()
.application(org.cloudfoundry.client.v3.routes.Application) // required application
.destinationId(String | null) // nullable destinationId
.port(Integer | null) // nullable port
.weight(Integer | null) // nullable weight
.build();
Copyright © 2020. All rights reserved.