public static final class ServiceBindingEntity.Builder extends Object
ServiceBindingEntity.
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 ServiceBindingEntity.Builder from(ServiceBindingEntity instance)
ServiceBindingEntity instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.
Collection elements and entries will be added, not replaced.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ServiceBindingEntity.Builder applicationId(String applicationId)
applicationId attribute.applicationId - The value for applicationId (can be null)this builder for use in a chained invocationpublic final ServiceBindingEntity.Builder applicationUrl(String applicationUrl)
applicationUrl attribute.applicationUrl - The value for applicationUrl (can be null)this builder for use in a chained invocationpublic final ServiceBindingEntity.Builder bindingOption(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 ServiceBindingEntity.Builder bindingOption(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 ServiceBindingEntity.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 ServiceBindingEntity.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 ServiceBindingEntity.Builder credential(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 ServiceBindingEntity.Builder credential(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 ServiceBindingEntity.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 ServiceBindingEntity.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 invocation@Deprecated public final ServiceBindingEntity.Builder gatewayData(GatewayData gatewayData)
gatewayData attribute.gatewayData - The value for gatewayData (can be null)this builder for use in a chained invocationpublic final ServiceBindingEntity.Builder gatewayName(String gatewayName)
gatewayName attribute.gatewayName - The value for gatewayName (can be null)this builder for use in a chained invocationpublic final ServiceBindingEntity.Builder lastOperation(LastOperation lastOperation)
lastOperation attribute.lastOperation - The value for lastOperation (can be null)this builder for use in a chained invocationpublic final ServiceBindingEntity.Builder name(String name)
name attribute.name - The value for name (can be null)this builder for use in a chained invocationpublic final ServiceBindingEntity.Builder serviceBindingParametersUrl(String serviceBindingParametersUrl)
serviceBindingParametersUrl attribute.serviceBindingParametersUrl - The value for serviceBindingParametersUrl (can be null)this builder for use in a chained invocationpublic final ServiceBindingEntity.Builder serviceInstanceId(String serviceInstanceId)
serviceInstanceId attribute.serviceInstanceId - The value for serviceInstanceId (can be null)this builder for use in a chained invocationpublic final ServiceBindingEntity.Builder serviceInstanceUrl(String serviceInstanceUrl)
serviceInstanceUrl attribute.serviceInstanceUrl - The value for serviceInstanceUrl (can be null)this builder for use in a chained invocationpublic final ServiceBindingEntity.Builder syslogDrainUrl(String syslogDrainUrl)
syslogDrainUrl attribute.syslogDrainUrl - The value for syslogDrainUrl (can be null)this builder for use in a chained invocationpublic final ServiceBindingEntity.Builder volumeMount(VolumeMounts element)
volumeMounts list.element - A volumeMounts elementthis builder for use in a chained invocationpublic final ServiceBindingEntity.Builder volumeMounts(VolumeMounts... elements)
volumeMounts list.elements - An array of volumeMounts elementsthis builder for use in a chained invocationpublic final ServiceBindingEntity.Builder volumeMounts(Iterable<? extends VolumeMounts> elements)
volumeMounts list.elements - An iterable of volumeMounts elementsthis builder for use in a chained invocationpublic final ServiceBindingEntity.Builder addAllVolumeMounts(Iterable<? extends VolumeMounts> elements)
volumeMounts list.elements - An iterable of volumeMounts elementsthis builder for use in a chained invocationpublic ServiceBindingEntity build()
ServiceBindingEntity.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.