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