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