@Generated(value="org.immutables.processor.ProxyProcessor") public final class ImmutableRawCloudServicePlan extends RawCloudServicePlan
RawCloudServicePlan.
Use the builder to create immutable instances:
ImmutableRawCloudServicePlan.builder().
Use the static factory method to create immutable instances:
ImmutableRawCloudServicePlan.of().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableRawCloudServicePlan.Builder
Builds instances of type
ImmutableRawCloudServicePlan. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableRawCloudServicePlan.Builder |
builder()
Creates a builder for
ImmutableRawCloudServicePlan. |
static ImmutableRawCloudServicePlan |
copyOf(RawCloudServicePlan instance)
Creates an immutable copy of a
RawCloudServicePlan value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableRawCloudServicePlan that have equal attribute values. |
org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.serviceplans.ServicePlanEntity> |
getResource() |
int |
hashCode()
Computes a hash code from attributes:
resource. |
static ImmutableRawCloudServicePlan |
of(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.serviceplans.ServicePlanEntity> resource)
Construct a new immutable
RawCloudServicePlan instance. |
String |
toString()
Prints the immutable value
RawCloudServicePlan with attribute values. |
ImmutableRawCloudServicePlan |
withResource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.serviceplans.ServicePlanEntity> value)
Copy the current immutable object by setting a value for the
resource attribute. |
derivederive, deriveFromNullable, parseDate, parseEnum, parseGuid, parseNullableDate, parseNullableGuid, parseResourceMetadata, parseResourceMetadatapublic org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.serviceplans.ServicePlanEntity> getResource()
getResource in class RawCloudServicePlanresource attributepublic final ImmutableRawCloudServicePlan withResource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.serviceplans.ServicePlanEntity> 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 boolean equals(Object another)
ImmutableRawCloudServicePlan that have equal attribute values.public int hashCode()
resource.public String toString()
RawCloudServicePlan with attribute values.public static ImmutableRawCloudServicePlan of(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.serviceplans.ServicePlanEntity> resource)
RawCloudServicePlan instance.resource - The value for the resource attributepublic static ImmutableRawCloudServicePlan copyOf(RawCloudServicePlan instance)
RawCloudServicePlan 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 ImmutableRawCloudServicePlan.Builder builder()
ImmutableRawCloudServicePlan.
ImmutableRawCloudServicePlan.builder()
.resource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.serviceplans.ServicePlanEntity>) // required resource
.build();
Copyright © 2020 SAP SE. All rights reserved.