@Generated(value="org.immutables.processor.ProxyProcessor") public final class ImmutableRawCloudSpace extends RawCloudSpace
RawCloudSpace.
Use the builder to create immutable instances:
ImmutableRawCloudSpace.builder().
Use the static factory method to create immutable instances:
ImmutableRawCloudSpace.of().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableRawCloudSpace.Builder
Builds instances of type
ImmutableRawCloudSpace. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableRawCloudSpace.Builder |
builder()
Creates a builder for
ImmutableRawCloudSpace. |
static ImmutableRawCloudSpace |
copyOf(RawCloudSpace instance)
Creates an immutable copy of a
RawCloudSpace value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableRawCloudSpace that have equal attribute values. |
Derivable<CloudOrganization> |
getOrganization() |
org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.spaces.SpaceEntity> |
getResource() |
int |
hashCode()
Computes a hash code from attributes:
resource, organization. |
static ImmutableRawCloudSpace |
of(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.spaces.SpaceEntity> resource)
Construct a new immutable
RawCloudSpace instance. |
String |
toString()
Prints the immutable value
RawCloudSpace with attribute values. |
ImmutableRawCloudSpace |
withOrganization(Derivable<CloudOrganization> value)
Copy the current immutable object by setting a value for the
organization attribute. |
ImmutableRawCloudSpace |
withResource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.spaces.SpaceEntity> 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.spaces.SpaceEntity> getResource()
getResource in class RawCloudSpaceresource attributepublic Derivable<CloudOrganization> getOrganization()
getOrganization in class RawCloudSpaceorganization attributepublic final ImmutableRawCloudSpace withResource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.spaces.SpaceEntity> 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 ImmutableRawCloudSpace withOrganization(Derivable<CloudOrganization> value)
organization attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for organization (can be null)this objectpublic boolean equals(Object another)
ImmutableRawCloudSpace that have equal attribute values.public int hashCode()
resource, organization.public String toString()
RawCloudSpace with attribute values.public static ImmutableRawCloudSpace of(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.spaces.SpaceEntity> resource)
RawCloudSpace instance.resource - The value for the resource attributepublic static ImmutableRawCloudSpace copyOf(RawCloudSpace instance)
RawCloudSpace 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 ImmutableRawCloudSpace.Builder builder()
ImmutableRawCloudSpace.
ImmutableRawCloudSpace.builder()
.resource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.spaces.SpaceEntity>) // required resource
.organization(org.cloudfoundry.client.lib.domain.Derivable<org.cloudfoundry.client.lib.domain.CloudOrganization> | null) // nullable organization
.build();
Copyright © 2020 SAP SE. All rights reserved.