CustomAllocationDefinition Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. provisioning. service. configs. CustomAllocationDefinition
- com.
public class CustomAllocationDefinition
Constructor Summary
Constructor | Description | |
---|---|---|
CustomAllocationDefinition() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getApiVersion()
Getter for the API version. |
java.lang.String |
getWebhookUrl()
Getter for the webhook URL used for allocation requests. |
void |
setApiVersion(String apiVersion)
Setter for the API version. |
void |
setWebhookUrl(String webhookUrl)
Setter for the webhook URL. |
Methods inherited from java.lang.Object
Constructor Details
CustomAllocationDefinition
public CustomAllocationDefinition()
Method Details
getApiVersion
public String getApiVersion()
Getter for the API version.
Returns:
String
with the API version content.getWebhookUrl
public String getWebhookUrl()
Getter for the webhook URL used for allocation requests.
Returns:
URL
with the webhook url content.setApiVersion
public void setApiVersion(String apiVersion)
Setter for the API version.
Parameters:
String
with the API version of the provisioning service types (such as IndividualEnrollment) sent in the custom allocation request.
setWebhookUrl
public void setWebhookUrl(String webhookUrl)
Setter for the webhook URL.
Parameters:
URL
with the webhook URL used for allocation requests.
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for