@Generated(value="org.immutables.processor.ProxyProcessor") public final class ImmutableRawCloudServiceBinding extends RawCloudServiceBinding
RawCloudServiceBinding.
Use the builder to create immutable instances:
ImmutableRawCloudServiceBinding.builder().
Use the static factory method to create immutable instances:
ImmutableRawCloudServiceBinding.of().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableRawCloudServiceBinding.Builder
Builds instances of type
ImmutableRawCloudServiceBinding. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableRawCloudServiceBinding.Builder |
builder()
Creates a builder for
ImmutableRawCloudServiceBinding. |
static ImmutableRawCloudServiceBinding |
copyOf(RawCloudServiceBinding instance)
Creates an immutable copy of a
RawCloudServiceBinding value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableRawCloudServiceBinding that have equal attribute values. |
Map<String,Object> |
getParameters() |
org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.servicebindings.ServiceBindingEntity> |
getResource() |
int |
hashCode()
Computes a hash code from attributes:
resource, parameters. |
static ImmutableRawCloudServiceBinding |
of(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.servicebindings.ServiceBindingEntity> resource)
Construct a new immutable
RawCloudServiceBinding instance. |
String |
toString()
Prints the immutable value
RawCloudServiceBinding with attribute values. |
ImmutableRawCloudServiceBinding |
withParameters(Map<String,? extends Object> entries)
Copy the current immutable object by replacing the
parameters map with the specified map. |
ImmutableRawCloudServiceBinding |
withResource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.servicebindings.ServiceBindingEntity> 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.servicebindings.ServiceBindingEntity> getResource()
getResource in class RawCloudServiceBindingresource attributepublic Map<String,Object> getParameters()
getParameters in class RawCloudServiceBindingparameters attributepublic final ImmutableRawCloudServiceBinding withResource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.servicebindings.ServiceBindingEntity> 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 final ImmutableRawCloudServiceBinding withParameters(Map<String,? extends Object> entries)
parameters map with the specified map.
Nulls are not permitted as keys or values.
A shallow reference equality check is used to prevent copying of the same value by returning this.entries - The entries to be added to the parameters mapthis objectpublic boolean equals(Object another)
ImmutableRawCloudServiceBinding that have equal attribute values.public int hashCode()
resource, parameters.public String toString()
RawCloudServiceBinding with attribute values.public static ImmutableRawCloudServiceBinding of(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.servicebindings.ServiceBindingEntity> resource)
RawCloudServiceBinding instance.resource - The value for the resource attributepublic static ImmutableRawCloudServiceBinding copyOf(RawCloudServiceBinding instance)
RawCloudServiceBinding 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 ImmutableRawCloudServiceBinding.Builder builder()
ImmutableRawCloudServiceBinding.
ImmutableRawCloudServiceBinding.builder()
.resource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.servicebindings.ServiceBindingEntity>) // required resource
.parameters(Map<String, Object> | null) // nullable parameters
.build();
Copyright © 2020 SAP SE. All rights reserved.