CallbackConfigInner Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. fluent. models. CallbackConfigInner
- com.
Implements
public final class CallbackConfigInner
implements JsonSerializable<CallbackConfigInner>
The configuration of service URI and custom headers for the webhook.
Constructor Summary
Constructor | Description |
---|---|
CallbackConfigInner() |
Creates an instance of Callback |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
customHeaders()
Get the custom |
static
Callback |
fromJson(JsonReader jsonReader)
Reads an instance of Callback |
String |
serviceUri()
Get the service |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Callback |
withCustomHeaders(Map<String,String> customHeaders)
Set the custom |
Callback |
withServiceUri(String serviceUri)
Set the service |
Methods inherited from java.lang.Object
Constructor Details
CallbackConfigInner
public CallbackConfigInner()
Creates an instance of CallbackConfigInner class.
Method Details
customHeaders
public Map
Get the customHeaders property: Custom headers that will be added to the webhook notifications.
Returns:
fromJson
public static CallbackConfigInner fromJson(JsonReader jsonReader)
Reads an instance of CallbackConfigInner from the JsonReader.
Parameters:
Returns:
Throws:
serviceUri
public String serviceUri()
Get the serviceUri property: The service URI for the webhook to post notifications.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCustomHeaders
public CallbackConfigInner withCustomHeaders(Map
Set the customHeaders property: Custom headers that will be added to the webhook notifications.
Parameters:
Returns:
withServiceUri
public CallbackConfigInner withServiceUri(String serviceUri)
Set the serviceUri property: The service URI for the webhook to post notifications.
Parameters:
Returns:
Applies to
Azure SDK for Java