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