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