@Generated(value="org.immutables.processor.ProxyProcessor") public final class GetRouteResponse extends Route
| Modifier and Type | Class and Description |
|---|---|
static class |
GetRouteResponse.Builder
Builds instances of type
GetRouteResponse. |
| Modifier and Type | Method and Description |
|---|---|
static GetRouteResponse.Builder |
builder()
Creates a builder for
GetRouteResponse. |
boolean |
equals(Object another)
This instance is equal to all instances of
GetRouteResponse that have equal attribute values. |
String |
getCreatedAt()
When the resource was created
|
List<Destination> |
getDestinations()
The destinations
|
String |
getHost()
The host
|
String |
getId()
The resource's id
|
Map<String,Link> |
getLinks()
Links to related resources and actions for the resource
|
Metadata |
getMetadata()
The metadata
|
String |
getPath()
The path
|
Integer |
getPort()
The port
|
Protocol |
getProtocol()
The protocol
|
RouteRelationships |
getRelationships()
The relationships
|
String |
getUpdatedAt()
When the resource was last updated
|
String |
getUrl()
The url
|
int |
hashCode()
Computes a hash code from attributes:
createdAt, id, links, updatedAt, destinations, host, metadata, path, port, protocol, relationships, url. |
String |
toString()
Prints the immutable value
GetRouteResponse with attribute values. |
public String getCreatedAt()
getCreatedAt in class Resourcepublic String getUpdatedAt()
getUpdatedAt in class Resourcepublic List<Destination> getDestinations()
getDestinations in class Routepublic Metadata getMetadata()
getMetadata in class Routepublic Protocol getProtocol()
getProtocol in class Routepublic RouteRelationships getRelationships()
getRelationships in class Routepublic boolean equals(Object another)
GetRouteResponse that have equal attribute values.public int hashCode()
createdAt, id, links, updatedAt, destinations, host, metadata, path, port, protocol, relationships, url.public String toString()
GetRouteResponse with attribute values.public static GetRouteResponse.Builder builder()
GetRouteResponse.
GetRouteResponse.builder()
.createdAt(String) // required createdAt
.id(String) // required id
.link|putAllLinks(String => Link) // links mappings
.updatedAt(String | null) // nullable updatedAt
.destinations(List<Destination> | null) // nullable destinations
.host(String) // required host
.metadata(org.cloudfoundry.client.v3.Metadata | null) // nullable metadata
.path(String) // required path
.port(Integer | null) // nullable port
.protocol(org.cloudfoundry.client.v3.routes.Protocol | null) // nullable protocol
.relationships(org.cloudfoundry.client.v3.routes.RouteRelationships) // required relationships
.url(String) // required url
.build();
Copyright © 2020. All rights reserved.