public static final class ServiceInstanceMetadata.ServiceInstanceMetadataBuilder extends Object
ServiceInstanceMetadata.| Modifier and Type | Field and Description |
|---|---|
Map<String,Object> |
labels
Broker specified key-value pairs specifying attributes of Service Instances
|
| Modifier and Type | Method and Description |
|---|---|
ServiceInstanceMetadata |
build()
Construct a
ServiceInstanceMetadata from the provided values. |
ServiceInstanceMetadata.ServiceInstanceMetadataBuilder |
label(String key,
Object value)
Add a key/value pair to the metadata labels.
|
ServiceInstanceMetadata.ServiceInstanceMetadataBuilder |
labels(Map<String,Object> labels)
Add a set of labels from the provided Map to the metadata labels.
|
public ServiceInstanceMetadata.ServiceInstanceMetadataBuilder labels(Map<String,Object> labels)
labels - the labels to addlabels(Map)public ServiceInstanceMetadata.ServiceInstanceMetadataBuilder label(String key, Object value)
key - the label key to addvalue - the label value to addlabel(String, Object)public ServiceInstanceMetadata build()
ServiceInstanceMetadata from the provided values.