@Generated(value="org.immutables.processor.ProxyProcessor") public final class ImmutableCloudServicePlan extends Object implements CloudServicePlan
CloudServicePlan.
Use the builder to create immutable instances:
ImmutableCloudServicePlan.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableCloudServicePlan.Builder
Builds instances of type
ImmutableCloudServicePlan. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableCloudServicePlan.Builder |
builder()
Creates a builder for
ImmutableCloudServicePlan. |
static ImmutableCloudServicePlan |
copyOf(CloudServicePlan instance)
Creates an immutable copy of a
CloudServicePlan value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableCloudServicePlan that have equal attribute values. |
String |
getDescription() |
String |
getExtra() |
CloudMetadata |
getMetadata() |
String |
getName() |
String |
getUniqueId() |
org.cloudfoundry.client.v3.Metadata |
getV3Metadata() |
int |
hashCode()
Computes a hash code from attributes:
name, metadata, v3Metadata, description, extra, uniqueId, isFree, isPublic. |
Boolean |
isFree() |
Boolean |
isPublic() |
String |
toString()
Prints the immutable value
CloudServicePlan with attribute values. |
ImmutableCloudServicePlan |
withDescription(String value)
Copy the current immutable object by setting a value for the
description attribute. |
ImmutableCloudServicePlan |
withExtra(String value)
Copy the current immutable object by setting a value for the
extra attribute. |
ImmutableCloudServicePlan |
withIsFree(Boolean value)
Copy the current immutable object by setting a value for the
isFree attribute. |
ImmutableCloudServicePlan |
withIsPublic(Boolean value)
Copy the current immutable object by setting a value for the
isPublic attribute. |
ImmutableCloudServicePlan |
withMetadata(CloudMetadata value)
Copy the current immutable object by setting a value for the
metadata attribute. |
ImmutableCloudServicePlan |
withName(String value)
Copy the current immutable object by setting a value for the
name attribute. |
ImmutableCloudServicePlan |
withUniqueId(String value)
Copy the current immutable object by setting a value for the
uniqueId attribute. |
ImmutableCloudServicePlan |
withV3Metadata(org.cloudfoundry.client.v3.Metadata value)
Copy the current immutable object by setting a value for the
v3Metadata attribute. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitderivepublic String getName()
getName in interface CloudEntityname attributepublic CloudMetadata getMetadata()
getMetadata in interface CloudEntitymetadata attributepublic org.cloudfoundry.client.v3.Metadata getV3Metadata()
getV3Metadata in interface CloudEntityv3Metadata attributepublic String getDescription()
getDescription in interface CloudServicePlandescription attributepublic String getExtra()
getExtra in interface CloudServicePlanextra attributepublic String getUniqueId()
getUniqueId in interface CloudServicePlanuniqueId attributepublic Boolean isFree()
isFree in interface CloudServicePlanisFree attributepublic Boolean isPublic()
isPublic in interface CloudServicePlanisPublic attributepublic final ImmutableCloudServicePlan withName(String value)
name attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for name (can be null)this objectpublic final ImmutableCloudServicePlan withMetadata(CloudMetadata value)
metadata attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for metadata (can be null)this objectpublic final ImmutableCloudServicePlan withV3Metadata(org.cloudfoundry.client.v3.Metadata value)
v3Metadata attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for v3Metadata (can be null)this objectpublic final ImmutableCloudServicePlan withDescription(String value)
description attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for description (can be null)this objectpublic final ImmutableCloudServicePlan withExtra(String value)
extra attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for extra (can be null)this objectpublic final ImmutableCloudServicePlan withUniqueId(String value)
uniqueId attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for uniqueId (can be null)this objectpublic final ImmutableCloudServicePlan withIsFree(Boolean value)
isFree attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for isFree (can be null)this objectpublic final ImmutableCloudServicePlan withIsPublic(Boolean value)
isPublic attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for isPublic (can be null)this objectpublic boolean equals(Object another)
ImmutableCloudServicePlan that have equal attribute values.public int hashCode()
name, metadata, v3Metadata, description, extra, uniqueId, isFree, isPublic.public String toString()
CloudServicePlan with attribute values.public static ImmutableCloudServicePlan copyOf(CloudServicePlan instance)
CloudServicePlan 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 ImmutableCloudServicePlan.Builder builder()
ImmutableCloudServicePlan.
ImmutableCloudServicePlan.builder()
.name(String | null) // nullable name
.metadata(org.cloudfoundry.client.lib.domain.CloudMetadata | null) // nullable metadata
.v3Metadata(org.cloudfoundry.client.v3.Metadata | null) // nullable v3Metadata
.description(String | null) // nullable description
.extra(String | null) // nullable extra
.uniqueId(String | null) // nullable uniqueId
.isFree(Boolean | null) // nullable isFree
.isPublic(Boolean | null) // nullable isPublic
.build();
Copyright © 2020 SAP SE. All rights reserved.