@Generated(value="org.immutables.processor.ProxyProcessor") public final class ImmutableRawCloudOrganization extends RawCloudOrganization
RawCloudOrganization.
Use the builder to create immutable instances:
ImmutableRawCloudOrganization.builder().
Use the static factory method to create immutable instances:
ImmutableRawCloudOrganization.of().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableRawCloudOrganization.Builder
Builds instances of type
ImmutableRawCloudOrganization. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableRawCloudOrganization.Builder |
builder()
Creates a builder for
ImmutableRawCloudOrganization. |
static ImmutableRawCloudOrganization |
copyOf(RawCloudOrganization instance)
Creates an immutable copy of a
RawCloudOrganization value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableRawCloudOrganization that have equal attribute values. |
org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.organizations.OrganizationEntity> |
getResource() |
int |
hashCode()
Computes a hash code from attributes:
resource. |
static ImmutableRawCloudOrganization |
of(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.organizations.OrganizationEntity> resource)
Construct a new immutable
RawCloudOrganization instance. |
String |
toString()
Prints the immutable value
RawCloudOrganization with attribute values. |
ImmutableRawCloudOrganization |
withResource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.organizations.OrganizationEntity> 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.organizations.OrganizationEntity> getResource()
getResource in class RawCloudOrganizationresource attributepublic final ImmutableRawCloudOrganization withResource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.organizations.OrganizationEntity> 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)
ImmutableRawCloudOrganization that have equal attribute values.public int hashCode()
resource.public String toString()
RawCloudOrganization with attribute values.public static ImmutableRawCloudOrganization of(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.organizations.OrganizationEntity> resource)
RawCloudOrganization instance.resource - The value for the resource attributepublic static ImmutableRawCloudOrganization copyOf(RawCloudOrganization instance)
RawCloudOrganization 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 ImmutableRawCloudOrganization.Builder builder()
ImmutableRawCloudOrganization.
ImmutableRawCloudOrganization.builder()
.resource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.organizations.OrganizationEntity>) // required resource
.build();
Copyright © 2020 SAP SE. All rights reserved.