@Generated(value="org.immutables.processor.ProxyProcessor") public final class ImmutableRawCloudServiceOffering extends RawCloudServiceOffering
RawCloudServiceOffering.
Use the builder to create immutable instances:
ImmutableRawCloudServiceOffering.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableRawCloudServiceOffering.Builder
Builds instances of type
ImmutableRawCloudServiceOffering. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableRawCloudServiceOffering.Builder |
builder()
Creates a builder for
ImmutableRawCloudServiceOffering. |
static ImmutableRawCloudServiceOffering |
copyOf(RawCloudServiceOffering instance)
Creates an immutable copy of a
RawCloudServiceOffering value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableRawCloudServiceOffering that have equal attribute values. |
org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.services.ServiceEntity> |
getResource() |
List<Derivable<CloudServicePlan>> |
getServicePlans() |
int |
hashCode()
Computes a hash code from attributes:
resource, servicePlans. |
String |
toString()
Prints the immutable value
RawCloudServiceOffering with attribute values. |
ImmutableRawCloudServiceOffering |
withResource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.services.ServiceEntity> value)
Copy the current immutable object by setting a value for the
resource attribute. |
ImmutableRawCloudServiceOffering |
withServicePlans(Derivable<CloudServicePlan>... elements)
Copy the current immutable object with elements that replace the content of
servicePlans. |
ImmutableRawCloudServiceOffering |
withServicePlans(Iterable<? extends Derivable<CloudServicePlan>> elements)
Copy the current immutable object with elements that replace the content of
servicePlans. |
derivederive, deriveFromNullable, parseDate, parseEnum, parseGuid, parseNullableDate, parseNullableGuid, parseResourceMetadata, parseResourceMetadatapublic org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.services.ServiceEntity> getResource()
getResource in class RawCloudServiceOfferingresource attributepublic List<Derivable<CloudServicePlan>> getServicePlans()
getServicePlans in class RawCloudServiceOfferingservicePlans attributepublic final ImmutableRawCloudServiceOffering withResource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.services.ServiceEntity> 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 object@SafeVarargs public final ImmutableRawCloudServiceOffering withServicePlans(Derivable<CloudServicePlan>... elements)
servicePlans.elements - The elements to setthis objectpublic final ImmutableRawCloudServiceOffering withServicePlans(Iterable<? extends Derivable<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 boolean equals(Object another)
ImmutableRawCloudServiceOffering that have equal attribute values.public int hashCode()
resource, servicePlans.public String toString()
RawCloudServiceOffering with attribute values.public static ImmutableRawCloudServiceOffering copyOf(RawCloudServiceOffering instance)
RawCloudServiceOffering 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 ImmutableRawCloudServiceOffering.Builder builder()
ImmutableRawCloudServiceOffering.
ImmutableRawCloudServiceOffering.builder()
.resource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.services.ServiceEntity>) // required resource
.addServicePlan|addAllServicePlans(org.cloudfoundry.client.lib.domain.Derivable<org.cloudfoundry.client.lib.domain.CloudServicePlan>) // servicePlans elements
.build();
Copyright © 2020 SAP SE. All rights reserved.