@Generated(value="org.immutables.processor.ProxyProcessor") public final class ImmutableCloudServiceBinding extends Object implements CloudServiceBinding
CloudServiceBinding.
Use the builder to create immutable instances:
ImmutableCloudServiceBinding.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableCloudServiceBinding.Builder
Builds instances of type
ImmutableCloudServiceBinding. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableCloudServiceBinding.Builder |
builder()
Creates a builder for
ImmutableCloudServiceBinding. |
static ImmutableCloudServiceBinding |
copyOf(CloudServiceBinding instance)
Creates an immutable copy of a
CloudServiceBinding value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableCloudServiceBinding that have equal attribute values. |
UUID |
getApplicationGuid() |
Map<String,Object> |
getBindingOptions() |
Map<String,Object> |
getBindingParameters() |
Map<String,Object> |
getCredentials() |
CloudMetadata |
getMetadata() |
String |
getName() |
String |
getSyslogDrainUrl() |
org.cloudfoundry.client.v3.Metadata |
getV3Metadata() |
int |
hashCode()
Computes a hash code from attributes:
name, metadata, v3Metadata, applicationGuid, bindingOptions, credentials, bindingParameters, syslogDrainUrl. |
String |
toString()
Prints the immutable value
CloudServiceBinding with attribute values. |
ImmutableCloudServiceBinding |
withApplicationGuid(UUID value)
Copy the current immutable object by setting a value for the
applicationGuid attribute. |
ImmutableCloudServiceBinding |
withBindingOptions(Map<String,? extends Object> entries)
Copy the current immutable object by replacing the
bindingOptions map with the specified map. |
ImmutableCloudServiceBinding |
withBindingParameters(Map<String,? extends Object> entries)
Copy the current immutable object by replacing the
bindingParameters map with the specified map. |
ImmutableCloudServiceBinding |
withCredentials(Map<String,? extends Object> entries)
Copy the current immutable object by replacing the
credentials map with the specified map. |
ImmutableCloudServiceBinding |
withMetadata(CloudMetadata value)
Copy the current immutable object by setting a value for the
metadata attribute. |
ImmutableCloudServiceBinding |
withName(String value)
Copy the current immutable object by setting a value for the
name attribute. |
ImmutableCloudServiceBinding |
withSyslogDrainUrl(String value)
Copy the current immutable object by setting a value for the
syslogDrainUrl attribute. |
ImmutableCloudServiceBinding |
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 UUID getApplicationGuid()
getApplicationGuid in interface CloudServiceBindingapplicationGuid attributepublic Map<String,Object> getBindingOptions()
getBindingOptions in interface CloudServiceBindingbindingOptions attributepublic Map<String,Object> getCredentials()
getCredentials in interface CloudServiceBindingcredentials attributepublic Map<String,Object> getBindingParameters()
getBindingParameters in interface CloudServiceBindingbindingParameters attributepublic String getSyslogDrainUrl()
getSyslogDrainUrl in interface CloudServiceBindingsyslogDrainUrl attributepublic final ImmutableCloudServiceBinding 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 ImmutableCloudServiceBinding 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 ImmutableCloudServiceBinding 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 ImmutableCloudServiceBinding withApplicationGuid(UUID value)
applicationGuid attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for applicationGuidthis objectpublic final ImmutableCloudServiceBinding withBindingOptions(Map<String,? extends Object> entries)
bindingOptions 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 bindingOptions mapthis objectpublic final ImmutableCloudServiceBinding withCredentials(Map<String,? extends Object> entries)
credentials 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 credentials mapthis objectpublic final ImmutableCloudServiceBinding withBindingParameters(Map<String,? extends Object> entries)
bindingParameters 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 bindingParameters mapthis objectpublic final ImmutableCloudServiceBinding withSyslogDrainUrl(String value)
syslogDrainUrl attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for syslogDrainUrl (can be null)this objectpublic boolean equals(Object another)
ImmutableCloudServiceBinding that have equal attribute values.public int hashCode()
name, metadata, v3Metadata, applicationGuid, bindingOptions, credentials, bindingParameters, syslogDrainUrl.public String toString()
CloudServiceBinding with attribute values.public static ImmutableCloudServiceBinding copyOf(CloudServiceBinding instance)
CloudServiceBinding 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 ImmutableCloudServiceBinding.Builder builder()
ImmutableCloudServiceBinding.
ImmutableCloudServiceBinding.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
.applicationGuid(UUID) // required applicationGuid
.bindingOptions(Map<String, Object> | null) // nullable bindingOptions
.credentials(Map<String, Object> | null) // nullable credentials
.bindingParameters(Map<String, Object> | null) // nullable bindingParameters
.syslogDrainUrl(String | null) // nullable syslogDrainUrl
.build();
Copyright © 2020 SAP SE. All rights reserved.