@Generated(value="org.immutables.processor.ProxyProcessor") public final class RouteResource extends _RouteResource
| Modifier and Type | Class and Description |
|---|---|
static class |
RouteResource.Builder
Builds instances of type
RouteResource. |
| Modifier and Type | Method and Description |
|---|---|
static RouteResource.Builder |
builder()
Creates a builder for
RouteResource. |
boolean |
equals(Object another)
This instance is equal to all instances of
RouteResource 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
RouteResource 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)
RouteResource that have equal attribute values.public int hashCode()
createdAt, id, links, updatedAt, destinations, host, metadata, path, port, protocol, relationships, url.public String toString()
RouteResource with attribute values.public static RouteResource.Builder builder()
RouteResource.
RouteResource.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.