@Generated(value="org.immutables.processor.ProxyProcessor") public final class ImmutableCloudServiceOffering extends Object implements CloudServiceOffering
CloudServiceOffering.
Use the builder to create immutable instances:
ImmutableCloudServiceOffering.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableCloudServiceOffering.Builder
Builds instances of type
ImmutableCloudServiceOffering. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableCloudServiceOffering.Builder |
builder()
Creates a builder for
ImmutableCloudServiceOffering. |
static ImmutableCloudServiceOffering |
copyOf(CloudServiceOffering instance)
Creates an immutable copy of a
CloudServiceOffering value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableCloudServiceOffering that have equal attribute values. |
String |
getDescription() |
String |
getDocUrl() |
String |
getExtra() |
String |
getInfoUrl() |
CloudMetadata |
getMetadata() |
String |
getName() |
String |
getProvider() |
List<CloudServicePlan> |
getServicePlans() |
String |
getUniqueId() |
String |
getUrl() |
org.cloudfoundry.client.v3.Metadata |
getV3Metadata() |
String |
getVersion() |
int |
hashCode()
Computes a hash code from attributes:
name, metadata, v3Metadata, isActive, isBindable, servicePlans, description, docUrl, extra, infoUrl, provider, uniqueId, url, version. |
Boolean |
isActive() |
Boolean |
isBindable() |
String |
toString()
Prints the immutable value
CloudServiceOffering with attribute values. |
ImmutableCloudServiceOffering |
withDescription(String value)
Copy the current immutable object by setting a value for the
description attribute. |
ImmutableCloudServiceOffering |
withDocUrl(String value)
Copy the current immutable object by setting a value for the
docUrl attribute. |
ImmutableCloudServiceOffering |
withExtra(String value)
Copy the current immutable object by setting a value for the
extra attribute. |
ImmutableCloudServiceOffering |
withInfoUrl(String value)
Copy the current immutable object by setting a value for the
infoUrl attribute. |
ImmutableCloudServiceOffering |
withIsActive(Boolean value)
Copy the current immutable object by setting a value for the
isActive attribute. |
ImmutableCloudServiceOffering |
withIsBindable(Boolean value)
Copy the current immutable object by setting a value for the
isBindable attribute. |
ImmutableCloudServiceOffering |
withMetadata(CloudMetadata value)
Copy the current immutable object by setting a value for the
metadata attribute. |
ImmutableCloudServiceOffering |
withName(String value)
Copy the current immutable object by setting a value for the
name attribute. |
ImmutableCloudServiceOffering |
withProvider(String value)
Copy the current immutable object by setting a value for the
provider attribute. |
ImmutableCloudServiceOffering |
withServicePlans(CloudServicePlan... elements)
Copy the current immutable object with elements that replace the content of
servicePlans. |
ImmutableCloudServiceOffering |
withServicePlans(Iterable<? extends CloudServicePlan> elements)
Copy the current immutable object with elements that replace the content of
servicePlans. |
ImmutableCloudServiceOffering |
withUniqueId(String value)
Copy the current immutable object by setting a value for the
uniqueId attribute. |
ImmutableCloudServiceOffering |
withUrl(String value)
Copy the current immutable object by setting a value for the
url attribute. |
ImmutableCloudServiceOffering |
withV3Metadata(org.cloudfoundry.client.v3.Metadata value)
Copy the current immutable object by setting a value for the
v3Metadata attribute. |
ImmutableCloudServiceOffering |
withVersion(String value)
Copy the current immutable object by setting a value for the
version 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 Boolean isActive()
isActive in interface CloudServiceOfferingisActive attributepublic Boolean isBindable()
isBindable in interface CloudServiceOfferingisBindable attributepublic List<CloudServicePlan> getServicePlans()
getServicePlans in interface CloudServiceOfferingservicePlans attributepublic String getDescription()
getDescription in interface CloudServiceOfferingdescription attributepublic String getDocUrl()
getDocUrl in interface CloudServiceOfferingdocUrl attributepublic String getExtra()
getExtra in interface CloudServiceOfferingextra attributepublic String getInfoUrl()
getInfoUrl in interface CloudServiceOfferinginfoUrl attributepublic String getProvider()
getProvider in interface CloudServiceOfferingprovider attributepublic String getUniqueId()
getUniqueId in interface CloudServiceOfferinguniqueId attributepublic String getUrl()
getUrl in interface CloudServiceOfferingurl attributepublic String getVersion()
getVersion in interface CloudServiceOfferingversion attributepublic final ImmutableCloudServiceOffering 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 ImmutableCloudServiceOffering 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 ImmutableCloudServiceOffering 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 ImmutableCloudServiceOffering withIsActive(Boolean value)
isActive attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for isActive (can be null)this objectpublic final ImmutableCloudServiceOffering withIsBindable(Boolean value)
isBindable attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for isBindable (can be null)this objectpublic final ImmutableCloudServiceOffering withServicePlans(CloudServicePlan... elements)
servicePlans.elements - The elements to setthis objectpublic final ImmutableCloudServiceOffering withServicePlans(Iterable<? extends CloudServicePlan> elements)
servicePlans.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of servicePlans elements to setthis objectpublic final ImmutableCloudServiceOffering 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 ImmutableCloudServiceOffering withDocUrl(String value)
docUrl attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for docUrl (can be null)this objectpublic final ImmutableCloudServiceOffering 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 ImmutableCloudServiceOffering withInfoUrl(String value)
infoUrl attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for infoUrl (can be null)this objectpublic final ImmutableCloudServiceOffering withProvider(String value)
provider attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for provider (can be null)this objectpublic final ImmutableCloudServiceOffering 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 ImmutableCloudServiceOffering withUrl(String value)
url attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for url (can be null)this objectpublic final ImmutableCloudServiceOffering withVersion(String value)
version attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for version (can be null)this objectpublic boolean equals(Object another)
ImmutableCloudServiceOffering that have equal attribute values.public int hashCode()
name, metadata, v3Metadata, isActive, isBindable, servicePlans, description, docUrl, extra, infoUrl, provider, uniqueId, url, version.public String toString()
CloudServiceOffering with attribute values.public static ImmutableCloudServiceOffering copyOf(CloudServiceOffering instance)
CloudServiceOffering 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 ImmutableCloudServiceOffering.Builder builder()
ImmutableCloudServiceOffering.
ImmutableCloudServiceOffering.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
.isActive(Boolean | null) // nullable isActive
.isBindable(Boolean | null) // nullable isBindable
.addServicePlan|addAllServicePlans(org.cloudfoundry.client.lib.domain.CloudServicePlan) // servicePlans elements
.description(String | null) // nullable description
.docUrl(String | null) // nullable docUrl
.extra(String | null) // nullable extra
.infoUrl(String | null) // nullable infoUrl
.provider(String | null) // nullable provider
.uniqueId(String | null) // nullable uniqueId
.url(String | null) // nullable url
.version(String | null) // nullable version
.build();
Copyright © 2020 SAP SE. All rights reserved.