public static final class ImmutableCloudServiceBinding.Builder extends Object
ImmutableCloudServiceBinding.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
public final ImmutableCloudServiceBinding.Builder from(CloudEntity instance)
org.cloudfoundry.client.lib.domain.CloudEntity instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableCloudServiceBinding.Builder from(CloudServiceBinding instance)
org.cloudfoundry.client.lib.domain.CloudServiceBinding instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableCloudServiceBinding.Builder name(String name)
name attribute.name - The value for name (can be null)this builder for use in a chained invocationpublic final ImmutableCloudServiceBinding.Builder metadata(CloudMetadata metadata)
metadata attribute.metadata - The value for metadata (can be null)this builder for use in a chained invocationpublic final ImmutableCloudServiceBinding.Builder v3Metadata(org.cloudfoundry.client.v3.Metadata v3Metadata)
v3Metadata attribute.v3Metadata - The value for v3Metadata (can be null)this builder for use in a chained invocationpublic final ImmutableCloudServiceBinding.Builder applicationGuid(UUID applicationGuid)
applicationGuid attribute.applicationGuid - The value for applicationGuidthis builder for use in a chained invocationpublic final ImmutableCloudServiceBinding.Builder putBindingOption(String key, Object value)
bindingOptions map.key - The key in the bindingOptions mapvalue - The associated value in the bindingOptions mapthis builder for use in a chained invocationpublic final ImmutableCloudServiceBinding.Builder putBindingOption(Map.Entry<String,? extends Object> entry)
bindingOptions map. Nulls are not permittedentry - The key and value entrythis builder for use in a chained invocationpublic final ImmutableCloudServiceBinding.Builder bindingOptions(Map<String,? extends Object> entries)
bindingOptions map. Nulls are not permitted as keys or values, but parameter itself can be nullentries - The entries that will be added to the bindingOptions mapthis builder for use in a chained invocationpublic final ImmutableCloudServiceBinding.Builder putAllBindingOptions(Map<String,? extends Object> entries)
bindingOptions map. Nulls are not permittedentries - The entries that will be added to the bindingOptions mapthis builder for use in a chained invocationpublic final ImmutableCloudServiceBinding.Builder putCredential(String key, Object value)
credentials map.key - The key in the credentials mapvalue - The associated value in the credentials mapthis builder for use in a chained invocationpublic final ImmutableCloudServiceBinding.Builder putCredential(Map.Entry<String,? extends Object> entry)
credentials map. Nulls are not permittedentry - The key and value entrythis builder for use in a chained invocationpublic final ImmutableCloudServiceBinding.Builder credentials(Map<String,? extends Object> entries)
credentials map. Nulls are not permitted as keys or values, but parameter itself can be nullentries - The entries that will be added to the credentials mapthis builder for use in a chained invocationpublic final ImmutableCloudServiceBinding.Builder putAllCredentials(Map<String,? extends Object> entries)
credentials map. Nulls are not permittedentries - The entries that will be added to the credentials mapthis builder for use in a chained invocationpublic final ImmutableCloudServiceBinding.Builder putBindingParameter(String key, Object value)
bindingParameters map.key - The key in the bindingParameters mapvalue - The associated value in the bindingParameters mapthis builder for use in a chained invocationpublic final ImmutableCloudServiceBinding.Builder putBindingParameter(Map.Entry<String,? extends Object> entry)
bindingParameters map. Nulls are not permittedentry - The key and value entrythis builder for use in a chained invocationpublic final ImmutableCloudServiceBinding.Builder bindingParameters(Map<String,? extends Object> entries)
bindingParameters map. Nulls are not permitted as keys or values, but parameter itself can be nullentries - The entries that will be added to the bindingParameters mapthis builder for use in a chained invocationpublic final ImmutableCloudServiceBinding.Builder putAllBindingParameters(Map<String,? extends Object> entries)
bindingParameters map. Nulls are not permittedentries - The entries that will be added to the bindingParameters mapthis builder for use in a chained invocationpublic final ImmutableCloudServiceBinding.Builder syslogDrainUrl(String syslogDrainUrl)
syslogDrainUrl attribute.syslogDrainUrl - The value for syslogDrainUrl (can be null)this builder for use in a chained invocationpublic ImmutableCloudServiceBinding build()
ImmutableCloudServiceBinding.IllegalStateException - if any required attributes are missingCopyright © 2020 SAP SE. All rights reserved.