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