@Generated(value="org.immutables.processor.ProxyProcessor") public final class ImmutableRawCloudApplication extends RawCloudApplication
RawCloudApplication.
Use the builder to create immutable instances:
ImmutableRawCloudApplication.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableRawCloudApplication.Builder
Builds instances of type
ImmutableRawCloudApplication. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableRawCloudApplication.Builder |
builder()
Creates a builder for
ImmutableRawCloudApplication. |
static ImmutableRawCloudApplication |
copyOf(RawCloudApplication instance)
Creates an immutable copy of a
RawCloudApplication value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableRawCloudApplication that have equal attribute values. |
org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.applications.ApplicationEntity> |
getResource() |
Derivable<CloudSpace> |
getSpace() |
Derivable<CloudStack> |
getStack() |
org.cloudfoundry.client.v2.applications.SummaryApplicationResponse |
getSummary() |
int |
hashCode()
Computes a hash code from attributes:
resource, summary, stack, space. |
String |
toString()
Prints the immutable value
RawCloudApplication with attribute values. |
ImmutableRawCloudApplication |
withResource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.applications.ApplicationEntity> value)
Copy the current immutable object by setting a value for the
resource attribute. |
ImmutableRawCloudApplication |
withSpace(Derivable<CloudSpace> value)
Copy the current immutable object by setting a value for the
space attribute. |
ImmutableRawCloudApplication |
withStack(Derivable<CloudStack> value)
Copy the current immutable object by setting a value for the
stack attribute. |
ImmutableRawCloudApplication |
withSummary(org.cloudfoundry.client.v2.applications.SummaryApplicationResponse value)
Copy the current immutable object by setting a value for the
summary attribute. |
derivederive, deriveFromNullable, parseDate, parseEnum, parseGuid, parseNullableDate, parseNullableGuid, parseResourceMetadata, parseResourceMetadatapublic org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.applications.ApplicationEntity> getResource()
getResource in class RawCloudApplicationresource attributepublic org.cloudfoundry.client.v2.applications.SummaryApplicationResponse getSummary()
getSummary in class RawCloudApplicationsummary attributepublic Derivable<CloudStack> getStack()
getStack in class RawCloudApplicationstack attributepublic Derivable<CloudSpace> getSpace()
getSpace in class RawCloudApplicationspace attributepublic final ImmutableRawCloudApplication withResource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.applications.ApplicationEntity> 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 ImmutableRawCloudApplication withSummary(org.cloudfoundry.client.v2.applications.SummaryApplicationResponse value)
summary attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for summarythis objectpublic final ImmutableRawCloudApplication withStack(Derivable<CloudStack> value)
stack attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for stackthis objectpublic final ImmutableRawCloudApplication withSpace(Derivable<CloudSpace> value)
space attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for spacethis objectpublic boolean equals(Object another)
ImmutableRawCloudApplication that have equal attribute values.public int hashCode()
resource, summary, stack, space.public String toString()
RawCloudApplication with attribute values.public static ImmutableRawCloudApplication copyOf(RawCloudApplication instance)
RawCloudApplication 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 ImmutableRawCloudApplication.Builder builder()
ImmutableRawCloudApplication.
ImmutableRawCloudApplication.builder()
.resource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.applications.ApplicationEntity>) // required resource
.summary(org.cloudfoundry.client.v2.applications.SummaryApplicationResponse) // required summary
.stack(org.cloudfoundry.client.lib.domain.Derivable<org.cloudfoundry.client.lib.domain.CloudStack>) // required stack
.space(org.cloudfoundry.client.lib.domain.Derivable<org.cloudfoundry.client.lib.domain.CloudSpace>) // required space
.build();
Copyright © 2020 SAP SE. All rights reserved.