@Generated(value="org.immutables.processor.ProxyProcessor") public final class ImmutableRawCloudService extends RawCloudService
RawCloudService.
Use the builder to create immutable instances:
ImmutableRawCloudService.builder().
Use the static factory method to create immutable instances:
ImmutableRawCloudService.of().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableRawCloudService.Builder
Builds instances of type
ImmutableRawCloudService. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableRawCloudService.Builder |
builder()
Creates a builder for
ImmutableRawCloudService. |
static ImmutableRawCloudService |
copyOf(RawCloudService instance)
Creates an immutable copy of a
RawCloudService value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableRawCloudService that have equal attribute values. |
org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.serviceinstances.UnionServiceInstanceEntity> |
getResource() |
org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.serviceplans.ServicePlanEntity> |
getServicePlanResource() |
org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.services.ServiceEntity> |
getServiceResource() |
int |
hashCode()
Computes a hash code from attributes:
resource, servicePlanResource, serviceResource. |
static ImmutableRawCloudService |
of(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.serviceinstances.UnionServiceInstanceEntity> resource)
Construct a new immutable
RawCloudService instance. |
String |
toString()
Prints the immutable value
RawCloudService with attribute values. |
ImmutableRawCloudService |
withResource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.serviceinstances.UnionServiceInstanceEntity> value)
Copy the current immutable object by setting a value for the
resource attribute. |
ImmutableRawCloudService |
withServicePlanResource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.serviceplans.ServicePlanEntity> value)
Copy the current immutable object by setting a value for the
servicePlanResource attribute. |
ImmutableRawCloudService |
withServiceResource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.services.ServiceEntity> value)
Copy the current immutable object by setting a value for the
serviceResource attribute. |
derivederive, deriveFromNullable, parseDate, parseEnum, parseGuid, parseNullableDate, parseNullableGuid, parseResourceMetadata, parseResourceMetadatapublic org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.serviceinstances.UnionServiceInstanceEntity> getResource()
getResource in class RawCloudServiceresource attributepublic org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.serviceplans.ServicePlanEntity> getServicePlanResource()
getServicePlanResource in class RawCloudServiceservicePlanResource attributepublic org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.services.ServiceEntity> getServiceResource()
getServiceResource in class RawCloudServiceserviceResource attributepublic final ImmutableRawCloudService withResource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.serviceinstances.UnionServiceInstanceEntity> 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 objectpublic final ImmutableRawCloudService withServicePlanResource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.serviceplans.ServicePlanEntity> value)
servicePlanResource attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for servicePlanResource (can be null)this objectpublic final ImmutableRawCloudService withServiceResource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.services.ServiceEntity> value)
serviceResource attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for serviceResource (can be null)this objectpublic boolean equals(Object another)
ImmutableRawCloudService that have equal attribute values.public int hashCode()
resource, servicePlanResource, serviceResource.public String toString()
RawCloudService with attribute values.public static ImmutableRawCloudService of(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.serviceinstances.UnionServiceInstanceEntity> resource)
RawCloudService instance.resource - The value for the resource attributepublic static ImmutableRawCloudService copyOf(RawCloudService instance)
RawCloudService 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 ImmutableRawCloudService.Builder builder()
ImmutableRawCloudService.
ImmutableRawCloudService.builder()
.resource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.serviceinstances.UnionServiceInstanceEntity>) // required resource
.servicePlanResource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.serviceplans.ServicePlanEntity> | null) // nullable servicePlanResource
.serviceResource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.services.ServiceEntity> | null) // nullable serviceResource
.build();
Copyright © 2020 SAP SE. All rights reserved.