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