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