public static final class BindResource.BindResourceBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
BindResource.BindResourceBuilder |
appGuid(String appGuid)
Set an application GUID as would be provided in an app binding request from the platform.
|
BindResource |
build()
Construct a
BindResource from the provided values. |
BindResource.BindResourceBuilder |
properties(Map<String,Object> properties)
Add a set of properties from the provided Map to the bind resource properties as would be provided
in the request from the platform.
|
BindResource.BindResourceBuilder |
properties(String key,
Object value)
Add a key/value pair to the bind resource properties as would be provided in the request from the platform.
|
BindResource.BindResourceBuilder |
route(String route)
Set an application route as would be provided in a route binding request from the platform.
|
public BindResource.BindResourceBuilder appGuid(String appGuid)
appGuid - the application GUIDpublic BindResource.BindResourceBuilder route(String route)
route - the application GUIDpublic BindResource.BindResourceBuilder properties(Map<String,Object> properties)
properties - the properties to addBindResource.getProperties()public BindResource.BindResourceBuilder properties(String key, Object value)
key - the property key to addvalue - the property value to addBindResource.getProperties()public BindResource build()
BindResource from the provided values.