@Generated(value="org.immutables.processor.ProxyProcessor") public final class ImmutableRawCloudServiceKey extends RawCloudServiceKey
RawCloudServiceKey.
Use the builder to create immutable instances:
ImmutableRawCloudServiceKey.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableRawCloudServiceKey.Builder
Builds instances of type
ImmutableRawCloudServiceKey. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableRawCloudServiceKey.Builder |
builder()
Creates a builder for
ImmutableRawCloudServiceKey. |
static ImmutableRawCloudServiceKey |
copyOf(RawCloudServiceKey instance)
Creates an immutable copy of a
RawCloudServiceKey value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableRawCloudServiceKey that have equal attribute values. |
org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.servicekeys.ServiceKeyEntity> |
getResource() |
Derivable<CloudService> |
getService() |
int |
hashCode()
Computes a hash code from attributes:
resource, service. |
String |
toString()
Prints the immutable value
RawCloudServiceKey with attribute values. |
ImmutableRawCloudServiceKey |
withResource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.servicekeys.ServiceKeyEntity> value)
Copy the current immutable object by setting a value for the
resource attribute. |
ImmutableRawCloudServiceKey |
withService(Derivable<CloudService> value)
Copy the current immutable object by setting a value for the
service attribute. |
derivederive, deriveFromNullable, parseDate, parseEnum, parseGuid, parseNullableDate, parseNullableGuid, parseResourceMetadata, parseResourceMetadatapublic org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.servicekeys.ServiceKeyEntity> getResource()
getResource in class RawCloudServiceKeyresource attributepublic Derivable<CloudService> getService()
getService in class RawCloudServiceKeyservice attributepublic final ImmutableRawCloudServiceKey withResource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.servicekeys.ServiceKeyEntity> 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 ImmutableRawCloudServiceKey withService(Derivable<CloudService> value)
service attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for servicethis objectpublic boolean equals(Object another)
ImmutableRawCloudServiceKey that have equal attribute values.public int hashCode()
resource, service.public String toString()
RawCloudServiceKey with attribute values.public static ImmutableRawCloudServiceKey copyOf(RawCloudServiceKey instance)
RawCloudServiceKey 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 ImmutableRawCloudServiceKey.Builder builder()
ImmutableRawCloudServiceKey.
ImmutableRawCloudServiceKey.builder()
.resource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.servicekeys.ServiceKeyEntity>) // required resource
.service(org.cloudfoundry.client.lib.domain.Derivable<org.cloudfoundry.client.lib.domain.CloudService>) // required service
.build();
Copyright © 2020 SAP SE. All rights reserved.