public static final class LinkRequest.Builder
extends java.lang.Object
LinkRequest
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
LinkRequest . |
Modifier and Type | Method and Description |
---|---|
LinkRequest |
build() |
LinkRequest.Builder |
setExpirationDate(java.util.Calendar expirationDate)
The time at which the template URL expires.
|
LinkRequest.Builder |
setTemplateExecutionUrl(java.lang.String templateExecutionUrl)
The final URL to be given to the user as a \"click here to start\" link.
|
LinkRequest.Builder |
setTemplateUrl(java.lang.String templateUrl)
The constructed template URL.
|
LinkRequest.Builder |
setTrackingTask(java.lang.String trackingTask)
The UUID of the task we're using to track the status of this link request.
|
public Builder()
LinkRequest
.public LinkRequest.Builder setTrackingTask(java.lang.String trackingTask)
trackingTask
- New value for the property.public LinkRequest.Builder setExpirationDate(java.util.Calendar expirationDate)
expirationDate
- New value for the property.public LinkRequest.Builder setTemplateUrl(java.lang.String templateUrl)
templateUrl
- New value for the property.public LinkRequest.Builder setTemplateExecutionUrl(java.lang.String templateExecutionUrl)
templateExecutionUrl
- New value for the property.public LinkRequest build()