@Generated(value="org.immutables.processor.ProxyProcessor") public final class ImmutableRawCloudRoute extends RawCloudRoute
RawCloudRoute.
Use the builder to create immutable instances:
ImmutableRawCloudRoute.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableRawCloudRoute.Builder
Builds instances of type
ImmutableRawCloudRoute. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableRawCloudRoute.Builder |
builder()
Creates a builder for
ImmutableRawCloudRoute. |
static ImmutableRawCloudRoute |
copyOf(RawCloudRoute instance)
Creates an immutable copy of a
RawCloudRoute value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableRawCloudRoute that have equal attribute values. |
Derivable<CloudDomain> |
getDomain() |
org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.routes.RouteEntity> |
getResource() |
List<org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.routemappings.RouteMappingEntity>> |
getRouteMappingResources() |
int |
hashCode()
Computes a hash code from attributes:
resource, routeMappingResources, domain. |
String |
toString()
Prints the immutable value
RawCloudRoute with attribute values. |
ImmutableRawCloudRoute |
withDomain(Derivable<CloudDomain> value)
Copy the current immutable object by setting a value for the
domain attribute. |
ImmutableRawCloudRoute |
withResource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.routes.RouteEntity> value)
Copy the current immutable object by setting a value for the
resource attribute. |
ImmutableRawCloudRoute |
withRouteMappingResources(Iterable<? extends org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.routemappings.RouteMappingEntity>> elements)
Copy the current immutable object with elements that replace the content of
routeMappingResources. |
ImmutableRawCloudRoute |
withRouteMappingResources(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.routemappings.RouteMappingEntity>... elements)
Copy the current immutable object with elements that replace the content of
routeMappingResources. |
derivederive, deriveFromNullable, parseDate, parseEnum, parseGuid, parseNullableDate, parseNullableGuid, parseResourceMetadata, parseResourceMetadatapublic org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.routes.RouteEntity> getResource()
getResource in class RawCloudRouteresource attributepublic List<org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.routemappings.RouteMappingEntity>> getRouteMappingResources()
getRouteMappingResources in class RawCloudRouterouteMappingResources attributepublic Derivable<CloudDomain> getDomain()
getDomain in class RawCloudRoutedomain attributepublic final ImmutableRawCloudRoute withResource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.routes.RouteEntity> value)
resource attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for resourcethis object@SafeVarargs public final ImmutableRawCloudRoute withRouteMappingResources(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.routemappings.RouteMappingEntity>... elements)
routeMappingResources.elements - The elements to setthis objectpublic final ImmutableRawCloudRoute withRouteMappingResources(Iterable<? extends org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.routemappings.RouteMappingEntity>> elements)
routeMappingResources.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of routeMappingResources elements to setthis objectpublic final ImmutableRawCloudRoute withDomain(Derivable<CloudDomain> value)
domain attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for domainthis objectpublic boolean equals(Object another)
ImmutableRawCloudRoute that have equal attribute values.public int hashCode()
resource, routeMappingResources, domain.public String toString()
RawCloudRoute with attribute values.public static ImmutableRawCloudRoute copyOf(RawCloudRoute instance)
RawCloudRoute value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static ImmutableRawCloudRoute.Builder builder()
ImmutableRawCloudRoute.
ImmutableRawCloudRoute.builder()
.resource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.routes.RouteEntity>) // required resource
.addRouteMappingResource|addAllRouteMappingResources(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.routemappings.RouteMappingEntity>) // routeMappingResources elements
.domain(org.cloudfoundry.client.lib.domain.Derivable<org.cloudfoundry.client.lib.domain.CloudDomain>) // required domain
.build();
Copyright © 2020 SAP SE. All rights reserved.