public static class BindResource.BindResourceBuilder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
BindResource.BindResourceBuilder |
appGuid(java.lang.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(java.util.Map<java.lang.String,java.lang.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(java.lang.String key,
java.lang.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(java.lang.String route)
Set an application route as would be provided in a route binding request from the platform.
|
public BindResource.BindResourceBuilder appGuid(java.lang.String appGuid)
appGuid
- the application GUIDpublic BindResource.BindResourceBuilder route(java.lang.String route)
route
- the application GUIDpublic BindResource.BindResourceBuilder properties(java.util.Map<java.lang.String,java.lang.Object> properties)
properties
- the properties to addBindResource.getProperties()
public BindResource.BindResourceBuilder properties(java.lang.String key, java.lang.Object value)
key
- the property key to addvalue
- the property value to addBindResource.getProperties()
public BindResource build()
BindResource
from the provided values.